[openib-general] [PATCH] opensm: libibmad: match MAD TransactionID

Sasha Khapyorsky sashak at voltaire.com
Tue Jun 27 10:07:20 PDT 2006


Hi Eitan,

On 09:48 Tue 27 Jun     , Eitan Behave wrote:
> Hi Sasha
> 
> Can you provide a little more info on the cause and impact of the
> issue you are solving with this patch?

umad_recv() uses poll(), when it is timeouted umad_recv() returns error
and _do_madrpc() returns with error too. The next _do_madrpc() session
will got the previous response MAD. And so on.

> 
> How is it related to work on the thread:
> "mad: add GID/class checking for matching received to sent MADs"?

It is not related.

Sasha

> 
> Thanks
> 
> Sasha Khapyorsky wrote:
> >Match MAD TransactionID on receiving. This prevents request/response MADs
> >mixing - reproducible when poll() (in libibumad) returns timeout.
> >




More information about the general mailing list