eal: add packing and alignment macros
authorDeclan Doherty <declan.doherty@intel.com>
Wed, 25 Nov 2015 13:25:10 +0000 (13:25 +0000)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 25 Nov 2015 18:18:04 +0000 (19:18 +0100)
commita2cd6480c223c693f5fe9d1c7ce86643111e2224
tree398baa1f502ec89a82656814cf5014e545933f97
parent33cf6be04d603e99056cbc88ddf46dc58d836e02
eal: add packing and alignment macros

Adding a new macro for specifying __aligned__ attribute, and updating the
current __rte_cache_aligned macro to use it.

Also adding a new macro to specify the __packed__ attribute

Signed-off-by: Declan Doherty <declan.doherty@intel.com>
Acked-by: Sergio Gonzalez Monroy <sergio.gonzalez.monroy@intel.com>
lib/librte_eal/common/include/rte_common.h
lib/librte_eal/common/include/rte_memory.h