]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/rxe: Recheck the MR in when generating a READ reply
authorBob Pearson <rpearsonhpe@gmail.com>
Mon, 18 Apr 2022 17:41:04 +0000 (12:41 -0500)
committerJason Gunthorpe <jgg@nvidia.com>
Wed, 20 Apr 2022 14:21:24 +0000 (11:21 -0300)
commit0085d996e622ccb92f4d8e7b48258dfa6f579c16
treedd53a572936f8f2cc8e16b796b1166f2a34e3366
parente7da4f7f41cdac6745bef3529a4c9a12faa6338c
RDMA/rxe: Recheck the MR in when generating a READ reply

The rping benchmark fails on long runs. The root cause of this failure has
been traced to a failure to compute a nonzero value of mr in rare
situations.

Fix this failure by correctly handling the computation of mr in
read_reply() in rxe_resp.c in the replay flow.

Fixes: 6749bb9c6268 ("RDMA/rxe: Replace mr by rkey in responder resources")
Link: https://lore.kernel.org/r/20220418174103.3040-1-rpearsonhpe@gmail.com
Signed-off-by: Bob Pearson <rpearsonhpe@gmail.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/sw/rxe/rxe_resp.c