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

Hal Rosenstock
Wed Oct 6 10:16:17 PDT 2004


On Wed, 2004-10-06 at 12:47, Sean Hefty wrote:
> >> 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.  

Thought you might have started on RMPP :-)

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

I'll generate another patch for this.

-- Hal



More information about the openib-general mailing list