RE: [PATCH 3/3] eal: deduplicate roundup code

2022-08-22 Thread Morten Brørup
> From: Dmitry Kozlyuk [mailto:dmitry.kozl...@gmail.com] > Sent: Sunday, 21 August 2022 22.50 > > RTE_CACHE_LINE_ROUNDUP() implementation repeated RTE_ALIGN_MUL_CEIL(). > In other places RTE_CACHE_LINE_SIZE is assumed to be a power-of-2, > so define RTE_CACHE_LINE_ROUNDUP() using RTE_ALIGN_CEIL().

[PATCH 3/3] eal: deduplicate roundup code

2022-08-21 Thread Dmitry Kozlyuk
RTE_CACHE_LINE_ROUNDUP() implementation repeated RTE_ALIGN_MUL_CEIL(). In other places RTE_CACHE_LINE_SIZE is assumed to be a power-of-2, so define RTE_CACHE_LINE_ROUNDUP() using RTE_ALIGN_CEIL(). Signed-off-by: Dmitry Kozlyuk --- lib/eal/include/rte_common.h | 4 +--- 1 file changed, 1 insertio