!ETH_IS_BROADCAST( p_eth_hdr->dst.addr ) ) \r
{\r
\r
- IPOIB_PRINT_EXIT( TRACE_LEVEL_VERBOSE, IPOIB_DBG_MCAST,\r
+ IPOIB_PRINT_EXIT( TRACE_LEVEL_INFORMATION, IPOIB_DBG_MCAST,\r
("recived a Multicast NBL= %p\n", p_net_buffer_list) );\r
\r
\r
cl_perf_start( QueuePacket );\r
\r
cl_qlist_insert_tail( &p_port->send_mgr.pending_list, (cl_list_item_t*)s_buf );\r
- IPOIB_PRINT( TRACE_LEVEL_VERBOSE, IPOIB_DBG_SEND, ("Inserting %p NB first time to the pending list\n", p_netbuf));\r
+ IPOIB_PRINT( TRACE_LEVEL_INFORMATION, IPOIB_DBG_SEND, ("Inserting %p NB first time to the pending list\n", p_netbuf));\r
\r
cl_perf_stop( &p_port->p_adapter->perf, QueuePacket );\r
++g_ipoib_send_SG_pending;\r
cl_spinlock_acquire( &p_port->send_lock );\r
++g_ipoib_send_SG;\r
if (g_ipoib_send_SG > 2) {\r
- ASSERT(g_ipoib_send_SG-2 <= g_ipoib_send + g_ipoib_send_mcast+p_port->send_mgr.pending_list.count+ g_ipoib_send_SG_failed);\r
+ //ASSERT(g_ipoib_send_SG-2 <= g_ipoib_send + g_ipoib_send_mcast+p_port->send_mgr.pending_list.count+ g_ipoib_send_SG_failed);\r
}\r
ipoib_process_sg_list_real(pDO, pIrp, p_sgl, context);\r
if (g_ipoib_send_SG > 1) {\r
- ASSERT(g_ipoib_send_SG-1 <= g_ipoib_send + g_ipoib_send_mcast+p_port->send_mgr.pending_list.count + g_ipoib_send_SG_failed);\r
+ //ASSERT(g_ipoib_send_SG-1 <= g_ipoib_send + g_ipoib_send_mcast+p_port->send_mgr.pending_list.count + g_ipoib_send_SG_failed);\r
}\r
cl_spinlock_release( &p_port->send_lock );\r
\r
\r
// No need to delete p_sg_buf at this state, we will destroy the whole list at the end of the execution\r
//NET_BUFFER_LIST_NEXT_NBL(p_desc->p_netbuf_list) = NULL;\r
+#if 0\r
if (NET_BUFFER_LIST_STATUS(s_buf->p_nbl) != NDIS_STATUS_FAILURE) {\r
//TODO what about other statuses ?????\r
NET_BUFFER_LIST_STATUS(s_buf->p_nbl) = status;\r
}\r
+#endif\r
+\r
+ NET_BUFFER_LIST_STATUS(s_buf->p_nbl) = status;\r
\r
\r
\r
p_port->p_adapter->p_ifc->leave_mcast( p_mcast_rec->h_mcast, __leave_error_mcast_cb );\r
}\r
ipoib_port_deref( p_port, ref_mcast_inv_state );\r
- IPOIB_PRINT_EXIT( TRACE_LEVEL_INFORMATION, IPOIB_DBG_INIT,\r
+ IPOIB_PRINT_EXIT( TRACE_LEVEL_INFORMATION, (IPOIB_DBG_MCAST | IPOIB_DBG_INIT),\r
("Invalid state - Aborting.\n") );\r
+\r
+ cl_spinlock_acquire(&p_port->send_lock);\r
+ ipoib_port_resume(p_port , FALSE);\r
+ cl_spinlock_release(&p_port->send_lock);\r
return;\r
}\r
\r