net: hns3: add a mask initialization for mac_vlan table
authorPeng Li <lipeng321@huawei.com>
Fri, 22 Dec 2017 04:21:45 +0000 (12:21 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 27 Dec 2017 15:40:58 +0000 (10:40 -0500)
commit7564094cd91472c7db215b9440d2664274736897
tree7bbd70c18901863c242998477efb34b7bf4cad99
parent0e7a40cdac0a2aa7c6946a571b8428b3307bed85
net: hns3: add a mask initialization for mac_vlan table

This patch sets vlan masked, in order to avoid the received
packets being filtered.

Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: Jian Shen <shenjian15@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c