]> git.openfabrics.org - ~shefty/rdma-win.git/commitdiff
Add debug message to help in tracking mads down.
authoreitan <eitan@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Wed, 12 Oct 2005 08:01:36 +0000 (08:01 +0000)
committereitan <eitan@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Wed, 12 Oct 2005 08:01:36 +0000 (08:01 +0000)
git-svn-id: svn://openib.tc.cornell.edu/gen1@114 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

trunk/ulp/opensm/user/libvendor/osm_vendor_al.c

index 83d703ff2fd1802bb5f6f04ca51c933f5fe243d8..c75ce1b72d18e706037d9888d82e1122129374ec 100644 (file)
@@ -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");