OSDN Git Service

net: hns3: add get_link support to VF
authorFuyun Liang <liangfuyun1@huawei.com>
Wed, 21 Mar 2018 07:49:28 +0000 (15:49 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 22 Mar 2018 17:12:02 +0000 (13:12 -0400)
commit175ec96b46ef710de200c49deeb44b41390ec644
tree5762c108f49a9ea9d2349ee52f9c31125f8f1c71
parent0979aa0bfdc6d873f495310a8680436a66ff9c81
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>
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c