Skip to contentSkip to conversation

opensm/osm_vendor_ibumad.c: Add transaction ID to osm_vendor_send log message

PATCH Applied Hal Rosenstock 2 participants 2 messages Dec 16, 2009 1 message not in the archive InfiniBand

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 opensm/osm_vendor_ibumad.c: Add transaction ID to osm_vendor_send log message

---

opensm/libvendor/osm_vendor_ibumad.c +2 -2
index 6927060..f360cf4 100644
@@ -1074,8 +1074,8 @@ Resp:
 			     resp_expected ? p_bind->timeout : 0,
 			     p_bind->max_retries)) < 0) {
 		OSM_LOG(p_vend->p_log, OSM_LOG_ERROR, "ERR 5430: "
-			"Send p_madw = %p of size %d failed %d (%m)\n",
-			p_madw, sent_mad_size, ret);
+			"Send p_madw = %p of size %d TID 0x%" PRIx64 " failed %d (%m)\n",
+			p_madw, sent_mad_size, cl_ntoh64(p_mad->trans_id), ret);
 		if (resp_expected) {
 			get_madw(p_vend, &p_mad->trans_id);	/* remove from aging table */
 			p_madw->status = IB_ERROR;

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): [email protected]