DPDK-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Morten Brørup" <mb@smartsharesystems.com>
To: "Kai Ji" <kai.ji@intel.com>, <dev@dpdk.org>
Cc: "Bruce Richardson" <bruce.richardson@intel.com>,
	"Andrew Rybchenko" <andrew.rybchenko@oktetlabs.ru>
Subject: RE: [dpdk-dev v1] mempool: double cache max size using ABI-neutral struct compaction
Date: Fri, 21 Aug 2026 08:25:18 +0200	[thread overview]
Message-ID: <98CBD80474FA8B44BF855DF32C47DC35F65A07@smartserver.smartshare.dk> (raw)
In-Reply-To: <20260820154527.1989178-1-kai.ji@intel.com>

> 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/20260806154506.1532375-1-mb@smartsharesystems.com/


  reply	other threads:[~2026-08-21  6:25 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-20 15:45 [dpdk-dev v1] mempool: double cache max size using ABI-neutral struct compaction Kai Ji
2026-08-21  6:25 ` Morten Brørup [this message]
2026-08-21  6:31 ` Morten Brørup

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=98CBD80474FA8B44BF855DF32C47DC35F65A07@smartserver.smartshare.dk \
    --to=mb@smartsharesystems.com \
    --cc=andrew.rybchenko@oktetlabs.ru \
    --cc=bruce.richardson@intel.com \
    --cc=dev@dpdk.org \
    --cc=kai.ji@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox