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)
commit4a152de95d71652b86d391298c56b4503e0b9932
tree2b2000941c40e04f207b2184f469eaedcc79b2ce
parent175ec96b46ef710de200c49deeb44b41390ec644
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