]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: Add support for tx_accept_tag2 and tx_accept_untag2 config
authorPeng Li <lipeng321@huawei.com>
Fri, 25 May 2018 18:42:57 +0000 (19:42 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 29 May 2018 04:04:26 +0000 (00:04 -0400)
commitd84721bd4e79855e046f3c08fe605dde5abddae5
tree0af98419aeaa2abf7ee9fa8455f3990b04484884
parent8c7a437862bf56447c364153daf77ab1b1e1cb16
net: hns3: Add support for tx_accept_tag2 and tx_accept_untag2 config

HNS3 Hardware can support up to two VLAN tags in transmit leg, the PPP
module can handle the packets based on the tag1 and tag2 config. This
patch adds support for tag2 config for vlan handling

Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: Salil Mehta <salil.mehta@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