linux_dsm_epyc7002/drivers/net/ethernet/hisilicon/hns3
Jian Shen 30ebc576d7 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: 64d114f0a7 ("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>
2019-02-24 20:27:50 -08:00
..
hns3pf net: hns3: enable VF VLAN filter for each VF when initializing 2019-02-24 20:27:50 -08:00
hns3vf net: hns3: add support to config depth for tx|rx ring separately 2019-02-24 20:27:50 -08:00
hclge_mbx.h net: hns3: add support to config depth for tx|rx ring separately 2019-02-24 20:27:50 -08:00
hnae3.c net: hns3: Check variable is valid before assigning it to another 2019-02-21 16:29:04 -08:00
hnae3.h net: hns3: add support to config depth for tx|rx ring separately 2019-02-24 20:27:50 -08:00
hns3_dcbnl.c net: hns3: use HNS3_NIC_STATE_RESETTING to indicate resetting 2018-11-07 11:42:17 -08:00
hns3_debugfs.c net: hns3: Add "tm map" status information query function 2018-12-15 10:54:18 -08:00
hns3_enet.c net: hns3: add support to config depth for tx|rx ring separately 2019-02-24 20:27:50 -08:00
hns3_enet.h net: hns3: add support to config depth for tx|rx ring separately 2019-02-24 20:27:50 -08:00
hns3_ethtool.c net: hns3: add support to config depth for tx|rx ring separately 2019-02-24 20:27:50 -08:00
Makefile net: hns3: Add debugfs framework registration 2018-11-23 17:28:59 -08:00