Thread (16 messages) 16 messages, 4 authors, 2016-03-10

Re: [PATCH net-next 3/3] macsec: introduce IEEE 802.1AE driver

From: David Miller <davem@davemloft.net>
Date: 2016-03-09 17:09:42

From: Johannes Berg <johannes@sipsolutions.net>
Date: Wed, 09 Mar 2016 12:24:20 +0100
Yeah, there's probably no way a compiler could ever do something with
it that's not the same as packed, but it seems to me that just out of
convention structs that have some wire-format meaning should usually be
__packed.
Not unless absolutely necessary.

There is a serious performance penalty for using __packed on some
architectures.  __packed has several undesirable side-effects, one
of which is that it causes the compiler to be unable to assume the
alignment of anything.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help