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

Sean Hefty sean.hefty at intel.com
Wed Oct 6 09:01:45 PDT 2004


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

- Sean




More information about the general mailing list