]> www.infradead.org Git - users/jedix/linux-maple.git/commit
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)
committerChuck Anderson <chuck.anderson@oracle.com>
Sat, 25 Feb 2017 05:48:04 +0000 (21:48 -0800)
commitdbc68ca095db74d45af8c73bc39ef88353a667b3
treee3c38762108b1a2f2018cf8360864c48aaf27044
parenta98a48c61e16c0646094da4c19092a24777f5747
ixgbe: Limit reporting of redirection table if SR-IOV is enabled

Orabug: 24568240

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>
(cherry picked from commit fa81da7e5b261cf8010f65253661522d3ff71714)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c