diff options
author | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2011-07-12 18:10:12 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-07-13 07:07:56 +0200 |
commit | c2fed9965c60e1f989f57889357c557f7b907ab7 (patch) | |
tree | adc5e1c7a20f1d31c2a8aa3959d1948bf484f91d /drivers/net/e1000e/e1000.h | |
parent | e1000e: Add Jumbo Frame support to 82583 devices (diff) | |
download | linux-c2fed9965c60e1f989f57889357c557f7b907ab7.tar.xz linux-c2fed9965c60e1f989f57889357c557f7b907ab7.zip |
e1000e: use GFP_KERNEL allocations at init time
In process and sleep allowed context, favor GFP_KERNEL allocations over
GFP_ATOMIC ones.
-v2: fixed checkpatch.pl warnings
CC: Eric Dumazet <eric.dumazet@gmail.com>
CC: Ben Greear <greearb@candelatech.com>
CC: Bruce Allan <bruce.w.allan@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/e1000e/e1000.h')
-rw-r--r-- | drivers/net/e1000e/e1000.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/e1000e/e1000.h b/drivers/net/e1000e/e1000.h index e9d6e0ada543..638d175792cf 100644 --- a/drivers/net/e1000e/e1000.h +++ b/drivers/net/e1000e/e1000.h @@ -334,7 +334,7 @@ struct e1000_adapter { int *work_done, int work_to_do) ____cacheline_aligned_in_smp; void (*alloc_rx_buf) (struct e1000_adapter *adapter, - int cleaned_count); + int cleaned_count, gfp_t gfp); struct e1000_ring *rx_ring; u32 rx_int_delay; |