diff options
| author | Daode Huang <huangdaode@hisilicon.com> | 2016-11-09 18:13:49 +0000 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2016-11-10 11:45:37 -0500 |
| commit | da2ef1e5585bc733c4cccee8390259abeb27f0bf (patch) | |
| tree | 15ad8a8e45fbfeb607efd9f2432ded3cc7f9f68e /tools/perf/scripts/python/call-graph-from-postgresql.py | |
| parent | net: hns: set default mac pause time to 0xffff (diff) | |
| download | linux-da2ef1e5585bc733c4cccee8390259abeb27f0bf.tar.gz linux-da2ef1e5585bc733c4cccee8390259abeb27f0bf.zip | |
net: hns: bug fix about restart auto-negotiation
When set auto-negotiation off and duplex half, if run "ethtool -r ethX"
on port with phy, then the port will be failed to work. It should
forbid to start auto-negotiation when auto-negotiate is off. This
patch add the limited condition.
Reported-by: Jinchuang Tian <tianjinchuang1@huawei.com>
Signed-off-by: Daode Huang <huangdaode@hisilicon.com>
Reviewed-by: Yisen Zhuang <yisen.zhuang@huawei.com>
Reviewed-by: lipeng <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/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions
