> 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 at linux.vnet.ibm.com>
Acked-by: Thomas Monjalon <thomas.monjalon at 6wind.com> Applied I wonder if we could try to guess the cache line size instead of configuring it in many places. Maybe we could use something like sysconf(_SC_LEVEL1_DCACHE_LINESIZE)? Thanks -- Thomas