hinic: add self test support
authorLuo bin <luobin9@huawei.com>
Sun, 28 Jun 2020 12:36:22 +0000 (20:36 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 29 Jun 2020 03:40:58 +0000 (20:40 -0700)
commit4aa218a4fe77d57edd068210da4c90dd19523954
tree07a392224d135e2cf8bf4806a2a1f78c6eb48c8f
parenta0337c0dee686acf9b38d50abb923d13e27f7e83
hinic: add self test support

add support to excute internal and external loopback test with
ethtool -t cmd.

Signed-off-by: Luo bin <luobin9@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/huawei/hinic/hinic_dev.h
drivers/net/ethernet/huawei/hinic/hinic_ethtool.c
drivers/net/ethernet/huawei/hinic/hinic_hw_dev.h
drivers/net/ethernet/huawei/hinic/hinic_port.c
drivers/net/ethernet/huawei/hinic/hinic_port.h
drivers/net/ethernet/huawei/hinic/hinic_rx.c
drivers/net/ethernet/huawei/hinic/hinic_tx.c
drivers/net/ethernet/huawei/hinic/hinic_tx.h