[openib-general] [PATCH] ib_cancel_mad API

Hal Rosenstock halr at voltaire.com
Wed Sep 29 11:45:28 PDT 2004


On Wed, 2004-09-29 at 14:21, Roland Dreier wrote:
> +int ib_cancel_mad(struct ib_mad_agent *mad_agent,
> +		  u64 wr_id)
> 
> 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 ?

Also, would a cancel all MADs be useful ?

-- Hal




More information about the general mailing list