[openib-general] agent_mad_send

Roland Dreier
Tue Oct 26 21:17:34 PDT 2004


    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.

 - R.


More information about the openib-general mailing list