[ofa-general] umad agent question?

rpearson at systemfabricworks.com rpearson at systemfabricworks.com
Tue Oct 30 12:22:39 PDT 2007


Tid mystery is solved. Our emails crossed. Qkey is received as zero. I sent the default qp1 value. The agent registered for get+set+send but only received sends.

Bob
Sent via BlackBerry by AT&T

-----Original Message-----
From: Hal Rosenstock <hrosenstock at xsigo.com>

Date: Tue, 30 Oct 2007 12:00:57 
To:Robert Pearson <rpearson at systemfabricworks.com>
Cc:'Sean Hefty' <mshefty at ichips.intel.com>, 'Hal Rosenstock' <hnrose at earthlink.net>, general at lists.openfabrics.org
Subject: RE: [ofa-general] umad agent question?


Bob,

On Tue, 2007-10-30 at 13:06 -0500, Robert Pearson wrote:
> Sean,
> 
> When I set vendor class to 15 instead of 9 everything works much better. I
> suspect this means someone else is registered for 9. In that case the
> register agent call should probably have not succeeded.

It depends on whether the methods are already in use or not. If not,
they can coexist.

> The TID still gets clobbered and the QKEY ignored somewhere.

Not sure what you mean by clobbered. Does the TID not follow the rule I
just sent you ?

How is QKey being set/used ?

-- Hal

> Bob
> 
> -----Original Message-----
> From: Sean Hefty [mailto:mshefty at ichips.intel.com] 
> Sent: Tuesday, October 30, 2007 11:09 AM
> To: Robert Pearson
> Cc: general at lists.openfabrics.org; Sasha Khapyorsky; 'Hal Rosenstock'
> Subject: Re: [ofa-general] umad agent question?
> 
> > I am trying to create a vendor (group1) class management agent using 
> > libibumad. I am successful in registering the agent with method mask set 
> > to 0xe = get/put/send. When I use a send message from another system the 
> > message is received but apparently not when I use get or set. I say 
> > apparently because the system issuing the get or set receives a response 
> > but the user agent never returns from umad_recv. Is there by any chance 
> > some sample code somewhere in the OFA tree that exercises this 
> > functionality that I could look at? Also, I am curious why the method 
> > mask does not cover the response bit. How does this work. If you are 
> > registered for get do you automatically get get_response packets?
> 
> The method mask is only used for routing received unsolicited MADs. 
> I.e. those that are not response MADs.  Any app can send a MAD and get 
> its response.  Only one app is allowed to receive a non-response MAD.
> 
> As for the problem that you mention, I don't understand the behavior 
> that you're seeing.
> 
> - Sean
> _______________________________________________
> general mailing list
> general at lists.openfabrics.org
> http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general
> 
> To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general


More information about the general mailing list