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
__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
__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
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
}\r
return;\r
}\r
-#endif\r
+#endif
\ No newline at end of file