]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: add querying speed and duplex support to VF
authorFuyun Liang <liangfuyun1@huawei.com>
Wed, 21 Mar 2018 07:49:29 +0000 (15:49 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 22 Mar 2018 17:12:02 +0000 (13:12 -0400)
commit3b62c71b7c0068198fd0a12a1cda62e981143133
tree2b2000941c40e04f207b2184f469eaedcc79b2ce
parent1857e5ff865ccecd365fe32ca6ffd43d0ae099f0
net: hns3: add querying speed and duplex support to VF

This patch adds support for querying speed and duplex by ethtool ethX
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/hns3pf/hclge_mbx.c
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.h
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c