Commit 6bacb300 authored by Jesse Brandeburg's avatar Jesse Brandeburg Committed by David S. Miller

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: default avatarJesse Brandeburg <jesse.brandeburg@intel.com>
Acked-by: default avatarPeter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 5f715823
...@@ -51,11 +51,11 @@ ...@@ -51,11 +51,11 @@
__func__ , ## args))) __func__ , ## args)))
/* TX/RX descriptor defines */ /* TX/RX descriptor defines */
#define IXGBE_DEFAULT_TXD 1024 #define IXGBE_DEFAULT_TXD 512
#define IXGBE_MAX_TXD 4096 #define IXGBE_MAX_TXD 4096
#define IXGBE_MIN_TXD 64 #define IXGBE_MIN_TXD 64
#define IXGBE_DEFAULT_RXD 1024 #define IXGBE_DEFAULT_RXD 512
#define IXGBE_MAX_RXD 4096 #define IXGBE_MAX_RXD 4096
#define IXGBE_MIN_RXD 64 #define IXGBE_MIN_RXD 64
......
Markdown is supported
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