]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
net: hns3: Add ethtool interface for vlan filter
authorJian Shen <shenjian15@huawei.com>
Fri, 5 Jan 2018 10:18:05 +0000 (18:18 +0800)
committerSeth Forshee <seth.forshee@canonical.com>
Fri, 16 Mar 2018 15:47:17 +0000 (10:47 -0500)
commitd818396d5aa62f14ff8e2122efc9240b832cde7f
treeaf8f9f64c52499df8cd32ea9d6e7b5770cf75ee9
parenta33df2b88d7d9425e9c0507356ed2f497cbe4d96
net: hns3: Add ethtool interface for vlan filter

BugLink: http://bugs.launchpad.net/bugs/1756097
This patch adds vlan filter enable switch to
support ethtool -K ethX rx-vlan-filter on/off.

Signed-off-by: Jian Shen <shenjian15@huawei.com>
Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry picked from commit 391b5e935633acdb84e2e65574ba747f176b3d5e)
Signed-off-by: Manoj Iyer <manoj.iyer@canonical.com>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
drivers/net/ethernet/hisilicon/hns3/hnae3.h
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c