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)
commit2cf29e55894886965722e6625f6a03630b4db31d
tree7c6e534c4e609406f5bbff4a95d02ac1b9373bd8
parente5417cbf7ab5df1632e68fe7d9e6331fc0e7dbd6
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: 5951a2b9812d ("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