]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: disable port VLAN filter when support function level VLAN filter control
authorJian Shen <shenjian15@huawei.com>
Mon, 19 Jul 2021 09:13:07 +0000 (17:13 +0800)
committerJakub Kicinski <kuba@kernel.org>
Tue, 20 Jul 2021 11:12:49 +0000 (13:12 +0200)
commitbbf6c765f4ada92dd1c55216f03931f5e8310478
treefc212b85ade67cc784846e12528ea1431619d3c4
parente75569dbcaa8b7dd7f676286af81ed3e6b5a9447
net: hns3: disable port VLAN filter when support function level VLAN filter control

For hardware limitation, port VLAN filter is port level, and
effective for all the functions of the port. So if not support
port VLAN bypass, it's necessary to disable the port VLAN filter,
in order to support function level VLAN filter control.

Fixes: d556069816b0 ("net: hns3: add support for modify VLAN filter state")
Signed-off-by: Jian Shen <shenjian15@huawei.com>
Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c