[openib-general] ib_cancel_mad and the CM
Libor Michalek
libor at topspin.com
Wed Feb 23 14:36:22 PST 2005
On Wed, Feb 23, 2005 at 02:28:54PM -0800, Sean Hefty wrote:
> There are never duplicated values for wr_ids outstanding at the same
> time, which is what the above quote was referring to. To me, the
> problem seems more related to the inability to synchronize canceling a
> MAD with processing its completion. Without that ability, it seems
> that the user needs to have some sort of increasing wr_id value.
>
> I did look at what the sa_query did for canceling queries, but I
> _think_ it may have a similar issue. It's just harding to hit because
> it checks both a pointer and an index. But if a problem does exist,
> then a user could cancel a query issued by another user.
Are you saying that the layer which assigns the wr_id is not the
same layer that actually executes the cancel? That would seem like
a recipe for problems.
-Libor
More information about the general
mailing list