linux/drivers/net/ethernet/hisilicon
Jian Shen bbfd4506f9 net: hns3: fix rx VLAN offload state inconsistent issue
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: e2cb1dec97 ("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>
2021-07-20 13:12:50 +02:00
..
hns net: hns: Fix kernel-doc 2021-05-25 15:26:47 -07:00
hns3 net: hns3: fix rx VLAN offload state inconsistent issue 2021-07-20 13:12:50 +02:00
hip04_eth.c net: hisilicon: rename CACHE_LINE_MASK to avoid redefinition 2021-07-19 10:02:12 -07:00
hisi_femac.c of: net: pass the dst buffer to of_get_mac_address() 2021-04-13 14:35:02 -07:00
hix5hd2_gmac.c of: net: pass the dst buffer to of_get_mac_address() 2021-04-13 14:35:02 -07:00
hns_mdio.c net: hns: remove redundant variable initialization 2021-03-24 12:07:21 -07:00
Kconfig net: hns3: add support for PTP 2021-06-11 12:43:16 -07:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00