net: hns3: add vlan offload config command
authorPeng Li <lipeng321@huawei.com>
Fri, 22 Dec 2017 04:21:46 +0000 (12:21 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 27 Dec 2017 15:41:05 +0000 (10:41 -0500)
commit5f6ea83fc9784f1edc8b11238722604fb36fa7ad
tree6f6ef8a4ad37296d5a49571a6a2b6a44a666c72e
parent7564094cd91472c7db215b9440d2664274736897
net: hns3: add vlan offload config command

This patch adds vlan offload config commands, initializes
the rules of tx/rx vlan tag handle for hw.

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
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h