Skip to content

Commit

Permalink
prov/cxi: Report RMA order used in debug output
Browse files Browse the repository at this point in the history
Report order used for an RMA operation in debug
and error output.

Signed-off-by: Steve Welch <[email protected]>
  • Loading branch information
swelch committed Oct 29, 2024
1 parent 0dd0731 commit 2942e54
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions prov/cxi/src/cxip_rma.c
Original file line number Diff line number Diff line change
Expand Up @@ -658,12 +658,14 @@ ssize_t cxip_rma_common(enum fi_op_type op, struct cxip_txc *txc,

if (ret)
TXC_WARN(txc,
"%s RMA %s failed: buf=%p len=%lu rkey=%#lx roffset=%#lx nic=%#x pid=%u pid_idx=%u\n",
"%s %s RMA %s failed: buf=%p len=%lu rkey=%#lx roffset=%#lx nic=%#x pid=%u pid_idx=%u\n",
unr ? "Ordered" : "Un-ordered",
idc ? "IDC" : "DMA", write ? "write" : "read",
buf, len, key, addr, caddr.nic, caddr.pid, pid_idx);
else
TXC_DBG(txc,
"%s RMA %s emitted: buf=%p len=%lu rkey=%#lx roffset=%#lx nic=%#x pid=%u pid_idx=%u\n",
"%s %s RMA %s emitted: buf=%p len=%lu rkey=%#lx roffset=%#lx nic=%#x pid=%u pid_idx=%u\n",
unr ? "Ordered" : "Un-ordered",
idc ? "IDC" : "DMA", write ? "write" : "read",
buf, len, key, addr, caddr.nic, caddr.pid, pid_idx);

Expand Down

0 comments on commit 2942e54

Please sign in to comment.