Skip to content

Commit

Permalink
prov/cxi: Update TXC emit idc amo with dom version
Browse files Browse the repository at this point in the history
Signed-off-by: Ian Ziemba <ian.ziemba@hpe.com>
  • Loading branch information
iziemba committed Jan 24, 2024
1 parent dc5cc7f commit c28f6ca
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions prov/cxi/src/cxip_txc.c
Original file line number Diff line number Diff line change
Expand Up @@ -640,6 +640,18 @@ int cxip_txc_emit_idc_amo(struct cxip_txc *txc, uint16_t vni,
if (!cxip_txc_can_emit_op(txc, c_state->event_success_disable))
return -FI_EAGAIN;

if (txc->ep_obj->av_auth_key) {
ret = cxip_domain_emit_idc_amo(txc->domain, vni, tc, c_state,
amo, flags, fetching, flush);
if (ret)
TXC_WARN(txc, "Failed to emit domain idc amo: %d\n",
ret);
else if (!c_state->event_success_disable)
ofi_atomic_inc32(&txc->otx_reqs);

return ret;
}

/* Ensure correct traffic class is used. */
ret = cxip_cmdq_cp_set(txc->tx_cmdq, vni, tc, tc_type);
if (ret) {
Expand Down

0 comments on commit c28f6ca

Please sign in to comment.