]> 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)
commit87821e96d5afaef436cbe74367d3af95b42fb1d7
tree0af98419aeaa2abf7ee9fa8455f3990b04484884
parent3360d663109f2ee45174562e442a1a8aa3e33279
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