[openib-general] [PATCH] ib_mad: Add MAD pointer to send WRudstructure

Sean Hefty sean.hefty at intel.com
Wed Oct 6 09:47:48 PDT 2004


>> I _think_ that the user only needs to reference something like the
>> following:
>>
>> union ib_mad_hdrs {
>> 	struct ib_mad_hdr	mad_hdr;
>> 	struct {
>> 		struct ib_mad_hdr	mad_hdr;
>> 		struct ib_rmpp_hdr rmpp_hdr;
>> 	} hdr;
>> };
>>
>> I don't think that we need a pointer to the MAD data.
>
>OK. But your diffs are ahead of the tree right now so I can't change it
>to union ib_mad_hdrs yet.

I don't actually have this in my tree.  Just thinking whether the user needs
to provide a pointer to just the headers, or to the entire MAD.  The API
should be clear what the expectations are on the client.




More information about the general mailing list