RE: [dpdk-dev v1] mempool: double cache max size using ABI-neutral struct compaction

Morten Brørup <[email protected]>
Newsgroups org.dpdk.dev
Message-ID <[email protected]>
> index 50d958c7c6..61dfe386c0 100644
> --- a/lib/mempool/rte_mempool.h
> +++ b/lib/mempool/rte_mempool.h
> @@ -106,13 +106,8 @@ struct __rte_cache_aligned rte_mempool_cache {
>  #endif
>  	/**
>  	 * Cache objects
> -	 *
> -	 * Note:
> -	 * Cache is allocated at double size for API/ABI compatibility
> purposes only.
> -	 * When reducing its size at an API/ABI breaking release,
> -	 * remember to add a cache guard after it.
>  	 */
> -	alignas(RTE_CACHE_LINE_SIZE) void
> *objs[RTE_MEMPOOL_CACHE_MAX_SIZE * 2];
> +	alignas(RTE_CACHE_LINE_SIZE) void
> *objs[RTE_MEMPOOL_CACHE_MAX_SIZE];

This change has already been addressed.
Please review this patch:
https://patchwork.dpdk.org/project/dpdk/patch/[email protected]/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.