]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: setup per CPU PCI pool for FCoE DDP
authorVasu Dev <vasu.dev@intel.com>
Wed, 11 May 2011 05:41:46 +0000 (05:41 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 21 Jun 2011 08:22:44 +0000 (01:22 -0700)
commit28b9dffa2480051cf588ef9e66cfafd4df52d403
treee2e6924ffa0c510e6ee246184593b82783c8c75a
parent7b45c87ec42609856188a3ddc305828a5ca2de1d
ixgbe: setup per CPU PCI pool for FCoE DDP

Currently single PCI pool used across all CPUs and that
doesn't scales up as number of CPU increases, so this
patch adds per CPU PCI pool to setup udl and that aligns
well from FCoE stack as that already has per CPU exch locking.

Adds per CPU PCI alloc setup and free in
ixgbe_fcoe_ddp_pools_alloc and ixgbe_fcoe_ddp_pools_free,
use CPU specific pool during DDP setup.

Re-arranged ixgbe_fcoe struct to have fewer holes
along with adding pools ptr using pahole.

Signed-off-by: Vasu Dev <vasu.dev@intel.com>
Tested-by: Ross Brattain <ross.b.brattain@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ixgbe/ixgbe_fcoe.c
drivers/net/ixgbe/ixgbe_fcoe.h