net: hns3: Add ethtool interface for vlan filter
authorJian Shen <shenjian15@huawei.com>
Fri, 5 Jan 2018 10:18:05 +0000 (18:18 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 8 Jan 2018 19:06:17 +0000 (14:06 -0500)
commit391b5e935633acdb84e2e65574ba747f176b3d5e
tree613a574f92be70e4254b11f8feafa34b983691da
parentb60f699ee8ec6177e04ef21676f3cf298b49deb9
net: hns3: Add ethtool interface for vlan filter

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>
drivers/net/ethernet/hisilicon/hns3/hnae3.h
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c