]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ixgbe: Force VLNCTRL.VFE to be set in all VMDq paths
authorAlexander Duyck <alexander.h.duyck@intel.com>
Thu, 11 Aug 2016 21:51:56 +0000 (14:51 -0700)
committerChuck Anderson <chuck.anderson@oracle.com>
Sat, 25 Feb 2017 05:47:52 +0000 (21:47 -0800)
commitda3efcc14353f31036f78b90e7990fcb2a017603
tree3f95490c25db3b8556f364c0c697236dede49777
parent82bf793fb20923eb427fa495e02a2c866987e8a3
ixgbe: Force VLNCTRL.VFE to be set in all VMDq paths

Orabug: 24568240

When I was adding the code for enabling VLAN promiscuous mode with SR-IOV
enabled I had inadvertently left the VLNCTRL.VFE bit unchanged as I has
assumed there was code in another path that was setting it when we enabled
SR-IOV.  This wasn't the case and as a result we were just disabling VLAN
filtering for all the VFs apparently.

Also the previous patches were always clearing CFIEN which was always set
to 0 by the hardware anyway so I am dropping the redundant bit clearing.

Fixes: 16369564915a ("ixgbe: Add support for VLAN promiscuous with SR-IOV")
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 f60439bc21e3337429838e477903214f5bd8277f)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c