kni: fix build on IBM Power
authorChao Zhu <chaozhu@linux.vnet.ibm.com>
Thu, 4 Dec 2014 10:14:08 +0000 (18:14 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 4 Dec 2014 11:59:03 +0000 (12:59 +0100)
commit8436acd6ba8c37c560171923dca2407c56438c7a
tree2fa1c3cc604d6bbc2a4922f9dc511181e32b176a
parenta0547e0a751100e6d1a783e69f5bfad85890845f
kni: fix build on IBM Power

Because of different cache line size, the alignment of struct
rte_kni_mbuf in rte_kni_common.h doesn't work on IBM Power. This patch
changed from 64 to RTE_CACHE_LINE_SIZE micro to do the alignment.

Signed-off-by: Chao Zhu <chaozhu@linux.vnet.ibm.com>
Acked-by: Thomas Monjalon <thomas.monjalon@6wind.com>
lib/librte_eal/linuxapp/eal/include/exec-env/rte_kni_common.h