aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/tasks.py
diff options
context:
space:
mode:
authorSlava Shwartsman <[email protected]>2016-07-03 15:28:19 +0300
committerDoug Ledford <[email protected]>2016-08-02 14:32:51 -0400
commitb0ffeb537f3a726931d962ab6d03e34a2f070ea4 (patch)
tree2f5f86baf6b7f1cffcab3867c3060ee506390bd3 /scripts/gdb/linux/tasks.py
parent619615005e2f23e8f8b30142a074c005eb5aa063 (diff)
IB/mlx5: Fix iteration overrun in GSI qps
Number of outstanding_pi may overflow and as a result may indicate that there are no elements in the queue. The effect of doing this is that the MAD layer will get stuck waiting for completions. The MAD layer will think that the QP is full - because it didn't receive these completions. This fix changes it so the outstanding_pi number is increased with 32-bit wraparound and is not limited to max_send_wr so that the difference between outstanding_pi and outstanding_ci will really indicate the number of outstanding completions. Cc: Stable <[email protected]> Fixes: ea6dc2036224 ('IB/mlx5: Reorder GSI completions') Signed-off-by: Slava Shwartsman <[email protected]> Signed-off-by: Leon Romanovsky <[email protected]> Reviewed-by: Haggai Eran <[email protected]> Reviewed-by: Sagi Grimberg <[email protected]> Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions