From 29a73ecece096f353d04e0793e74e8d6ea410638 Mon Sep 17 00:00:00 2001 From: Ian Ziemba Date: Thu, 19 Oct 2023 15:35:03 -0500 Subject: [PATCH] mr_cache: Define ofi_mr_info::flags This can be used by providers to store flags, such as FI_HMEM_HOST_ALLOC or FI_HMEM_DEVICE_ONLY, with the MR. Signed-off-by: Ian Ziemba --- include/ofi_mr.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/ofi_mr.h b/include/ofi_mr.h index 80069b3f9fa..065f1c9b400 100644 --- a/include/ofi_mr.h +++ b/include/ofi_mr.h @@ -56,6 +56,7 @@ struct ofi_mr_info { struct iovec iov; enum fi_hmem_iface iface; uint64_t device; + uint64_t flags; uint64_t peer_id; void *mapped_addr;