]> git.proxmox.com Git - mirror_ubuntu-bionic-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)
committerKhalid Elmously <khalid.elmously@canonical.com>
Wed, 6 Jun 2018 18:41:15 +0000 (14:41 -0400)
commitb75b1a567b0bbb1fcde6140f5f8d26156766b48c
tree28fad7534538141d7f04333cec05f2a40475710b
parentca61f05ea9495852c8049b880d7aea5899bdd779
net: hns3: Add support for tx_accept_tag2 and tx_accept_untag2 config

BugLink: https://bugs.launchpad.net/bugs/1768670
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>
(cherry picked from commit dcb35ccef85e51cf3ad36acd08c07ec8d9ff9e2a linux-next)
Signed-off-by: dann frazier <dann.frazier@canonical.com>
Acked-by: Stefan Bader <stefan.bader@canonical.com>
Acked-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
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