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

From: Sam Ravnborg
Date: Tue Nov 23 2004 - 15:02:51 EST


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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/