]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: change default ring size
authorJesse Brandeburg <jesse.brandeburg@intel.com>
Thu, 3 Dec 2009 11:33:07 +0000 (11:33 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 Dec 2009 23:43:21 +0000 (15:43 -0800)
commit6c9f13d7a550420740922b5baad34e85b1b3aca8
tree3289483d56d1246433a170e3b7680da63f42df60
parentd546bdcc4c05f5639b34af05b2958e34718c5faf
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>
drivers/net/ixgbe/ixgbe.h