From 2942e545408ff967cd2b7177a8130df64b48f931 Mon Sep 17 00:00:00 2001 From: Steve Welch Date: Tue, 29 Oct 2024 09:00:01 -0500 Subject: [PATCH] prov/cxi: Report RMA order used in debug output Report order used for an RMA operation in debug and error output. Signed-off-by: Steve Welch --- prov/cxi/src/cxip_rma.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/prov/cxi/src/cxip_rma.c b/prov/cxi/src/cxip_rma.c index 7b691c17e20..9aa1ace679f 100644 --- a/prov/cxi/src/cxip_rma.c +++ b/prov/cxi/src/cxip_rma.c @@ -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);