[openib-general] [PATCH] OpenSM: Add MGID and PortGID to 1B25 error message

Hal Rosenstock halr at voltaire.com
Tue Sep 6 08:09:28 PDT 2005


OpenSM: Add MGID and PortGID to 1B25 error message

Signed-off-by: Hal Rosenstock <halr at voltaire.com>

--- osm_sa_mcmember_record.c.3  2005-09-06 10:52:22.000000000 -0400
+++ osm_sa_mcmember_record.c    2005-09-06 11:05:02.000000000 -0400
@@ -1412,7 +1412,15 @@ osm_mcmr_rcv_leave_mgrp(
       CL_PLOCK_RELEASE( p_rcv->p_lock );
       osm_log( p_rcv->p_log, OSM_LOG_ERROR,
                "osm_mcmr_rcv_leave_mgrp: ERR 1B25: "
-               "Received an Invalid Delete Request.\n");
+               "Received an Invalid Delete Request on "
+               "MGID: 0x%016" PRIx64 " : "
+               "0x%016" PRIx64 " for "
+               "PortGID: 0x%016" PRIx64 " : "
+               "0x%016" PRIx64 "\n",
+               cl_ntoh64( p_recvd_mcmember_rec->mgid.unicast.prefix ),
+               cl_ntoh64( p_recvd_mcmember_rec->mgid.unicast.interface_id ),
+               cl_ntoh64( p_recvd_mcmember_rec->port_gid.unicast.prefix ),
+               cl_ntoh64( p_recvd_mcmember_rec->port_gid.unicast.interface_id ) );
       sa_status   = IB_SA_MAD_STATUS_REQ_INVALID;
       osm_sa_send_error( p_rcv->p_resp, p_madw, sa_status);
       goto Exit;





More information about the general mailing list