[PATCH] dma\ae4dma: added AMD user space DMA driver
Morten Brørup
mb at smartsharesystems.com
Mon Mar 10 10:35:08 CET 2025
> --- a/lib/mempool/rte_mempool.h
> +++ b/lib/mempool/rte_mempool.h
> @@ -136,7 +136,7 @@ struct rte_mempool_objsz {
> /**
> * Alignment of elements inside mempool.
> */
> -#define RTE_MEMPOOL_ALIGN RTE_CACHE_LINE_SIZE
> +#define RTE_MEMPOOL_ALIGN 4096
NAK!
This would nearly double the memory footprint of ordinary mbuf pools (with object size 2048).
And the memory footprint of mempools containing small objects would explode.
> #endif
>
> #define RTE_MEMPOOL_ALIGN_MASK (RTE_MEMPOOL_ALIGN - 1)
More information about the dev
mailing list