]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
RDMA/rxe: Convert tasklet args to queue pairs
authorBob Pearson <rpearsonhpe@gmail.com>
Sat, 4 Mar 2023 17:45:27 +0000 (11:45 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 11 May 2023 14:11:29 +0000 (23:11 +0900)
commitd41d613aa652635b4940a3d103b62ca2d94b49f4
treef2b5be896d0cd67f102c8a1228e87517f36a2c15
parenteceb1cd49c67debc7887c306d2d8efee3d95d04f
RDMA/rxe: Convert tasklet args to queue pairs

[ Upstream commit 3946fc2a42b18cf0b675121158a2625825ce27b5 ]

Originally is was thought that the tasklet machinery in rxe_task.c would
be used in other applications but that has not happened for years. This
patch replaces the 'void *arg' by struct 'rxe_qp *qp' in the parameters to
the tasklet calls. This change will have no affect on performance but may
make the code a little clearer.

Link: https://lore.kernel.org/r/20230304174533.11296-2-rpearsonhpe@gmail.com
Signed-off-by: Bob Pearson <rpearsonhpe@gmail.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Stable-dep-of: b2b1ddc45745 ("RDMA/rxe: Fix the error "trying to register non-static key in rxe_cleanup_task"")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/infiniband/sw/rxe/rxe_comp.c
drivers/infiniband/sw/rxe/rxe_loc.h
drivers/infiniband/sw/rxe/rxe_req.c
drivers/infiniband/sw/rxe/rxe_resp.c
drivers/infiniband/sw/rxe/rxe_task.c
drivers/infiniband/sw/rxe/rxe_task.h