[openib-general] [PATCH 2/2] ib_cm: fix REJ due to invalid GID

Michael S. Tsirkin mst at mellanox.co.il
Wed Jul 19 00:44:58 PDT 2006


Quoting r. Roland Dreier <rdreier at cisco.com>:
> Subject: Re: [PATCH 2/2] ib_cm: fix REJ due to invalid GID
> 
>     Michael> By the way, AFAIK by design cache might be out of sync
>     Michael> with actual hardware.  Roland, could you confirm this
>     Michael> pls?
> 
> Yes, that's true.  But even without cache, since the update of GID and
> P_Key tables is asynchronous, there's nothing that prevents the result
> of a query of GID or P_Key from being wrong before the query function
> returns to the caller.  So the cache is not really the problem.

Hmm. This implies that the requesting side must handle this: CMA must retry a
connection if it gets invalid GID reject.

-- 
MST




More information about the general mailing list