]> 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)
commit0ee60a4b1bf02d785f80d769663ed50d5acb96ca
tree7c6e534c4e609406f5bbff4a95d02ac1b9373bd8
parentb523b1b24e87fc15be80e07072dc77885d2a7bca
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: 2a8d72b4a0f1 ("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