aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
diff options
context:
space:
mode:
authorJian Shen <shenjian15@huawei.com>2019-02-23 17:22:16 +0800
committerDavid S. Miller <davem@davemloft.net>2019-02-24 20:27:50 -0800
commit30ebc576d7773c7d8b53fa7941c2c56e488589fd (patch)
tree3a023cceab49bcff806185be9e8eae6d71b1e575 /drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
parentnet: hns3: add support to config depth for tx|rx ring separately (diff)
downloadlinux-dev-30ebc576d7773c7d8b53fa7941c2c56e488589fd.tar.xz
linux-dev-30ebc576d7773c7d8b53fa7941c2c56e488589fd.zip
net: hns3: enable VF VLAN filter for each VF when initializing
For revision 0x21, the switch of VF VLAN filter is per function. It's necessary to enable VF VLAN filter for each VF when initializing. Otherwise, VF will be able to receive broadcast packets with unknown VLAN when PF enters promisc mode. Fixes: 64d114f0a750 ("net: hns3: Add egress/ingress vlan filter for revision 0x21") Signed-off-by: Jian Shen <shenjian15@huawei.com> Signed-off-by: Peng Li <lipeng321@huawei.com> Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions