[openib-general] [PATCH] agent: Handle out of order send completions
Sean Hefty
mshefty at ichips.intel.com
Wed Nov 10 11:07:00 PST 2004
Hal Rosenstock wrote:
> - send_wr.wr_id = ++port_priv->wr_id;
> + send_wr.wr_id = (unsigned long)&agent_send_wr->send_list;
{snip}
> + send_wr = (struct list_head *)(unsigned long)mad_send_wc->wr_id;
> + agent_send_wr = container_of(send_wr, struct ib_agent_send_wr,
> send_list);
I think it may be clearer to set the wr_id to agent_send_wr, rather than
a subfield.
Thanks for doing this btw; I can take it off my to do list. :)
- Sean
More information about the general
mailing list