diff options
author | Jian Shen <shenjian15@huawei.com> | 2021-07-19 17:13:08 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-07-28 14:35:40 +0200 |
commit | 432738c9740c735cb359e89b8b3605400e4e551a (patch) | |
tree | 2cf329fd5f46f2627a628889ba01e025f4167aa0 /drivers/spi | |
parent | 3e903e0b578bd72f6349fb5a83a892f85a25b03b (diff) | |
download | kernel_replicant_linux-432738c9740c735cb359e89b8b3605400e4e551a.tar.gz kernel_replicant_linux-432738c9740c735cb359e89b8b3605400e4e551a.tar.bz2 kernel_replicant_linux-432738c9740c735cb359e89b8b3605400e4e551a.zip |
net: hns3: fix rx VLAN offload state inconsistent issue
[ Upstream commit bbfd4506f962e7e6fff8f37f017154a3c3791264 ]
Currently, VF doesn't enable rx VLAN offload when initializating,
and PF does it for VFs. If user disable the rx VLAN offload for
VF with ethtool -K, and reload the VF driver, it may cause the
rx VLAN offload state being inconsistent between hardware and
software.
Fixes it by enabling rx VLAN offload when VF initializing.
Fixes: e2cb1dec9779 ("net: hns3: Add HNS3 VF HCL(Hardware Compatibility Layer) Support")
Signed-off-by: Jian Shen <shenjian15@huawei.com>
Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/spi')
0 files changed, 0 insertions, 0 deletions