Home
last modified time | relevance | path

Searched refs:RTE_MEMPOOL_ALIGN (Results 1 – 3 of 3) sorted by relevance

/f-stack/dpdk/lib/librte_mempool/
H A Drte_mempool.c100 new_obj_size = (obj_size + RTE_MEMPOOL_ALIGN_MASK) / RTE_MEMPOOL_ALIGN; in arch_mem_object_align()
103 return new_obj_size * RTE_MEMPOOL_ALIGN; in arch_mem_object_align()
221 RTE_MEMPOOL_ALIGN); in rte_mempool_calc_obj_size()
236 sz->trailer_size += ((RTE_MEMPOOL_ALIGN - in rte_mempool_calc_obj_size()
342 off = RTE_PTR_ALIGN_CEIL(vaddr, RTE_MEMPOOL_ALIGN) - vaddr; in rte_mempool_populate_iova()
853 mempool_size = RTE_ALIGN_CEIL(mempool_size, RTE_MEMPOOL_ALIGN); in rte_mempool_create_empty()
H A Drte_mempool.h120 #ifndef RTE_MEMPOOL_ALIGN
124 #define RTE_MEMPOOL_ALIGN RTE_CACHE_LINE_SIZE macro
127 #define RTE_MEMPOOL_ALIGN_MASK (RTE_MEMPOOL_ALIGN - 1)
H A Drte_mempool_ops_default.c63 *align = RTE_MEMPOOL_ALIGN; in rte_mempool_op_calc_mem_size_helper()