]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_mempool/rte_mempool.h
add prefix to cache line macros
[dpdk.git] / lib / librte_mempool / rte_mempool.h
index 7b641b0d1fe63976aacc2aa6f95421fea587a3a0..331465184bbdb23083cab398e3d25dda609c5553 100644 (file)
@@ -216,7 +216,7 @@ struct rte_mempool {
  */
 #define        MEMPOOL_HEADER_SIZE(mp, pgn)    (sizeof(*(mp)) + \
        RTE_ALIGN_CEIL(((pgn) - RTE_DIM((mp)->elt_pa)) * \
-       sizeof ((mp)->elt_pa[0]), CACHE_LINE_SIZE))
+       sizeof ((mp)->elt_pa[0]), RTE_CACHE_LINE_SIZE))
 
 /**
  * Returns TRUE if whole mempool is allocated in one contiguous block of memory.