Skip to content

Commit

Permalink
prov/cxi: Update TXC emit idc put 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 8feac61 commit f8543c0
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 @@ -529,6 +529,18 @@ int cxip_txc_emit_idc_put(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_put(txc->domain, vni, tc, c_state,
put, buf, len, flags);
if (ret)
TXC_WARN(txc, "Failed to emit domain idc put: %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 f8543c0

Please sign in to comment.