[openib-general] agent_mad_send
Sean Hefty
Wed Oct 27 09:42:14 PDT 2004
On Tue, 26 Oct 2004 21:17:34 -0700
Roland Dreier <roland at topspin.com> wrote:
> Sean> In agent_mad_send, a call is made to create an address
> Sean> handle. Immediately after calling ib_post_send_mad, the
> Sean> address handle is destroyed. I think that we want to wait
> Sean> until the send is completed before destroying the address
> Sean> handle, and require this of all callers of ib_post_send_mad.
>
> Yes, that's correct. Because of a quirk in the way Mellanox HCA's
> implement special QPs, it's actually OK to destroy the AH immediately
> after posting the send, but for an ordinary QP this will lead to some
> bizarre problems.
I'm concerned about handling QP overrun cases, where the call to ib_post_send_mad doesn't immediately post to the QP.
- Sean
More information about the openib-general mailing list