[openib-general] [PATCH] Add send queuing to MAD agent

Sean Hefty mshefty at ichips.intel.com
Mon Sep 27 15:10:34 PDT 2004


On Mon, 27 Sep 2004 12:56:13 -0700
Sean Hefty <mshefty at ichips.intel.com> wrote:

>  struct ib_mad_send_wr_private {
>  	struct list_head send_list;
> +	struct list_head agent_send_list;
>  	struct ib_mad_agent *agent;
>  	u64 wr_id;			/* client WRID */
>  	int timeout_ms;
> +	int is_active;

Looking ahead at RMPP, I think it makes more sense to change int is_active to atomic_t refcount.  Then each work request posted for a large transfer would increment refcount, so we can trach how many work requests are oustanding for a given send.

- Sean



More information about the general mailing list