[IPOIB] bcast function use the IPOIB_DBG_INIT flag for prints
authorsleybo <sleybo@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Thu, 31 Aug 2006 10:22:02 +0000 (10:22 +0000)
committersleybo <sleybo@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Thu, 31 Aug 2006 10:22:02 +0000 (10:22 +0000)
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@475 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

ulp/ipoib/kernel/ipoib_port.c

index 6f09167..14e73a6 100644 (file)
@@ -4052,9 +4052,9 @@ __endpt_mgr_reset_all(
                        &p_port->p_local_endpt->mac_item );\r
                cl_fmap_remove_item( &p_port->endpt_mgr.gid_endpts,\r
                        &p_port->p_local_endpt->gid_item );\r
-               cl_qmap_remove_item( &p_port->endpt_mgr.lid_endpts,\r
-                       &p_port->p_local_endpt->lid_item );\r
-\r
+                       cl_qmap_remove_item( &p_port->endpt_mgr.lid_endpts,\r
+                               &p_port->p_local_endpt->lid_item );\r
+               \r
                cl_qlist_insert_head(\r
                        &mc_list, &p_port->p_local_endpt->mac_item.pool_item.list_item );\r
 \r
@@ -4800,7 +4800,7 @@ __port_get_bcast(
        ib_user_query_t         info;\r
        ib_member_rec_t         member_rec;\r
 \r
-       IPOIB_ENTER( IPOIB_DBG_MCAST );\r
+       IPOIB_ENTER( IPOIB_DBG_INIT );\r
 \r
        info.method = IB_MAD_METHOD_GETTABLE;\r
        info.attr_id = IB_MAD_ATTR_MCMEMBER_RECORD;\r
@@ -4834,7 +4834,7 @@ __port_get_bcast(
                        p_port->p_adapter->p_ifc->get_err_str( status )) );\r
        }\r
 \r
-       IPOIB_EXIT( IPOIB_DBG_MCAST );\r
+       IPOIB_EXIT( IPOIB_DBG_INIT );\r
        return status;\r
 }\r
 \r
@@ -4848,7 +4848,7 @@ __bcast_get_cb(
        ib_member_rec_t         *p_mc_req;\r
        ib_api_status_t         status;\r
 \r
-       IPOIB_ENTER( IPOIB_DBG_MCAST );\r
+       IPOIB_ENTER( IPOIB_DBG_INIT );\r
 \r
        p_port = (ipoib_port_t* __ptr64)p_query_rec->query_context;\r
 \r
@@ -4909,7 +4909,7 @@ done:
        /* Release the reference taken when issuing the member record query. */\r
        ipoib_port_deref( p_port, ref_bcast_get_cb );\r
 \r
-       IPOIB_EXIT( IPOIB_DBG_MCAST );\r
+       IPOIB_EXIT( IPOIB_DBG_INIT );\r
 }\r
 \r
 \r
@@ -4921,7 +4921,7 @@ __port_join_bcast(
        ib_api_status_t         status;\r
        ib_mcast_req_t          mcast_req;\r
 \r
-       IPOIB_ENTER( IPOIB_DBG_MCAST );\r
+       IPOIB_ENTER( IPOIB_DBG_INIT );\r
 \r
        /* Check that the rate is realizable for our port. */\r
        if( p_port->ib_mgr.rate < (p_member_rec->rate & 0x3F) &&\r
@@ -4931,7 +4931,7 @@ __port_join_bcast(
                 * The MC group rate is higher than our port's rate.  Log an error\r
                 * and stop.  A port transition will drive the retry.\r
                 */\r
-               IPOIB_PRINT(TRACE_LEVEL_WARNING, IPOIB_DBG_MCAST,\r
+               IPOIB_PRINT(TRACE_LEVEL_WARNING, IPOIB_DBG_INIT,\r
                        ("Unrealizable join due to rate mismatch.\n") );\r
                NdisWriteErrorLogEntry( p_port->p_adapter->h_adapter,\r
                        EVENT_IPOIB_BCAST_RATE, 2,\r
@@ -4959,7 +4959,7 @@ __port_join_bcast(
        if( ib_member_get_state( mcast_req.member_rec.scope_state ) !=\r
                IB_MC_REC_STATE_FULL_MEMBER )\r
        {\r
-               IPOIB_PRINT(TRACE_LEVEL_WARNING, IPOIB_DBG_MCAST,\r
+               IPOIB_PRINT(TRACE_LEVEL_WARNING, IPOIB_DBG_INIT,\r
                        ("Incorrect MC member rec join state in query response.\n") );\r
                ib_member_set_state( &mcast_req.member_rec.scope_state,\r
                        IB_MC_REC_STATE_FULL_MEMBER );\r
@@ -4977,7 +4977,7 @@ __port_join_bcast(
                        ("ib_join_mcast returned %s\n", \r
                        p_port->p_adapter->p_ifc->get_err_str( status )) );\r
        }\r
-       IPOIB_EXIT( IPOIB_DBG_MCAST );\r
+       IPOIB_EXIT( IPOIB_DBG_INIT );\r
        return status;\r
 }\r
 \r