]> git.openfabrics.org - ~shefty/rdma-win.git/commitdiff
[[IPoIB_NDIS6_CM] Spacing and tabulation; no functionality changes
authorAlex Naslednikov <alex@mellanox.co.il>
Wed, 22 Sep 2010 09:26:18 +0000 (09:26 +0000)
committerAlex Naslednikov <alex@mellanox.co.il>
Wed, 22 Sep 2010 09:26:18 +0000 (09:26 +0000)
git-svn-id: svn://openib.tc.cornell.edu/gen1@2944 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

trunk/ulp/ipoib_NDIS6_CM/kernel/ipoib_port.cpp

index c89bc65b48952709a872071f6318b86377f05fd7..25e86a81c308631b70aab0ddea55c580d16255d7 100644 (file)
@@ -830,12 +830,12 @@ __port_init(
        IPOIB_PRINT( TRACE_LEVEL_ERROR, IPOIB_DBG_OBJ,\r
                ("ref type %d ref_cnt %d\n", ref_init, p_port->obj.ref_cnt) );\r
 #endif\r
-    // The port is started as paused and NDIS calls latter to ipoib_restart. We\r
-    // shut the recv_shuter for now and alive it on ipoib_restart. We did\r
-    // it in this way since MpInitializeInternal also calls in reset and than\r
-    // we need to set the rec ref count to 1 //TODO !!!!!!!!!!1\r
-    //\r
-    \r
+       // The port is started as paused and NDIS calls latter to ipoib_restart. We\r
+       // shut the recv_shuter for now and alive it on ipoib_restart. We did\r
+       // it in this way since MpInitializeInternal also calls in reset and than\r
+       // we need to set the rec ref count to 1 //TODO !!!!!!!!!!1\r
+       //\r
+       \r
        if ( p_adapter->ipoib_state == IPOIB_INIT) {\r
                IPOIB_PRINT( TRACE_LEVEL_INFORMATION, IPOIB_DBG_RECV,\r
                ("Shutter shut, state = %d\n", p_adapter->ipoib_state));\r
@@ -1980,7 +1980,8 @@ static BOOLEAN
 __recv_cb_internal(\r
        IN              const   ib_cq_handle_t                          h_cq,\r
        IN                              void                                            *cq_context,\r
-    IN              uint32_t*                    p_recv_cnt );\r
+       IN                              uint32_t                                         *p_recv_cnt\r
+       );\r
 \r
 \r
 static void\r
@@ -2015,7 +2016,7 @@ static BOOLEAN
 __recv_cb_internal(\r
        IN              const   ib_cq_handle_t                          h_cq,\r
        IN                              void                                            *cq_context,\r
-    IN              uint32_t                    *p_recv_cnt)\r
+       IN                              uint32_t*                                        p_recv_cnt)\r
 {\r
        ipoib_port_t            *p_port;\r
        ib_api_status_t         status;\r
@@ -5801,8 +5802,9 @@ ipoib_port_resume(
        cl_obj_unlock( &p_port->obj );\r
 \r
        if (p_port->send_mgr.pending_list.count <= 0)\r
+       {\r
                return;\r
-\r
+       }\r
        p_item =  cl_qlist_remove_head( &p_port->send_mgr.pending_list );\r
        while (p_item != cl_qlist_end(&p_port->send_mgr.pending_list))\r
        {\r
@@ -8700,4 +8702,4 @@ IN                BOOLEAN         copy_all )
        }\r
        return;\r
 }\r
-#endif\r
+#endif
\ No newline at end of file