net: hinic: Add support for configuration of rx-vlan-filter by ethtool
authorCai Huoqing <cai.huoqing@linux.dev>
Thu, 3 Nov 2022 08:05:11 +0000 (16:05 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 7 Nov 2022 08:50:20 +0000 (08:50 +0000)
commit2acf960e3be6177f437baade6d1883ebe4c641b2
treef2a44f99ca1fc5817da991a6388d61c1fe67f616
parent13265568a8633ab0d22e9def8cd9b8b0edb3ca85
net: hinic: Add support for configuration of rx-vlan-filter by ethtool

When ethtool config rx-vlan-filter, the driver will send
control command to firmware, then set to hardware in this patch.

Signed-off-by: Cai Huoqing <cai.huoqing@linux.dev>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/huawei/hinic/hinic_main.c
drivers/net/ethernet/huawei/hinic/hinic_port.c
drivers/net/ethernet/huawei/hinic/hinic_port.h