From 5975ade8b7bee2c094c4d18b65cf3696dc4a8f23 Mon Sep 17 00:00:00 2001 From: Amir Shehata Date: Thu, 2 May 2024 15:18:27 -0400 Subject: [PATCH] prov/shm: Add FI_PEER capability bit Add the FI_PEER capability bit to the SHM fi_infos Signed-off-by: Amir Shehata --- prov/shm/src/smr_attr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/prov/shm/src/smr_attr.c b/prov/shm/src/smr_attr.c index 5b80a0ab848..a6aff347aeb 100644 --- a/prov/shm/src/smr_attr.c +++ b/prov/shm/src/smr_attr.c @@ -141,7 +141,7 @@ struct fi_fabric_attr smr_fabric_attr = { }; struct fi_info smr_hmem_info = { - .caps = SMR_HMEM_TX_CAPS | SMR_HMEM_RX_CAPS | FI_MULTI_RECV | FI_LOCAL_COMM, + .caps = SMR_HMEM_TX_CAPS | SMR_HMEM_RX_CAPS | FI_MULTI_RECV | FI_LOCAL_COMM | FI_PEER, .addr_format = FI_ADDR_STR, .tx_attr = &smr_hmem_tx_attr, .rx_attr = &smr_hmem_rx_attr, @@ -151,7 +151,7 @@ struct fi_info smr_hmem_info = { }; struct fi_info smr_info = { - .caps = SMR_TX_CAPS | SMR_RX_CAPS | FI_MULTI_RECV | FI_LOCAL_COMM, + .caps = SMR_TX_CAPS | SMR_RX_CAPS | FI_MULTI_RECV | FI_LOCAL_COMM | FI_PEER, .addr_format = FI_ADDR_STR, .tx_attr = &smr_tx_attr, .rx_attr = &smr_rx_attr,