<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16587" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN class=205033608-27102008>The function
ipoib_port_flush_endpts is not in used, and is now removed.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=205033608-27102008></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=205033608-27102008>Index:
ulp/ipoib/kernel/ipoib_endpoint.h<BR>===================================================================<BR>---
ulp/ipoib/kernel/ipoib_endpoint.h (revision 1697)<BR>+++
ulp/ipoib/kernel/ipoib_endpoint.h (working copy)<BR>@@ -60,7 +60,6
@@<BR> net16_t dlid;<BR> net32_t qpn;<BR> ib_av_handle_t h_av;<BR>- boolean_t expired;<BR> ib_al_ifc_t *p_ifc;<BR> boolean_t
is_in_use;<BR> boolean_t is_mcast_listener;<BR>@@
-140,7 +139,6 @@<BR> * or trying to send data to that
endpoint. Clear the expired flag<BR> * to prevent the AV from
being flushed.<BR> */<BR>- p_endpt->expired =
FALSE;<BR> }<BR> <BR> <BR>Index:
ulp/ipoib/kernel/ipoib_port.c<BR>===================================================================<BR>---
ulp/ipoib/kernel/ipoib_port.c (revision 1697)<BR>+++
ulp/ipoib/kernel/ipoib_port.c (working copy)<BR>@@ -5110,51 +5110,6
@@<BR> IPOIB_EXIT( IPOIB_DBG_ENDPT
);<BR> }<BR> <BR>-<BR>-void<BR>-ipoib_port_flush_endpts(<BR>- IN ipoib_port_t*
const p_port
)<BR>-{<BR>- cl_map_item_t *p_item;<BR>- ipoib_endpt_t *p_endpt;<BR>-<BR>- IPOIB_ENTER(
IPOIB_DBG_ENDPT );<BR>-<BR>- cl_obj_lock( &p_port->obj
);<BR>- p_item = cl_qmap_head( &p_port->endpt_mgr.mac_endpts
);<BR>- while( p_item != cl_qmap_end( &p_port->endpt_mgr.mac_endpts
) )<BR>- {<BR>- p_endpt = PARENT_STRUCT( p_item, ipoib_endpt_t,
mac_item );<BR>- p_item = cl_qmap_next( p_item
);<BR>-<BR>- /*<BR>- * If the endpoint has been marked as
expired before, and we have<BR>- * an AV handle, free the
AV.<BR>- */<BR>- if( p_endpt->expired &&
p_endpt->h_av )<BR>- {<BR>- CL_ASSERT(
p_endpt->obj.ref_cnt == 1
);<BR>- p_port->p_adapter->p_ifc->destroy_av(
p_endpt->h_av );<BR>- p_endpt->h_av =
NULL;<BR>- p_endpt->expired =
FALSE;<BR>- }<BR>-<BR>- /*<BR>- * If the
endpoint is not in use, mark it as expired.<BR>- * Note that the ref
count is only zero when the endpoint gets<BR>- * destroyed, so an
endpoint that is not in use has a ref count of 1.<BR>- * Also note
that we never expire any multicast endpoints.<BR>-
*/<BR>- CL_ASSERT( p_endpt->obj.ref_cnt != 0
);<BR>- if( p_endpt->obj.ref_cnt == 1 && p_endpt->h_av
&& !p_endpt->h_mcast )<BR>- p_endpt->expired =
TRUE;<BR>- }<BR>- cl_obj_unlock( &p_port->obj
);<BR>-<BR>- IPOIB_EXIT( IPOIB_DBG_ENDPT
);<BR>-}<BR>-<BR>-<BR> /*<BR> * The sequence for port up is as
follows:<BR> * 1. The port goes active. This allows the adapter
to send SA queries<BR>Index:
ulp/ipoib/kernel/ipoib_port.h<BR>===================================================================<BR>---
ulp/ipoib/kernel/ipoib_port.h (revision 1697)<BR>+++
ulp/ipoib/kernel/ipoib_port.h (working copy)<BR>@@ -596,10 +596,6
@@<BR> IN const mac_addr_t mac
);<BR> <BR> void<BR>-ipoib_port_flush_endpts(<BR>- IN ipoib_port_t*
const p_port
);<BR>-<BR>-void<BR> ipoib_port_send(<BR> IN ipoib_port_t*
const p_port,<BR> IN NDIS_PACKET **p_packet_array,<BR></DIV></SPAN></FONT></BODY></HTML>