diff options
author | Peng Li <lipeng321@huawei.com> | 2018-01-12 16:23:07 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-01-12 10:12:31 -0500 |
commit | 849e460776898e465e2d3e27a34399fb1adc0061 (patch) | |
tree | 1c4a8132c9795ddcf907ac5b691f734957f105d0 /drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c | |
parent | 19d28fbd306e7ae7c1acf05c3e6968b56f0d196b (diff) | |
download | lwn-849e460776898e465e2d3e27a34399fb1adc0061.tar.gz lwn-849e460776898e465e2d3e27a34399fb1adc0061.zip |
net: hns3: add ethtool_ops.get_channels support for VF
This patch supports the ethtool's get_channels() for VF.
Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c')
-rw-r--r-- | drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c b/drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c index d3cb3ec2c62b..f44336c6acb8 100644 --- a/drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c +++ b/drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c @@ -900,6 +900,7 @@ static const struct ethtool_ops hns3vf_ethtool_ops = { .get_rxfh = hns3_get_rss, .set_rxfh = hns3_set_rss, .get_link_ksettings = hns3_get_link_ksettings, + .get_channels = hns3_get_channels, }; static const struct ethtool_ops hns3_ethtool_ops = { |