]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
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)
committerSeth Forshee <seth.forshee@canonical.com>
Fri, 16 Mar 2018 15:47:07 +0000 (10:47 -0500)
commit6f71272725454901526aa613c8ed00b62da0f440
tree77199e009abf48f12e5d6e4d3e83c07623f47a3a
parentc408e2024c3dcc3f95441ec59dc55d9cf25e70b5
net: hns3: add a mask initialization for mac_vlan table

BugLink: http://bugs.launchpad.net/bugs/1756097
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>
(cherry picked from commit 7564094cd91472c7db215b9440d2664274736897)
Signed-off-by: Manoj Iyer <manoj.iyer@canonical.com>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c