<!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><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 color=#0000ff size=2><SPAN
class=915514312-09092008><FONT face=Arial color=#0000ff
size=2>Stan</FONT></SPAN>, you can create the new build.</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>