]> git.baikalelectronics.ru Git - kernel.git/commit
iavf: Fix handling of vlan strip virtual channel messages
authorMichal Maloszewski <michal.maloszewski@intel.com>
Mon, 24 Jan 2022 13:35:43 +0000 (13:35 +0000)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Tue, 8 Mar 2022 20:59:48 +0000 (12:59 -0800)
commitfdec0255535d6812d3051ed71636932c7bc81752
tree7c6e534c4e609406f5bbff4a95d02ac1b9373bd8
parentca61e58cdd04e8b5f13d3e59fa01ba165d533246
iavf: Fix handling of vlan strip virtual channel messages

Modify netdev->features for vlan stripping based on virtual
channel messages received from the PF. Change is needed
to synchronize vlan strip status between PF sysfs and iavf ethtool.

Fixes: c003b8c1a4af ("iavf: Fix VLAN feature flags after VFR")
Signed-off-by: Norbert Ciosek <norbertx.ciosek@intel.com>
Signed-off-by: Michal Maloszewski <michal.maloszewski@intel.com>
Tested-by: Konrad Jankowski <konrad0.jankowski@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/iavf/iavf_virtchnl.c