[openib-general] [PATCH] ib_cancel_mad API

Sean Hefty mshefty at ichips.intel.com
Wed Sep 29 11:52:43 PDT 2004


On Wed, 29 Sep 2004 14:45:28 -0400
Hal Rosenstock <halr at voltaire.com> wrote:

> > Is wr_id enough to identify a sent MAD?  I guess this imposes the
> > requirement that consumers must not use duplicate wr_ids.
> 
> Isn't the requirement no duplicate wr_ids per mad agent ? Are there
> other fields you would propose ?

To cancel requests, I think that TID is sufficient.  To allow canceling response MADs (e.g. large RMPP), you need something like: TID, SGID or SLID, and class.  wr_id seemed simpler.
 
> Also, would a cancel all MADs be useful ?

Outside of deregistration, I doubt it.  But we could add this call, and let deregistration call it, or force users to call it before deregistering.



More information about the general mailing list