aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMichael J. Ruhl <[email protected]>2018-05-02 06:42:59 -0700
committerDoug Ledford <[email protected]>2018-05-09 15:53:29 -0400
commite4607073ffa5c72279370ba91113b76e70f62e16 (patch)
tree5f415d2c0bbbed94ef10b1b50d38c7811453493a /tools/perf/scripts/python
parent8c79d8223bb11b2f005695a32ddd3985de97727c (diff)
IB/hfi1: Return correct value for device state
The driver_pstate() function is used to map internal driver state information to externally defined states. The VERIFY_CAP and GOING_UP states are config/training states, but the mapping routing returns the POLLING value. Update the return values for VERIFY_CAP and GOING_UP to return the correct value: TRAINING. Reviewed-by: Sebastian Sanchez <[email protected]> Signed-off-by: Michael J. Ruhl <[email protected]> Signed-off-by: Dennis Dalessandro <[email protected]> Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions