]> 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)
commit6a63742939a3bec860ad6a090406b03b65c8ecb6
treec369cc6dd28d46cda9a18d2d2d13596f49884ea5
parent454830c541f696544374963551c7fa86799eb1b3
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