[openib-general] mthca and DDR not hidden

Sean Hefty sean.hefty at intel.com
Thu Sep 30 13:25:51 PDT 2004


>    Hal> Yup. He's already got a way to get the PD. Rather than the
>    Hal> MR, I think just adding the lkey to the mad_agent structure
>    Hal> will suffice. Do you agree ?
>
>I guess so... it seems a little odd to make the consumer copy the
>L_Key from one place to another without knowing anything about the MR.
>I guess overloading the ib_send_wr struct the way we are forces these
>layering violations though.

The intent of using the ib_send_wr structure is to allow posting MADs
directly onto the QP, without the access layer needing to translate from one
work request type structure to another.  If there's not a reasonably clean
way to reuse the work request structure, we can create a new ib_send_mad_wr
structure, push address handle creation into the MAD layer, or do something
else.

I need to reread through this mail thread, because I do not understand what
the issue is yet.  What is a client of the MAD API missing in order to post
to the QP?




More information about the general mailing list