]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: restore normal RSS after last macvlan offload is removed
authorShannon Nelson <shannon.nelson@oracle.com>
Tue, 15 Aug 2017 15:59:54 +0000 (08:59 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 9 Oct 2017 16:36:31 +0000 (09:36 -0700)
commit35613fcdfaa54c1e279391783092e139fc94a75b
tree51f9291e55343c808242d35fd91297a44abc439c
parent060bfd573b2074119ae2f0a33f7116981489d5f8
ixgbe: restore normal RSS after last macvlan offload is removed

Just like when the last VF is removed, we need to restore normal
operations after the last macvlan offload is removed, else we
get stuck in single queue operations.

To test:
ethtool -l eth1   # note the number of queues in use, ~= cpus

ethtool -K eth1 l2-fwd-offload on
ip link add mv1 link eth1 type macvlan mode bridge
ip link set dev mv1 up
ip link del mv1

ethtool -l eth1   # are we back to the same # of queues, or stuck on 1?

Signed-off-by: Shannon Nelson <shannon.nelson@oracle.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_main.c