[ofa-general] [PATCH] opensm/libvendor/osm_vendor_ibumad.c: add transaction ID printing to error messages
Ira Weiny
weiny2 at llnl.gov
Wed Feb 20 14:02:47 PST 2008
>From 44eeee0549b6571b6a58cd6b6789aed9c2ab1750 Mon Sep 17 00:00:00 2001
From: Ira K. Weiny <weiny2 at llnl.gov>
Date: Wed, 20 Feb 2008 13:55:47 -0800
Subject: [PATCH] opensm/libvendor/osm_vendor_ibumad.c: add transaction ID printing to error
messages
Signed-off-by: Ira K. Weiny <weiny2 at llnl.gov>
---
opensm/libvendor/osm_vendor_ibumad.c | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/opensm/libvendor/osm_vendor_ibumad.c b/opensm/libvendor/osm_vendor_ibumad.c
index e848f1a..679f06a 100644
--- a/opensm/libvendor/osm_vendor_ibumad.c
+++ b/opensm/libvendor/osm_vendor_ibumad.c
@@ -360,8 +360,9 @@ static void *umad_receiver(void *p_ptr)
osm_log(p_vend->p_log, OSM_LOG_ERROR,
"umad_receiver: ERR 5412: "
"Failed to obtain request madw for timed out MAD"
- "(method=0x%X attr=0x%X) -- dropping\n",
- mad->method, cl_ntoh16(mad->attr_id));
+ "(method=0x%X attr=0x%X tid=0x%"PRIx64") -- dropping\n",
+ mad->method, cl_ntoh16(mad->attr_id),
+ cl_ntoh64(mad->trans_id));
} else {
p_req_madw->status = IB_TIMEOUT;
/* cb frees req_madw */
@@ -384,8 +385,9 @@ static void *umad_receiver(void *p_ptr)
osm_log(p_vend->p_log, OSM_LOG_ERROR,
"umad_receiver: ERR 5413: "
"Failed to obtain request madw for received MAD"
- "(method=0x%X attr=0x%X) -- dropping\n",
- mad->method, cl_ntoh16((mad)->attr_id));
+ "(method=0x%X attr=0x%X tid=0x%"PRIx64") -- dropping\n",
+ mad->method, cl_ntoh16((mad)->attr_id),
+ cl_ntoh64(mad->trans_id));
osm_mad_pool_put(p_bind->p_mad_pool, p_madw);
continue;
}
--
1.5.1
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-opensm-libvendor-osm_vendor_ibumad.c-add-transactio.patch
Type: application/octet-stream
Size: 1615 bytes
Desc: not available
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20080220/7ea686de/attachment.obj>
More information about the general
mailing list