aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJian Shen <shenjian15@huawei.com>2019-02-20 10:32:43 +0800
committerDavid S. Miller <davem@davemloft.net>2019-02-21 16:29:04 -0800
commitf18635d52c23594259da2f741399abc6c6f41f15 (patch)
tree1d7aed611e994ced2194828d33f8f19dfd289294 /tools/perf/scripts/python
parentnet: hns3: convert mac advertize and supported from u32 to link mode (diff)
downloadlinux-f18635d52c23594259da2f741399abc6c6f41f15.tar.gz
linux-f18635d52c23594259da2f741399abc6c6f41f15.zip
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')
0 files changed, 0 insertions, 0 deletions