diff options
author | Fuyun Liang <liangfuyun1@huawei.com> | 2018-03-21 15:49:28 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-03-22 13:12:02 -0400 |
commit | 175ec96b46ef710de200c49deeb44b41390ec644 (patch) | |
tree | 5762c108f49a9ea9d2349ee52f9c31125f8f1c71 /drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c | |
parent | 0979aa0bfdc6d873f495310a8680436a66ff9c81 (diff) | |
download | linux-stable-175ec96b46ef710de200c49deeb44b41390ec644.tar.gz |
net: hns3: add get_link support to VF
This patch adds ethtool_ops.get_link support to VF.
Signed-off-by: Fuyun Liang <liangfuyun1@huawei.com>
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 502f34761546..513d8d6dd1ad 100644 --- a/drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c +++ b/drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c @@ -1053,6 +1053,7 @@ static const struct ethtool_ops hns3vf_ethtool_ops = { .get_channels = hns3_get_channels, .get_coalesce = hns3_get_coalesce, .set_coalesce = hns3_set_coalesce, + .get_link = hns3_get_link, }; static const struct ethtool_ops hns3_ethtool_ops = { |