From fc702073fffc0cc7c1ac8377b5064fcc457dec80 Mon Sep 17 00:00:00 2001 From: eitan Date: Wed, 12 Oct 2005 08:01:36 +0000 Subject: [PATCH] Add debug message to help in tracking mads down. git-svn-id: svn://openib.tc.cornell.edu/gen1@114 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86 --- trunk/ulp/opensm/user/libvendor/osm_vendor_al.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/trunk/ulp/opensm/user/libvendor/osm_vendor_al.c b/trunk/ulp/opensm/user/libvendor/osm_vendor_al.c index 83d703ff..c75ce1b7 100644 --- a/trunk/ulp/opensm/user/libvendor/osm_vendor_al.c +++ b/trunk/ulp/opensm/user/libvendor/osm_vendor_al.c @@ -373,6 +373,17 @@ __osm_al_rcv_callback( */ if( ib_mad_is_response( p_new_mad ) ) { + /* + The acquiring was done in the ib_get_mad_buf function. + If this is a request - then we impllicitly allocate the MAD. + In this case - it was allocated in the lower layer. The message + is for tracking down messages - locate how/where this mad was + allocated. + */ + osm_log( p_vend->p_log, OSM_LOG_DEBUG, + "__osm_al_rcv_callback: " + "Acquired implicitly MAD %p.\n", p_new_mad ); + osm_log( p_vend->p_log, OSM_LOG_DEBUG, "__osm_al_rcv_callback: " "The Mad is a response , thus handeled in __osm_al_send_callback\n"); -- 2.41.0