]> 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)
commit184cd221a86321e53df9389c4b35a247b60c1e77
treefc212b85ade67cc784846e12528ea1431619d3c4
parent4671042f1ef0d37137884811afcc4ae67685ce07
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: 2ba306627f59 ("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