]> git.proxmox.com Git - mirror_ubuntu-jammy-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)
committerPaolo Pisati <paolo.pisati@canonical.com>
Wed, 23 Mar 2022 10:49:01 +0000 (11:49 +0100)
commit8fc959493631778324bf61bd5336e90ea9cbdde8
tree80e15ea7d04d803a1798eb58c94a5402a5975bdb
parentcc536117baa00a0ff8cd5ae3f6bf19cfae964a03
iavf: Fix handling of vlan strip virtual channel messages

BugLink: https://bugs.launchpad.net/bugs/1966056
[ Upstream commit 2cf29e55894886965722e6625f6a03630b4db31d ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
drivers/net/ethernet/intel/iavf/iavf_virtchnl.c