]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3f98ace9d25e3b2f2b26e0e0598eb0b128fbc1eb
tree9f60bcefd6849545e3a1ddfc286858ce9a4ac383
parentaeba2785177159869e8394e54234a8b38d4d6d83
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