diff options
author | Michael Chan <[email protected]> | 2017-12-06 17:31:22 -0500 |
---|---|---|
committer | David S. Miller <[email protected]> | 2017-12-07 13:35:56 -0500 |
commit | a8168b6cee6e9334dfebb4b9108e8d73794f6088 (patch) | |
tree | 3d8172e789b2d0959a4c7b64c3baff63fdd4f944 /tools/perf/scripts/python/check-perf-trace.py | |
parent | 24e5992a6baefc026aa8bad02d828cedaf8250b6 (diff) |
bnxt_en: Don't print "Link speed -1 no longer supported" messages.
On some dual port NICs, the 2 ports have to be configured with compatible
link speeds. Under some conditions, a port's configured speed may no
longer be supported. The firmware will send a message to the driver
when this happens.
Improve this logic that prints out the warning by only printing it if
we can determine the link speed that is no longer supported. If the
speed is unknown or it is in autoneg mode, skip the warning message.
Reported-by: Thomas Bogendoerfer <[email protected]>
Signed-off-by: Michael Chan <[email protected]>
Tested-by: Thomas Bogendoerfer <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions