[openib-general] [PATCH] ib_mad: Add MAD pointer to send WR udstructure
Hal Rosenstock
Wed Oct 6 09:47:34 PDT 2004
On Wed, 2004-10-06 at 12:01, Sean Hefty wrote:
> >Index: include/ib_verbs.h
> >===================================================================
> >--- include/ib_verbs.h (revision 935)
> >+++ include/ib_verbs.h (working copy)
> >@@ -539,6 +539,7 @@
> > } atomic;
> > struct {
> > struct ib_ah *ah;
> >+ struct ib_mad *mad;
>
> 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.
-- Hal
More information about the openib-general mailing list