diff options
author | Dhananjay Phadke <dhananjay@qlogic.com> | 2009-09-03 17:10:53 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-09-04 07:01:56 +0400 |
commit | bc75e5bfad2a6d24fc5a9885a2f6b93f82c6c5f1 (patch) | |
tree | 52c4b697f034607cc6cc3b8505a26819cffc572e /drivers/net/netxen/netxen_nic.h | |
parent | d4ab88194e982a0d213000a75475d3e76b2626f0 (diff) | |
download | linux-bc75e5bfad2a6d24fc5a9885a2f6b93f82c6c5f1.tar.xz |
netxen: fix lro buffer allocation
Alloc 12k skbuffs so that firmware can aggregate more
packets into one buffer. This doesn't raise memory
consumption since 9k skbs use 16k slab cache anyway.
Signed-off-by: Dhananjay Phadke <dhananjay@netxen.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/netxen/netxen_nic.h')
-rw-r--r-- | drivers/net/netxen/netxen_nic.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/netxen/netxen_nic.h b/drivers/net/netxen/netxen_nic.h index 224a74691312..ede2fa7477ac 100644 --- a/drivers/net/netxen/netxen_nic.h +++ b/drivers/net/netxen/netxen_nic.h @@ -149,6 +149,7 @@ #define NX_P2_RX_JUMBO_BUF_MAX_LEN (NX_MAX_ETHERHDR + P2_MAX_MTU) #define NX_P3_RX_JUMBO_BUF_MAX_LEN (NX_MAX_ETHERHDR + P3_MAX_MTU) #define NX_CT_DEFAULT_RX_BUF_LEN 2048 +#define NX_LRO_BUFFER_EXTRA 2048 #define NX_RX_LRO_BUFFER_LENGTH (8060) |