Skip to content

Commit

Permalink
prov/shm: fix incorrect capability set
Browse files Browse the repository at this point in the history
SMR_DOMAIN_CAPS was recently added to include FI_PEER, FI_AV_USER_ID
but a typo caused an smr_info data corruption

Signed-off-by: Alexia Ingerson <alexia.ingerson@intel.com>
  • Loading branch information
aingerson committed Sep 10, 2024
1 parent ffeb3a8 commit 036e2dd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions prov/shm/src/smr_attr.c
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,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,
SMR_DOMAIN_CAPS,
.caps = SMR_TX_CAPS | SMR_RX_CAPS | FI_MULTI_RECV | SMR_DOMAIN_CAPS,
.addr_format = FI_ADDR_STR,
.tx_attr = &smr_tx_attr,
.rx_attr = &smr_rx_attr,
Expand Down

0 comments on commit 036e2dd

Please sign in to comment.