]> 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)
commit9afa7a1edc44bc18ed86a81d0cb396f498630b54
tree51f9291e55343c808242d35fd91297a44abc439c
parent8602e3a2702489e86105fc78753267a9fbdd92d3
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