Re: [dpdk-dev] [PATCH v2 2/7] ether: do not mark ethernet address and header as packed

2019-05-16 Thread Stephen Hemminger
On Thu, 16 May 2019 21:40:05 +0100 Bruce Richardson wrote: > On Thu, May 16, 2019 at 11:04:22AM -0700, Stephen Hemminger wrote: > > Since the Ethernet address and header are naturally aligned > > correctly on all architectures, there is no need to mark them > > as packed. This results in faster c

Re: [dpdk-dev] [PATCH v2 2/7] ether: do not mark ethernet address and header as packed

2019-05-16 Thread Bruce Richardson
On Thu, May 16, 2019 at 11:04:22AM -0700, Stephen Hemminger wrote: > Since the Ethernet address and header are naturally aligned > correctly on all architectures, there is no need to mark them > as packed. This results in faster code, and also gets rid of > warnings with gcc-9 about getting address

[dpdk-dev] [PATCH v2 2/7] ether: do not mark ethernet address and header as packed

2019-05-16 Thread Stephen Hemminger
Since the Ethernet address and header are naturally aligned correctly on all architectures, there is no need to mark them as packed. This results in faster code, and also gets rid of warnings with gcc-9 about getting address of packed structure. Suggested-by: Bruce Richardson Signed-off-by: Steph