]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net: hns3: Add support of hardware rx-vlan-offload to HNS3 VF driver
authorYunsheng Lin <linyunsheng@huawei.com>
Thu, 3 May 2018 16:28:11 +0000 (17:28 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 10 May 2018 18:16:36 +0000 (14:16 -0400)
commitb2641e2ad456459a655da2433e3150d41640a6de
tree242a4fa756834357ca864a04f83e8fca9dd51094
parent3e50d2da5850dd126b3e6a6e4387620d55b71db4
net: hns3: Add support of hardware rx-vlan-offload to HNS3 VF driver

This patch adds support of hardware rx-vlan-offload to VF driver.
VF uses mailbox to convey PF to configure the hardware.

Signed-off-by: Yunsheng Lin <linyunsheng@huawei.com>
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/hns3_enet.c
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
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c