Skip to content

Commit

Permalink
prov/shm: Add FI_PEER capability bit
Browse files Browse the repository at this point in the history
Add the FI_PEER capability bit to the SHM fi_infos

Signed-off-by: Amir Shehata <[email protected]>
  • Loading branch information
amirshehataornl committed May 16, 2024
1 parent 482c948 commit 07d915b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions prov/shm/src/smr_attr.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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,
Expand Down

0 comments on commit 07d915b

Please sign in to comment.