net: hns3: Add vlan filter setting by ethtool command -K
authorPeng Li <lipeng321@huawei.com>
Tue, 14 Aug 2018 16:13:19 +0000 (17:13 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 14 Aug 2018 16:54:24 +0000 (09:54 -0700)
commit3e85af6a6812d2d4778c3b19f17384c2a9f73200
tree7fe838f9eef3a3b0a3c1aea32c3af296d914d112
parent1c77215480bcfa0852575180f997bd156f2aef17
net: hns3: Add vlan filter setting by ethtool command -K

Revision(0x20) HW does not support enabling or disabling individual
netdev's HW_VLAN_CTAG_FILTER feature, and Revision(0x21) supports
enabling or disabling individual netdev's HW_VLAN_CTAG_FILTER
feature.

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