]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit9542ef4fba8c73e176b8aa18a8adf04aecb889e5
tree776ef17bd1a11a003b4e9bac8cea1ed6c1dad55c
parent71a579f0d3777a704355e6f1572dfba92a9b58b2
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: 1babaf77f49d ("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