ixgbe: Limit reporting of redirection table if SR-IOV is enabled
authorAlexander Duyck <alexander.h.duyck@intel.com>
Thu, 8 Sep 2016 03:28:17 +0000 (20:28 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 23 Sep 2016 07:20:18 +0000 (00:20 -0700)
commitfa81da7e5b261cf8010f65253661522d3ff71714
tree1336cafaefc188c7cb89390c9f6ba44b83dc1052
parent3b00da03ae303a3bdfa3bdfbb078e0eadb749375
ixgbe: Limit reporting of redirection table if SR-IOV is enabled

The hardware redirection table can support more queues then the PF
currently has when SR-IOV is enabled.  In order to account for this use the
RSS mask to trim of the bits that are not used.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c