ice: Disable VLAN pruning in promiscuous mode
authorNick Nunley <nicholas.d.nunley@intel.com>
Thu, 30 Jul 2020 00:19:19 +0000 (17:19 -0700)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Sat, 1 Aug 2020 15:44:04 +0000 (08:44 -0700)
commit68d210a609a048dde1b7c23385d9bafb0061acb3
tree9f60bcefd6849545e3a1ddfc286858ce9a4ac383
parentbcc46cb8a077c6189b44f1555b8659837f748eb2
ice: Disable VLAN pruning in promiscuous mode

Disable VLAN pruning when entering promiscuous mode, and re-enable it
when exiting.

Without this VLAN-over-bridge topologies created on the device won't be
functional unless rx-vlan-filter is explicitly disabled with ethtool.

Signed-off-by: Nick Nunley <nicholas.d.nunley@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/ice/ice_lib.c
drivers/net/ethernet/intel/ice/ice_main.c