Commit 9fcd67d
IB/rxe: increment msn only when completing a request
According to C9-147, MSN should only be incremented when the last packet of
a multi packet request has been received.
"Logically, the requester associates a sequential Send Sequence Number
(SSN) with each WQE posted to the send queue. The SSN bears a one-
to-one relationship to the MSN returned by the responder in each re-
sponse packet. Therefore, when the requester receives a response, it in-
terprets the MSN as representing the SSN of the most recent request
completed by the responder to determine which send WQE(s) can be
completed."
Fixes: 8700e3e ("Soft RoCE driver")
Signed-off-by: David Marchand <[email protected]>
Signed-off-by: Doug Ledford <[email protected]>1 parent 812755d commit 9fcd67d
1 file changed
Lines changed: 4 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
813 | 813 | | |
814 | 814 | | |
815 | 815 | | |
816 | | - | |
817 | | - | |
818 | | - | |
819 | 816 | | |
820 | 817 | | |
821 | 818 | | |
822 | 819 | | |
823 | 820 | | |
824 | 821 | | |
825 | | - | |
| 822 | + | |
| 823 | + | |
| 824 | + | |
826 | 825 | | |
827 | | - | |
| 826 | + | |
828 | 827 | | |
829 | 828 | | |
830 | 829 | | |
| |||
0 commit comments