net: hns3: add phy selftest function
authorYufeng Mo <moyufeng@huawei.com>
Wed, 28 Aug 2019 14:23:14 +0000 (22:23 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 29 Aug 2019 23:57:44 +0000 (16:57 -0700)
commitc9765a89d142f614b917ead75e23f1915f7e748d
tree507dee84f402dd92fe90a9c0b76443ef4aec2edb
parenta83d29618b1cd9176ad33fc415f5e033fd6a45a2
net: hns3: add phy selftest function

Currently, the loopback test supports only mac selftest and serdes
selftest. This patch adds phy selftest.

Signed-off-by: Yufeng Mo <moyufeng@huawei.com>
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c