>From 44eeee0549b6571b6a58cd6b6789aed9c2ab1750 Mon Sep 17 00:00:00 2001
From: Ira K. Weiny <[EMAIL PROTECTED]>
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 <[EMAIL PROTECTED]>
---
 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

Attachment: 0003-opensm-libvendor-osm_vendor_ibumad.c-add-transactio.patch
Description: Binary data

_______________________________________________
general mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to