Skip to contentSkip to conversation

opensm/osm_vendor_ibumad.c: Make binding log message clearer

PATCH In review Hal Rosenstock 2 participants 2 messages Jun 15, 2012 – Jul 2, 2012 1 message not in the archive InfiniBand

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 opensm/osm_vendor_ibumad.c: Make binding log message clearer

---

libvendor/osm_vendor_ibumad.c +2 -1
index cba60ed..f2432e0 100644
@@ -783,7 +783,8 @@ osm_vendor_bind(IN osm_vendor_t * const p_vend,
 	port_guid = p_user_bind->port_guid;
 
 	OSM_LOG(p_vend->p_log, OSM_LOG_INFO,
-		"Binding to port 0x%" PRIx64 "\n", cl_ntoh64(port_guid));
+		"Mgmt class 0x%02x binding to port GUID 0x%" PRIx64 "\n",
+		p_user_bind->mad_class, cl_ntoh64(port_guid));
 
 	if ((umad_port_id = osm_vendor_open_port(p_vend, port_guid)) < 0) {
 		OSM_LOG(p_vend->p_log, OSM_LOG_ERROR, "ERR 5424: "

--
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): 4FDB0F22.4060401-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org