OSDN Git Service

net: hns3: Record VF vlan tables
authorliuzhongzhu <liuzhongzhu@huawei.com>
Wed, 20 Feb 2019 02:32:49 +0000 (10:32 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 22 Feb 2019 00:29:05 +0000 (16:29 -0800)
commitc6075b193462d9a3930fb41f587f94720658752a
tree4db80d2b57402c7aba73c946ebaf2ca763b2c616
parent6dd86902f21d096ed7ef2dcc921ee80c73807313
net: hns3: Record VF vlan tables

Record the vlan tables that the VF sends to the chip.
After the VF exception, the PF actively clears the VF to chip config.

Signed-off-by: liuzhongzhu <liuzhongzhu@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>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c