>> 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.

_______________________________________________
openib-general mailing list
[EMAIL PROTECTED]
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to