<!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.16705" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=005395921-07112008><FONT face=Arial color=#0000ff
size=2>Hello,</FONT></SPAN></DIV>
<DIV><SPAN class=005395921-07112008><FONT face=Arial color=#0000ff size=2>
Testing this patch produces problems. SM node is running this
code.</FONT></SPAN></DIV>
<DIV><SPAN class=005395921-07112008><FONT face=Arial color=#0000ff
size=2>Problems defined as</FONT></SPAN></DIV>
<DIV><SPAN class=005395921-07112008><FONT face=Arial color=#0000ff size=2>
1) IPoIB interfaces take approximately 20 seconds to get a DHCP assigned IPv4
address assigned; long after installer is done.</FONT></SPAN></DIV>
<DIV><SPAN class=005395921-07112008><FONT face=Arial color=#0000ff
size=2> Without patch, DHCP often has DHCP address
assigned to IPoIB interface before WinOF installer has
finished.</FONT></SPAN></DIV>
<DIV><SPAN class=005395921-07112008> </SPAN></DIV>
<DIV><SPAN class=005395921-07112008></SPAN><SPAN
class=005395921-07112008></SPAN><FONT face=Arial><FONT color=#0000ff><FONT
size=2> <SPAN class=005395921-07112008> 2) During WinOF uninstall phase,
devman remove @IBA\IPOIB...... command hangs
indefinitely?</SPAN></FONT></FONT></FONT></DIV>
<DIV><FONT><FONT color=#0000ff><FONT size=2><SPAN
class=005395921-07112008></SPAN></FONT></FONT></FONT><SPAN
class=005395921-07112008></SPAN><FONT face=Arial><FONT color=#0000ff><FONT
size=2> <SPAN class=005395921-07112008> Additional
uninstall invocations of devman remove {IPOIB & HCA) all hang. I had to use
task manager to kill devman process in order to complete the
uninstall.</SPAN></FONT></FONT></FONT></DIV>
<DIV><FONT><FONT color=#0000ff><FONT size=2><SPAN
class=005395921-07112008></SPAN></FONT></FONT></FONT><SPAN
class=005395921-07112008></SPAN><FONT face=Arial><FONT color=#0000ff><FONT
size=2>I<SPAN class=005395921-07112008> removed the patch and rebuilt ipoib.sys,
none of the above problems were seen.</SPAN></FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN
class=005395921-07112008></SPAN></FONT></FONT></FONT> </DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN
class=005395921-07112008>stan.</SPAN></FONT></FONT></FONT></DIV>
<DIV><BR></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> ofw-bounces@lists.openfabrics.org
[mailto:ofw-bounces@lists.openfabrics.org] <B>On Behalf Of </B>Tzachi
Dar<BR><B>Sent:</B> Thursday, November 06, 2008 12:38 PM<BR><B>To:</B>
ofw@lists.openfabrics.org<BR><B>Subject:</B> [ofw] Patch: [ipoib] Limit the time
that is being spent in a DPC (don't handle more than 128 packet at one recv
call)<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV><FONT face=Arial size=2><SPAN class=034482620-06112008>Windows doesn't
allow one DPC to last more than 100us.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=034482620-06112008></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=034482620-06112008>It seems that on
windows 2008 this is being enforced.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=034482620-06112008></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=034482620-06112008>As a result I have
added a limit on the number of packets that will be used for each
DPC.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=034482620-06112008>After that we
stop.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=034482620-06112008></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=034482620-06112008>Hopefully, there
won't be a need to do more changes.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=034482620-06112008></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=034482620-06112008>Thanks</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=034482620-06112008>Tzachi</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Index:
Q:/projinf4/trunk/ulp/ipoib/kernel/ipoib_port.c<BR>===================================================================<BR>---
Q:/projinf4/trunk/ulp/ipoib/kernel/ipoib_port.c (revision 3437)<BR>+++
Q:/projinf4/trunk/ulp/ipoib/kernel/ipoib_port.c (revision 3438)<BR>@@
-1666,7 +1666,7 @@<BR> recv_cnt += __recv_mgr_filter( p_port,
p_wc, &done_list, &bad_list );<BR> cl_perf_stop(
&p_port->p_adapter->perf, FilterRecv );<BR> <BR>- } while(
!p_free );<BR>+ } while( !p_free && recv_cnt <
128);<BR> <BR> /* We're done looking at the endpoint map,
release the reference. */<BR> cl_atomic_dec(
&p_port->endpt_rdr );<BR></DIV></FONT></BODY></HTML>