[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <AE90C24D6B3A694183C094C60CF0A2F6026B731F@saturn3.aculab.com>
Date: Fri, 6 Sep 2013 11:18:21 +0100
From: "David Laight" <David.Laight@...LAB.COM>
To: "Jesse Gross" <jesse@...ira.com>,
"David Miller" <davem@...emloft.net>
Cc: <netdev@...r.kernel.org>, <dev@...nvswitch.org>,
"Andy Zhou" <azhou@...ira.com>,
"Fengguang Wu" <fengguan.wu@...el.com>,
"Geert Uytterhoeven" <geert@...ux-m68k.org>
Subject: RE: [PATCH] openvswitch: Fix alignment of struct sw_flow_key.
> -} __aligned(__alignof__(long));
> +} __aligned(8); /* 8 byte alignment ensures this can be accessed as a long */
Don't you really want __aligned(MAX(__alignof__(__be64), sizeof (long))) ?
David
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists