diff options
author | David Marchand <david.marchand@6wind.com> | 2017-02-24 15:38:26 +0100 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2017-03-24 22:07:27 -0400 |
commit | 9fcd67d1772c43d2f23e8fca56acc7219e991676 (patch) | |
tree | 0eb856931b5b5655ae23e21087a12fe826a62f88 /drivers/infiniband/core/cq.c | |
parent | 812755d69efcf7c12fded57983d456647a0bbadd (diff) | |
download | linux-stable-9fcd67d1772c43d2f23e8fca56acc7219e991676.tar.gz |
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: 8700e3e7c485 ("Soft RoCE driver")
Signed-off-by: David Marchand <david.marchand@6wind.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/core/cq.c')
0 files changed, 0 insertions, 0 deletions