[dpdk-dev] [PATCH 01/10] eal: add and use unaligned integer types

2015-06-19 Thread Olivier MATZ
Hello Cyril, First, sorry commenting that late. My first intent was to benchmark with your modifications, but I did not find the time for it. So, please find some comments on your series below so it can be pushed for 2.1. On 04/29/2015 06:15 PM, Cyril Chemparathy wrote: > On machines that are st

[dpdk-dev] [PATCH 01/10] eal: add and use unaligned integer types

2015-06-19 Thread Cyril Chemparathy
On Fri, 19 Jun 2015 17:58:57 +0200 Olivier MATZ wrote: > Hello Cyril, > > First, sorry commenting that late. My first intent was to benchmark > with your modifications, but I did not find the time for it. > > So, please find some comments on your series below so it can be pushed > for 2.1. > >

[dpdk-dev] [PATCH 01/10] eal: add and use unaligned integer types

2015-04-29 Thread Cyril Chemparathy
On machines that are strict on pointer alignment, current code breaks on GCC's -Wcast-align checks on casts from narrower to wider types. This patch introduces new unaligned_uint(16|32|64)_t types, which correctly retain alignment in such cases. This is currently unimplemented on ICC and clang, a