commit | c39c4d98dc658f5d44b96982333f3611d9cc2be7 | [log] [tgz] |
---|---|---|
author | Yunsheng Lin <linyunsheng@huawei.com> | Fri Oct 20 10:19:22 2017 +0800 |
committer | David S. Miller <davem@davemloft.net> | Sun Oct 22 02:16:26 2017 +0100 |
tree | 301bae11cba4a628b3c40ccefe597087d8509fb5 | |
parent | d43e5aca8780e4084cad0969c71669cf99dc6030 [diff] |
net: hns3: Add mac loopback selftest support in hns3 driver This patch adds mac loopback selftest support for ethtool cmd by checking if a transmitted packet can be received correctly when mac loopback is enabled. Signed-off-by: Yunsheng Lin <linyunsheng@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>