RDMA/rxe: Implement synchronous prefetch for ODP MRs
authorDaisuke Matsuda <dskmtsd@gmail.com>
Thu, 22 May 2025 11:19:54 +0000 (11:19 +0000)
committerLeon Romanovsky <leon@kernel.org>
Thu, 12 Jun 2025 08:07:04 +0000 (04:07 -0400)
commit3576b0df1588a0fd0249c29975d9dc92ffd6f3c0
tree3301ccaaa8876edac5f4418169871d9361dcf38f
parent19272b37aa4f83ca52bdf9c16d5d81bdd1354494
RDMA/rxe: Implement synchronous prefetch for ODP MRs

Minimal implementation of ibv_advise_mr(3) requires synchronous calls being
successful with the IBV_ADVISE_MR_FLAG_FLUSH flag. Asynchronous requests,
which are best-effort, will be supported subsequently.

Signed-off-by: Daisuke Matsuda <dskmtsd@gmail.com>
Link: https://patch.msgid.link/20250522111955.3227-2-dskmtsd@gmail.com
Reviewed-by: Zhu Yanjun <yanjun.zhu@linux.dev>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/infiniband/sw/rxe/rxe.c
drivers/infiniband/sw/rxe/rxe_loc.h
drivers/infiniband/sw/rxe/rxe_odp.c