Skip to content
Commit 0d19a540 authored by Ben Hutchings's avatar Ben Hutchings
Browse files

sfc: Add GFP flags to efx_nic_alloc_buffer() and make most callers allow blocking



Most call sites for efx_nic_alloc_buffer() are part of the probe or
reconfiguration paths and can allocate with GFP_KERNEL.  A few others
should use GFP_NOIO (I think).  Only one is in atomic context and
must use the current GFP_ATOMIC.

Signed-off-by: default avatarBen Hutchings <bhutchings@solarflare.com>
parent f3ad5003
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment