aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJames Smart <[email protected]>2019-05-21 17:49:04 -0700
committerMartin K. Petersen <[email protected]>2019-06-18 19:46:21 -0400
commitb8e6f13617db126c8898908e8601f5e4e3b393cf (patch)
tree21e21ad0a3fa5f89707cae0cc5dffa7324d8606d /tools/perf/scripts/python
parent04d210c98e11d863ebe38a7e482e40fb90d9ad82 (diff)
scsi: lpfc: Fix incorrect logical link speed on trunks when links down
Invalid logical speed is displayed for trunk enabled ports when all ports are down. Also noted that link speed is incorrectly reported for the units when links are up. Current code is returning the logical link speed from the last event from the adapter. In cases where the last link went down, the link speed in the event was not valid - meaning that although the links where down the field had a bogus value. Rework the event handling to qualify the trunk link state before using the event speed data. Also correct units on other areas where the logical link speed was taken from a link event. Signed-off-by: Dick Kennedy <[email protected]> Signed-off-by: James Smart <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions