aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMichael J. Ruhl <[email protected]>2018-05-02 06:43:07 -0700
committerDoug Ledford <[email protected]>2018-05-09 15:53:29 -0400
commita93a0a31111231bb1949f4a83b17238f0fa32d6a (patch)
tree78138471e59f4877a5003095983aae3c08e66ca8 /tools/perf/scripts/python
parente4607073ffa5c72279370ba91113b76e70f62e16 (diff)
IB/hfi1: Reorder incorrect send context disable
User send context integrity bits are cleared before the context is disabled. If the send context is still processing data, any packets that need those integrity bits will cause an error and halt the send context. During the disable handling, the driver waits for the context to drain. If the context is halted, the driver will eventually timeout because the context won't drain and then incorrectly bounce the link. Reorder the bit clearing and the context disable. Examine the software state and send context status as well as the egress status to determine if a send context is in the halted state. Promote the check macros to static functions for consistency with the new check and to follow kernel style. Remove an unused define that refers to the egress timeout. Cc: <[email protected]> # 4.9.x Reviewed-by: Mitko Haralanov <[email protected]> Reviewed-by: Mike Marciniszyn <[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