[openib-general] [RFC] MAD API changes to fix DMA mapping issues

Roland Dreier rolandd at cisco.com
Tue Oct 18 15:06:22 PDT 2005


    Sean> The implementation merges struct ib_mad_send_buf with struct
    Sean> ib_mad_send_wr_private, which was already used internally to
    Sean> track sends.

Got it -- I didn't realize that the ib_mad_send_buf structure was
contained in a bigger private structure that has all that extra stuff.

I'm still a little confused as to where the data buffer actually is.
Is it pointed to by the struct ib_mad *mad member?  If so, it seems a
little odd to make the pointer have type struct ib_mad *, since struct
ib_mad is exactly 256 bytes long.

Also, how will it work to post a send for a very large RMPP message?
The next member seems to be used to chain separate transactions
together -- I don't see a way to have multiple buffers that all
contain data for the same message.

 - R.



More information about the general mailing list