summaryrefslogtreecommitdiff
path: root/include/rdma
diff options
context:
space:
mode:
authorDaisuke Matsuda <matsuda-daisuke@fujitsu.com>2025-03-24 10:56:48 +0300
committerLeon Romanovsky <leon@kernel.org>2025-04-08 14:13:56 +0300
commit6703cb3dced01f32982b9f7069ef1336d0225077 (patch)
treea4897afc3c93c628dce70dffcd15d62dd77ebcf1 /include/rdma
parent4dab26bed543584577b64b36aadb8b5b165bf44f (diff)
downloadlinux-6703cb3dced01f32982b9f7069ef1336d0225077.tar.xz
RDMA/rxe: Enable ODP in RDMA FLUSH operation
For persistent memories, add rxe_odp_flush_pmem_iova() so that ODP specific steps are executed. Otherwise, no additional consideration is required. Signed-off-by: Daisuke Matsuda <matsuda-daisuke@fujitsu.com> Link: https://patch.msgid.link/20250324075649.3313968-2-matsuda-daisuke@fujitsu.com Reviewed-by: Li Zhijian <lizhijian@fujitsu.com> Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'include/rdma')
-rw-r--r--include/rdma/ib_verbs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/rdma/ib_verbs.h b/include/rdma/ib_verbs.h
index d42eae69d9a8..41bf98ccb275 100644
--- a/include/rdma/ib_verbs.h
+++ b/include/rdma/ib_verbs.h
@@ -325,6 +325,7 @@ enum ib_odp_transport_cap_bits {
IB_ODP_SUPPORT_READ = 1 << 3,
IB_ODP_SUPPORT_ATOMIC = 1 << 4,
IB_ODP_SUPPORT_SRQ_RECV = 1 << 5,
+ IB_ODP_SUPPORT_FLUSH = 1 << 6,
};
struct ib_odp_caps {