<!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.2900.3314" name=GENERATOR></HEAD>
<BODY>
<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></BODY></HTML>