summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorHuazhong Tan <tanhuazhong@huawei.com>2018-05-01 21:56:01 +0300
committerDavid S. Miller <davem@davemloft.net>2018-05-01 22:08:37 +0300
commitc5ef83cbb1e9fa17a3b78fb2deb25ae8beebbf48 (patch)
tree9bacfda20143e4fa5b2fbe45373d631ddb429494 /tools/perf/scripts/python
parentffd5656e182b94148998b48f748112450c9ff2b0 (diff)
downloadlinux-c5ef83cbb1e9fa17a3b78fb2deb25ae8beebbf48.tar.xz
net: hns3: fix for phy_addr error in hclge_mac_mdio_config
When phy exists, phy_addr must less than PHY_MAX_ADDR. If not, hclge_mac_mdio_config should return error. And for fiber(phy_addr=0xff), it does not need hclge_mac_mdio_config. Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com> Signed-off-by: Peng Li <lipeng321@huawei.com> Signed-off-by: Salil Mehta <salil.mehta@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