[ofa-general] [PATCH][TRIVIAL] opensm/osm_sa_mcmember_record.c: Better message on failure due to MC group not found

Hal Rosenstock hrosenstock at xsigo.com
Fri Jun 13 07:53:10 PDT 2008


opensm/osm_sa_mcmember_record.c: Better message on failure due to MC
group not found

Signed-off-by: Hal Rosenstock <hal at xsigo.com>

diff --git a/opensm/opensm/osm_sa_mcmember_record.c b/opensm/opensm/osm_sa_mcmember_record.c
index de174c5..8b8cfa1 100644
--- a/opensm/opensm/osm_sa_mcmember_record.c
+++ b/opensm/opensm/osm_sa_mcmember_record.c
@@ -1278,8 +1278,11 @@ __osm_mcmr_rcv_leave_mgrp(IN osm_sa_t * sa,
 		}
 	} else {
 		CL_PLOCK_RELEASE(sa->p_lock);
-		OSM_LOG(sa->p_log, OSM_LOG_DEBUG,
-			"Failed since multicast group not present\n");
+		OSM_LOG(sa->p_log, OSM_LOG_ERROR,
+			"Failed since multicast group 0x%16"
+			PRIx64 " : 0x%016" PRIx64 " not present\n",
+			cl_ntoh64(p_recvd_mcmember_rec->mgid.unicast.prefix),
+			cl_ntoh64(p_recvd_mcmember_rec->mgid.unicast.interface_id));
 		osm_sa_send_error(sa, p_madw, IB_SA_MAD_STATUS_REQ_INVALID);
 		goto Exit;
 	}





More information about the general mailing list