]> git.ipfire.org Git - thirdparty/linux.git/commit
RDMA/rxe: Don't call direct between tasks
authorBob Pearson <rpearsonhpe@gmail.com>
Fri, 29 Mar 2024 14:55:11 +0000 (09:55 -0500)
committerJason Gunthorpe <jgg@nvidia.com>
Mon, 22 Apr 2024 19:54:33 +0000 (16:54 -0300)
commit23bc06af547f2ca3b7d345e09fd8d04575406274
tree83be7d44282435b82d30a51f6b109f0e288c6d69
parent3d807a3ebc48a2e1685ebfa9d26ea2c9ceb9c53e
RDMA/rxe: Don't call direct between tasks

Replace calls to rxe_run_task() with rxe_sched_task().  This prevents the
tasks from all running on the same cpu.

This change slightly reduces performance for single qp send and write
benchmarks in loopback mode but greatly improves the performance with
multiple qps because if run task is used all the work tends to be
performed on one cpu. For actual on the wire benchmarks there is no
noticeable performance change.

Link: https://lore.kernel.org/r/20240329145513.35381-11-rpearsonhpe@gmail.com
Signed-off-by: Bob Pearson <rpearsonhpe@gmail.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/sw/rxe/rxe_comp.c
drivers/infiniband/sw/rxe/rxe_resp.c
drivers/infiniband/sw/rxe/rxe_verbs.c