]> git.baikalelectronics.ru Git - kernel.git/commit
ice: Sync VLAN filtering features for DVM
authorRoman Storozhenko <roman.storozhenko@intel.com>
Tue, 7 Jun 2022 06:54:57 +0000 (08:54 +0200)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Tue, 14 Jun 2022 16:38:57 +0000 (09:38 -0700)
commitae425a2f4dc834338ab6ae55e338b16d445b8561
tree776ef17bd1a11a003b4e9bac8cea1ed6c1dad55c
parent814434ebc102a521792d737f4d6f23af03ae6d64
ice: Sync VLAN filtering features for DVM

VLAN filtering features, that is C-Tag and S-Tag, in DVM mode must be
both enabled or disabled.
In case of turning off/on only one of the features, another feature must
be turned off/on automatically with issuing an appropriate message to
the kernel log.

Fixes: 2fc174e91af7 ("ice: Advertise 802.1ad VLAN filtering and offloads for PF netdev")
Signed-off-by: Roman Storozhenko <roman.storozhenko@intel.com>
Co-developed-by: Anatolii Gerasymenko <anatolii.gerasymenko@intel.com>
Signed-off-by: Anatolii Gerasymenko <anatolii.gerasymenko@intel.com>
Tested-by: Gurucharan <gurucharanx.g@intel.com> (A Contingent worker at Intel)
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/ice/ice_main.c