RDMA/rxe: Fix missing acks from responder
authorBob Pearson <rpearsonhpe@gmail.com>
Fri, 2 Apr 2021 00:10:17 +0000 (19:10 -0500)
committerJason Gunthorpe <jgg@nvidia.com>
Thu, 8 Apr 2021 18:59:28 +0000 (15:59 -0300)
commitea492251894073cbb366c9fcd227f62cbaa7ef4b
tree0f5df91a09fd4a09f1e57fad77c81ce20e6fcad7
parent7d8f346504ebde71d92905e3055d40ea8f34416e
RDMA/rxe: Fix missing acks from responder

All responder errors from request packets that do not consume a receive
WQE fail to generate acks for RC QPs.  This patch corrects this behavior
by making the flow follow the same path as request packets that do consume
a WQE after the completion.

Link: https://lore.kernel.org/r/20210402001016.3210-1-rpearson@hpe.com
Link: https://lore.kernel.org/linux-rdma/1a7286ac-bcea-40fb-2267-480134dd301b@gmail.com/
Signed-off-by: Bob Pearson <rpearson@hpe.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/sw/rxe/rxe_comp.c
drivers/infiniband/sw/rxe/rxe_resp.c