________________________________
From: Tzachi Dar [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 09, 2008 5:47 AM
To: Reuven Amitai; Leonid Keller; Smith, Stan
Cc: [email protected]
Subject: RE: Fix for mthca bug on mad layer

Applied to both trunk and branch on 1574/5.

Stan, you can create the new build.

OK, will do so.

At this point in time, should the trunk and branches\WOF2-0 match?
If not, I would think the trunk version would be the correct version - yes?

thanks.

Thanks
Tzachi

________________________________
From: Reuven Amitai
Sent: Monday, September 08, 2008 7:26 PM
To: Leonid Keller; Tzachi Dar
Cc: [email protected]
Subject:

Hi,

The patch disable av port checking (part of check-in 1538).
The problem of checking av port happen with mthca card (ConnectX cards are OK).
OpenSM (runs on one machine) sends MAD request to another at the beginning.
During request processing an av is created with mad svc port num. This field is 
taken from qp_attr.primary_port
after query on the qp, but mthca set primary_port attr to be zero (among other 
fields in qp_attr).
That will cause the av creation to fail and in consequence opensm fails to 
recognize the remote machine.

Thanks, Reuven.

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>.
Index: core/al/al_av.c
===================================================================
--- core/al/al_av.c (revision 1545)
+++ core/al/al_av.c (working copy)
@@ -153,12 +153,17 @@
   return IB_INVALID_PD_HANDLE;
  }

+ /*
+ This check is disabled due to mthca problem. When registering mad svc, port 
num is zero
+ because ibv_query_qp retrun '0' as primary port.
+
  status = __check_av_port(h_pd->obj.p_ci_ca, p_av_attr);
  if( status != IB_SUCCESS )
  {
   AL_PRINT_EXIT( TRACE_LEVEL_ERROR, AL_DBG_ERROR, ("IB_INVALID_PORT\n") );
   return status;
  }
+ */

  /* Get an AV tracking structure. */
  h_av = alloc_av();
_______________________________________________
ofw mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ofw

Reply via email to