OSDN Git Service

net: hns3: refactor the loopback related function
authorYunsheng Lin <linyunsheng@huawei.com>
Wed, 9 May 2018 16:24:41 +0000 (17:24 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 10 May 2018 21:27:10 +0000 (17:27 -0400)
commite4d68dae43fbed0132472061d9f1ab01ef4e3efe
tree140244dce3896a8337e941f4f79679d6e613f9a9
parentbeebca3a911051a5f4d359ed64b0375a83d42490
net: hns3: refactor the loopback related function

This patch refactors the loopback related function in order
to support the serdes loopback.

Signed-off-by: Yunsheng Lin <linyunsheng@huawei.com>
Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: Salil Mehta <salil.mehta@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