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>
This commit is contained in:
Luo bin 2020-06-28 20:36:22 +08:00 • committed by David S. Miller
commit 4aa218a4fe
8 changed files with 331 additions and 0 deletions