diff options
author | Jesse Brandeburg <jesse.brandeburg@intel.com> | 2009-12-03 06:33:07 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-12-03 18:43:21 -0500 |
commit | 6bacb3007928deeb30ddd2a3b6d5011bc7e5a01f (patch) | |
tree | 3289483d56d1246433a170e3b7680da63f42df60 /drivers/net/ixgbe | |
parent | 5f715823a0f54ed010af9a27677ff8e992d745e8 (diff) |
ixgbe: change default ring size
decrease the memory utilization of the tx / rx queue allocation
by changing the default ring size to 512 (from 1024). At
1024 rx entries of 2KB each (from 4kB slab) with 16 queues
ixgbe was using 64 MB of memory per port, which is not
necessary.
Users can still change queue lengths with ethtool -k.
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Acked-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ixgbe')
-rw-r--r-- | drivers/net/ixgbe/ixgbe.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ixgbe/ixgbe.h b/drivers/net/ixgbe/ixgbe.h index 7e35e97227bd..91d80b731352 100644 --- a/drivers/net/ixgbe/ixgbe.h +++ b/drivers/net/ixgbe/ixgbe.h | |||
@@ -51,11 +51,11 @@ | |||
51 | __func__ , ## args))) | 51 | __func__ , ## args))) |
52 | 52 | ||
53 | /* TX/RX descriptor defines */ | 53 | /* TX/RX descriptor defines */ |
54 | #define IXGBE_DEFAULT_TXD 1024 | 54 | #define IXGBE_DEFAULT_TXD 512 |
55 | #define IXGBE_MAX_TXD 4096 | 55 | #define IXGBE_MAX_TXD 4096 |
56 | #define IXGBE_MIN_TXD 64 | 56 | #define IXGBE_MIN_TXD 64 |
57 | 57 | ||
58 | #define IXGBE_DEFAULT_RXD 1024 | 58 | #define IXGBE_DEFAULT_RXD 512 |
59 | #define IXGBE_MAX_RXD 4096 | 59 | #define IXGBE_MAX_RXD 4096 |
60 | #define IXGBE_MIN_RXD 64 | 60 | #define IXGBE_MIN_RXD 64 |
61 | 61 | ||