Skip to contentSkip to conversation

opensm/osm_perfmgr.c: Enhance send error log message

PATCH New Hal Rosenstock 1 participant 1 message Dec 20, 2011 InfiniBand

lore
Share & tools
lore
#0 lore raw

PATCH 3/3 opensm/osm_perfmgr.c: Enhance send error log message

---

opensm/osm_perfmgr.c +4 -1
index ded5a5e..41ef08b 100644
@@ -212,7 +212,10 @@ static void perfmgr_mad_send_err_callback(void *bind_context,
 	p_mon_node = (monitored_node_t *) p_node;
 
 	OSM_LOG(pm->log, OSM_LOG_ERROR, "ERR 4C02: %s (0x%" PRIx64
-		") port %u\n", p_mon_node->name, p_mon_node->guid, port);
+		") port %u LID %u TID 0x%" PRIx64 "\n",
+		p_mon_node->name, p_mon_node->guid, port,
+		cl_ntoh16(p_madw->mad_addr.dest_lid),
+		cl_ntoh64(p_madw->p_mad->trans_id));
 
 	if (pm->subn->opt.perfmgr_redir && p_madw->status == IB_TIMEOUT) {
 		/* First, find the node in the monitored map */

--
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