diff options
author | Bob Pearson <rpearsonhpe@gmail.com> | 2021-04-01 19:10:17 -0500 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2021-04-08 15:59:28 -0300 |
commit | ea492251894073cbb366c9fcd227f62cbaa7ef4b (patch) | |
tree | 0f5df91a09fd4a09f1e57fad77c81ce20e6fcad7 /drivers/infiniband/sw/rxe/rxe_comp.c | |
parent | 7d8f346504ebde71d92905e3055d40ea8f34416e (diff) | |
download | linux-ea492251894073cbb366c9fcd227f62cbaa7ef4b.tar.gz linux-ea492251894073cbb366c9fcd227f62cbaa7ef4b.tar.bz2 linux-ea492251894073cbb366c9fcd227f62cbaa7ef4b.zip |
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>
Diffstat (limited to 'drivers/infiniband/sw/rxe/rxe_comp.c')
-rw-r--r-- | drivers/infiniband/sw/rxe/rxe_comp.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/infiniband/sw/rxe/rxe_comp.c b/drivers/infiniband/sw/rxe/rxe_comp.c index a612b335baa0..2af26737d32d 100644 --- a/drivers/infiniband/sw/rxe/rxe_comp.c +++ b/drivers/infiniband/sw/rxe/rxe_comp.c @@ -676,7 +676,6 @@ int rxe_completer(void *arg) /* there is nothing to retry in this case */ if (!wqe || (wqe->state == wqe_state_posted)) { - pr_warn("Retry attempted without a valid wqe\n"); ret = -EAGAIN; goto done; } |