ixgbe: Make descriptor ring allocations NUMA-aware
authorPJ Waskiewicz <peter.p.waskiewicz.jr@intel.com>
Wed, 3 Feb 2010 14:19:12 +0000 (14:19 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 4 Feb 2010 03:48:35 +0000 (19:48 -0800)
commit4a0b9ca015bae64df7d97c9e0a1d33159b36e69f
tree5289dc2752eaeec08282a94008ff76c980a3f645
parent1a6c14a2c7c313c584f26730e67f062f474bb744
ixgbe: Make descriptor ring allocations NUMA-aware

This patch allocates the ring structures themselves on each
NUMA node along with the buffer_info structures.  This way we
don't allocate the entire ring memory on a single node in one
big block, thus reducing NUMA node memory crosstalk.

Signed-off-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
drivers/net/ixgbe/ixgbe_ethtool.c
drivers/net/ixgbe/ixgbe_fcoe.c
drivers/net/ixgbe/ixgbe_main.c