]> 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)
commit42134ff7590a93bbab8e91dc4e77ce2dd154dbd4
tree776ef17bd1a11a003b4e9bac8cea1ed6c1dad55c
parentd1ef9f1f5ca16cb76e2a02553ea3f73e464a333c
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: 65f13e0c2a7b ("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