[openib-general] MAD agent code comments

Hal Rosenstock halr at voltaire.com
Wed Nov 10 12:57:26 PST 2004


Hi Sean,

On Tue, 2004-11-09 at 12:00, Sean Hefty wrote:
> Hal Rosenstock wrote:
> > Since the agent does not use solicited sends, are its sends completed in
> > order (so this is only an issue for clients using solicited sends) ? 
> 
> I would think that solicited sends (i.e. responses) would be easier to 
> maintain order, since those wouldn't have a timeout.  

We are using solicited slightly differently. I am using it for sending a
request which has a timeout and is expected to elicit a response.

> But my preference 
> would be to not defined the API this way.  It makes queuing for QP 
> overrun and error handling difficult.
> 
> For example, a client posts 2 sends, both of which get queued.  If the 
> first send gets posted, but the second send fails when posting to the 
> QP, then we'd need to delay reporting the second send's completion. 
> This also makes it more difficult to go to multi-threaded completion 
> handling, if that were shown to be beneficial.

I posted a patch for this which you have seen.

-- Hal




More information about the general mailing list