diff options
author | Jian Shen <shenjian15@huawei.com> | 2019-02-20 10:32:43 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-02-21 16:29:04 -0800 |
commit | f18635d52c23594259da2f741399abc6c6f41f15 (patch) | |
tree | 1d7aed611e994ced2194828d33f8f19dfd289294 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | db68ca0ef7c98bb39cb193571c63b22ca99f633f (diff) |
net: hns3: fix port info query issue for copper port
In original codes, for copper port which doesn't connect to phy,
it always returns -EOPNOTSUPP when query port information. This
patch fixes it by return the port information of MAC.
Fixes: 5f373b158523 ("net: hns3: Fix speed/duplex information loss problem when executing ethtool ethx cmd of VF")
Signed-off-by: Jian Shen <shenjian15@huawei.com>
Signed-off-by: Peng Li <lipeng321@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/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions