From: Thomas Monjalon <thomas@monjalon.net>
To: Robert Sanford <rsanford@akamai.com>,
Robert Sanford <rsanford2@gmail.com>
Cc: dev@dpdk.org, andrew.rybchenko@oktetlabs.ru,
mb@smartsharesystems.com, olivier.matz@6wind.com,
stable@dpdk.org, David Marchand <david.marchand@redhat.com>
Subject: Re: [PATCH v4 2/3] mempool: fix dump of unpopulated pool
Date: Thu, 19 Nov 2026 15:08:13 +0100 [thread overview]
Message-ID: <eexnNMGcSbWMwzjgikVLXw@monjalon.net> (raw)
In-Reply-To: <20261112154342.1484709-3-rsanford2@gmail.com>
12/11/2026 16:43, Robert Sanford:
> +* **Added function to check if a mempool is created.**
> +
> + Added the ``rte_mempool_is_created()`` function
> + to check whether the store of a mempool has been created.
> + ``rte_mempool_walk()`` callbacks can use it to skip mempools
> + that are not populated yet before querying the mempool driver.
If usage is internal, why exposing this function publicly?
[...]
> +bool rte_mempool_is_created(const struct rte_mempool *mp);
Any new API must enter in an experimental first.
But here we may not need to expose it as an API?
next prev parent reply other threads:[~2026-11-19 14:08 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-03 1:11 [PATCH v1 0/3] mempool: fix races between list walk and create/free Robert Sanford
2026-11-03 1:11 ` [PATCH v1 1/3] mempool: fix race between list walk and free Robert Sanford
2026-11-03 13:54 ` Morten Brørup
2026-11-03 1:11 ` [PATCH v1 2/3] mempool: skip unpopulated pools in walk and dump Robert Sanford
2026-11-03 14:12 ` Morten Brørup
2026-11-03 1:11 ` [PATCH v1 3/3] test/mempool: add list walk race test Robert Sanford
2026-11-03 14:15 ` Morten Brørup
2026-11-03 17:35 ` [PATCH v2 0/3] mempool: fix races between list walk and create/free Robert Sanford
2026-11-03 17:35 ` [PATCH v2 1/3] mempool: fix race between list walk and free Robert Sanford
2026-11-03 17:35 ` [PATCH v2 2/3] mempool: fix dump of unpopulated pool Robert Sanford
2026-11-06 8:43 ` Morten Brørup
2026-11-06 18:43 ` Robert Sanford
2026-11-06 19:24 ` Morten Brørup
2026-11-03 17:35 ` [PATCH v2 3/3] test/mempool: add list walk race test Robert Sanford
2026-11-09 14:40 ` [PATCH v3 0/3] mempool: fix races between list walk and create/free Robert Sanford
2026-11-09 14:40 ` [PATCH v3 1/3] mempool: fix race between list walk and free Robert Sanford
2026-11-09 14:40 ` [PATCH v3 2/3] mempool: fix dump of unpopulated pool Robert Sanford
2026-11-09 14:40 ` [PATCH v3 3/3] test/mempool: add list walk race test Robert Sanford
2026-11-11 13:00 ` Morten Brørup
2026-11-12 15:43 ` [PATCH v4 0/3] mempool: fix races between list walk and create/free Robert Sanford
2026-11-12 15:43 ` [PATCH v4 1/3] mempool: fix race between list walk and free Robert Sanford
2026-11-12 15:43 ` [PATCH v4 2/3] mempool: fix dump of unpopulated pool Robert Sanford
2026-11-19 14:08 ` Thomas Monjalon [this message]
2026-11-19 14:18 ` Morten Brørup
2026-11-19 14:47 ` Thomas Monjalon
2026-11-19 19:27 ` Morten Brørup
2026-11-19 14:20 ` Morten Brørup
2026-11-12 15:43 ` [PATCH v4 3/3] test/mempool: add list walk race test Robert Sanford
2026-11-30 20:51 ` [PATCH v5 0/3] mempool: fix races between list walk and create/free Robert Sanford
2026-11-30 20:51 ` [PATCH v5 1/3] mempool: fix race between list walk and free Robert Sanford
2026-11-30 20:51 ` [PATCH v5 2/3] mempool: fix dump of unpopulated pool Robert Sanford
2026-12-01 0:06 ` Stephen Hemminger
2026-11-30 20:51 ` [PATCH v5 3/3] test/mempool: add list walk race test Robert Sanford
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=eexnNMGcSbWMwzjgikVLXw@monjalon.net \
--to=thomas@monjalon.net \
--cc=andrew.rybchenko@oktetlabs.ru \
--cc=david.marchand@redhat.com \
--cc=dev@dpdk.org \
--cc=mb@smartsharesystems.com \
--cc=olivier.matz@6wind.com \
--cc=rsanford2@gmail.com \
--cc=rsanford@akamai.com \
--cc=stable@dpdk.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.