<!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.16674" name=GENERATOR></HEAD>
<BODY>
<DIV>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Tzachi Dar [mailto:tzachid@mellanox.co.il]
<BR><B>Sent:</B> Tuesday, September 09, 2008 5:47 AM<BR><B>To:</B> Reuven
Amitai; Leonid Keller; Smith, Stan<BR><B>Cc:</B>
ofw@lists.openfabrics.org<BR><B>Subject:</B> RE: Fix for mthca bug on mad
layer<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV><SPAN class=915514312-09092008><FONT face=Arial color=#0000ff
size=2>Applied to both trunk and branch on 1574/5.</FONT></SPAN></DIV>
<DIV><SPAN class=915514312-09092008><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=915514312-09092008><FONT face=Arial><FONT color=#0000ff><FONT
size=2><SPAN class=915514312-09092008>Stan</SPAN>, you can create the new
build.<SPAN
class=669495415-09092008> </SPAN></FONT></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=915514312-09092008><FONT face=Arial><FONT color=#0000ff><FONT
size=2><SPAN
class=669495415-09092008></SPAN></FONT></FONT></FONT></SPAN> </DIV>
<DIV><SPAN class=915514312-09092008><FONT face=Arial><FONT><FONT size=2><SPAN
class=669495415-09092008>OK, will do
so.</SPAN></FONT></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=915514312-09092008><FONT face=Arial><FONT><FONT size=2><SPAN
class=669495415-09092008></SPAN></FONT></FONT></FONT></SPAN> </DIV>
<DIV><SPAN class=915514312-09092008><FONT face=Arial><FONT><FONT size=2><SPAN
class=669495415-09092008>At this point in time, should the trunk and
branches\WOF2-0 match?</SPAN></FONT></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=915514312-09092008><FONT face=Arial><FONT><FONT size=2><SPAN
class=669495415-09092008>If not, I would think the trunk version would be the
correct version - yes?</SPAN></FONT></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=915514312-09092008><FONT face=Arial><FONT><FONT size=2><SPAN
class=669495415-09092008></SPAN></FONT></FONT></FONT></SPAN> </DIV>
<DIV><SPAN class=915514312-09092008><FONT face=Arial><FONT><FONT size=2><SPAN
class=669495415-09092008>thanks. </SPAN></FONT></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=915514312-09092008><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=915514312-09092008><FONT face=Arial color=#0000ff
size=2>Thanks</FONT></SPAN></DIV>
<DIV><SPAN class=915514312-09092008><FONT face=Arial color=#0000ff
size=2>Tzachi</FONT></SPAN></DIV><BR>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Reuven Amitai <BR><B>Sent:</B> Monday,
September 08, 2008 7:26 PM<BR><B>To:</B> Leonid Keller; Tzachi
Dar<BR><B>Cc:</B> ofw@lists.openfabrics.org<BR><B>Subject:</B>
<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=938400516-08092008>Hi,</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=938400516-08092008></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=938400516-08092008>The
patch disable av port checking (part of check-in
1538).</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=938400516-08092008>The
problem of checking av port happen with mthca card (ConnectX cards are
OK).</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=938400516-08092008>OpenSM (runs on one machine) sends MAD request
to another at the beginning.</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=938400516-08092008>During request processing an av is created with
mad svc port num. This field is taken from
qp_attr.primary_port</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=938400516-08092008></SPAN></FONT><FONT face=Arial color=#0000ff
size=2><SPAN class=938400516-08092008>after query on the qp, but mthca set
primary_port attr to be zero (among other fields in
qp_attr).</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=938400516-08092008>That
will cause the av creation to fail and in consequence opensm fails
to recognize the remote machine.</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><EM>Thanks,
Reuven.</EM></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><SPAN class=938400516-08092008><FONT face=Arial color=#0000ff
size=2>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>.</FONT></SPAN></DIV>
<DIV><SPAN class=938400516-08092008><FONT face=Arial color=#0000ff
size=2>Index:
core/al/al_av.c<BR>===================================================================<BR>---
core/al/al_av.c (revision 1545)<BR>+++ core/al/al_av.c (working
copy)<BR>@@ -153,12 +153,17 @@<BR> return
IB_INVALID_PD_HANDLE;<BR> }<BR> <BR>+ /*<BR>+ This
check is disabled due to mthca problem. When registering mad svc, port num is
zero<BR>+ because ibv_query_qp retrun '0' as primary
port.<BR>+ <BR> status = __check_av_port(h_pd->obj.p_ci_ca,
p_av_attr);<BR> if( status != IB_SUCCESS
)<BR> {<BR> AL_PRINT_EXIT( TRACE_LEVEL_ERROR,
AL_DBG_ERROR, ("IB_INVALID_PORT\n") );<BR> return
status;<BR> }<BR>+ */<BR> <BR> /* Get an
AV tracking structure. */<BR> h_av =
alloc_av();<BR></FONT></SPAN></DIV></BLOCKQUOTE></BODY></HTML>