diff options
author | 2021-01-05 11:37:26 +0800 | |
---|---|---|
committer | 2021-01-05 16:46:40 -0800 | |
commit | f04bbcbf1e38d192e94bbfa126731a52332c40b1 (patch) | |
tree | 14e5ab596c71afd0d90def5ff1189947394965ee /tools/perf/scripts/python/export-to-postgresql.py | |
parent | docs: net: fix documentation on .ndo_get_stats (diff) | |
download | linux-dev-f04bbcbf1e38d192e94bbfa126731a52332c40b1.tar.xz linux-dev-f04bbcbf1e38d192e94bbfa126731a52332c40b1.zip |
net: hns3: fix a phy loopback fail issue
When phy driver does not implement the set_loopback interface,
phy loopback test will return -EOPNOTSUPP, and the loopback test
will fail. So when phy driver does not implement the set_loopback
interface, don't do phy loopback test.
Fixes: c9765a89d142 ("net: hns3: add phy selftest function")
Signed-off-by: Yonglong Liu <liuyonglong@huawei.com>
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions