]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: count q_vectors instead of MSI-X vectors
authorAlexander Duyck <alexander.h.duyck@intel.com>
Sat, 5 May 2012 05:30:43 +0000 (05:30 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 11 Jul 2012 08:50:59 +0000 (01:50 -0700)
commitf7f0e5b6d4f63199d0d1d14922ff8b75a69cb427
treec369cc6dd28d46cda9a18d2d2d13596f49884ea5
parentff715654eb0496990181e899cf73f0ce2a1175dd
ixgbe: count q_vectors instead of MSI-X vectors

It makes much more sense for us to count q_vectors instead of MSI-X
vectors.  We were using num_msix_vectors to find the number of q_vectors in
multiple places.  This was wasteful since we only had one place that
actually needs the number of MSI-X vectors and that is in slow path.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe.h
drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c
drivers/net/ethernet/intel/ixgbe/ixgbe_lib.c
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c