linux_dsm_epyc7002/drivers/net/ethernet/hisilicon
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
..
hns Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2019-02-20 00:34:07 -08:00
hns3 net: hns3: enable VF VLAN filter for each VF when initializing 2019-02-24 20:27:50 -08:00
hip04_eth.c net: hisilicon: remove unexpected free_netdev 2018-11-28 10:41:15 -08:00
hisi_femac.c drivers: net: generalize napi_complete_done() 2017-01-30 15:10:42 -05:00
hix5hd2_gmac.c cross-tree: phase out dma_zalloc_coherent() 2019-01-08 07:58:37 -05:00
hns_mdio.c net: hns: Fix wrong read accesses via Clause 45 MDIO protocol 2019-01-27 23:01:56 -08:00
Kconfig hns3: prevent building without CONFIG_INET 2018-12-14 13:17:50 -08:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00