[openib-general] Re: [PATCH][RFC/v2][4/21] Add InfiniBand MAD (management datagram) support (public headers)

Sam Ravnborg sam at ravnborg.org
Tue Nov 23 11:56:54 PST 2004


On Tue, Nov 23, 2004 at 08:14:31AM -0800, Roland Dreier wrote:
> +
> +struct ib_grh {
> +	u32		version_tclass_flow;
> +	u16		paylen;
> +	u8		next_hdr;
> +	u8		hop_limit;
> +	union ib_gid	sgid;
> +	union ib_gid	dgid;
> +} __attribute__ ((packed));

It was told on lkml why these structs was packed.
Same info here as comment so it is known next time.

And I see comments to API here - good.

	Sam



More information about the general mailing list