diff options
author | Bob Pearson <rpearsonhpe@gmail.com> | 2024-03-29 15:55:10 +0100 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2024-04-22 21:54:33 +0200 |
commit | 3d807a3ebc48a2e1685ebfa9d26ea2c9ceb9c53e (patch) | |
tree | 26c07f46fb8dde3bd79788379a779cfdd13f726f /drivers/infiniband/sw/rxe/rxe_verbs.h | |
parent | RDMA/rxe: Don't schedule rxe_completer from rxe_requester (diff) | |
download | linux-3d807a3ebc48a2e1685ebfa9d26ea2c9ceb9c53e.tar.xz linux-3d807a3ebc48a2e1685ebfa9d26ea2c9ceb9c53e.zip |
RDMA/rxe: Don't call rxe_requester from rxe_completer
Instead of rescheduling rxe_requester from rxe_completer() just extend the
duration of rxe_sender() by one pass. Setting run_requester_again forces
rxe_completer() to return 0 which will cause rxe_sender() to be called at
least one more time.
Link: https://lore.kernel.org/r/20240329145513.35381-10-rpearsonhpe@gmail.com
Signed-off-by: Bob Pearson <rpearsonhpe@gmail.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'drivers/infiniband/sw/rxe/rxe_verbs.h')
-rw-r--r-- | drivers/infiniband/sw/rxe/rxe_verbs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/sw/rxe/rxe_verbs.h b/drivers/infiniband/sw/rxe/rxe_verbs.h index af8939b8c7a1..3c1354f82283 100644 --- a/drivers/infiniband/sw/rxe/rxe_verbs.h +++ b/drivers/infiniband/sw/rxe/rxe_verbs.h @@ -113,6 +113,7 @@ struct rxe_req_info { int need_retry; int wait_for_rnr_timer; int noack_pkts; + int again; }; struct rxe_comp_info { |