From: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
To: Olivier Matz <olivier.matz@6wind.com>
Cc: David Marchand <david.marchand@redhat.com>, dev@dpdk.org
Subject: [dpdk-dev] [PATCH v3 0/6] mempool: cleanup namespace
Date: Tue, 19 Oct 2021 20:40:16 +0300 [thread overview]
Message-ID: <20211019174022.2036272-1-andrew.rybchenko@oktetlabs.ru> (raw)
In-Reply-To: <20211018144907.1145028-1-andrew.rybchenko@oktetlabs.ru>
Add RTE_ prefix to mempool API including internal. Keep old public API
with fallback to new defines. Internal API is just renamed.
v3:
- fix typo
- rebase on top of current main
- add prefix to newly added MEMPOOL_F_NON_IO
- fix deprecation usage
- add Fixes tag the patch which deprecates unused macros
v2:
- do not deprecate MEMPOOL_F_* flags
- fix unintended usage of internal get/put helpers from bulk get/put
Andrew Rybchenko (6):
mempool: avoid flags documentation in the next line
mempool: add namespace prefix to flags
mempool: add namespace to internal but still visible API
mempool: make header size calculation internal
mempool: add namespace to driver register macro
mempool: deprecate unused defines
app/proc-info/main.c | 17 +-
app/test-pmd/parameters.c | 4 +-
app/test/test_mempool.c | 18 +-
doc/guides/contributing/documentation.rst | 4 +-
doc/guides/nics/mlx5.rst | 2 +-
doc/guides/prog_guide/mempool_lib.rst | 2 +-
doc/guides/rel_notes/deprecation.rst | 11 ++
doc/guides/rel_notes/release_21_11.rst | 14 +-
drivers/common/mlx5/mlx5_common_mr.c | 4 +-
drivers/event/cnxk/cnxk_tim_evdev.c | 2 +-
drivers/event/octeontx/ssovf_worker.h | 2 +-
drivers/event/octeontx/timvf_evdev.c | 2 +-
drivers/event/octeontx2/otx2_tim_evdev.c | 2 +-
drivers/mempool/bucket/rte_mempool_bucket.c | 10 +-
drivers/mempool/cnxk/cn10k_mempool_ops.c | 2 +-
drivers/mempool/cnxk/cn9k_mempool_ops.c | 2 +-
drivers/mempool/dpaa/dpaa_mempool.c | 2 +-
drivers/mempool/dpaa2/dpaa2_hw_mempool.c | 2 +-
.../mempool/octeontx/rte_mempool_octeontx.c | 2 +-
drivers/mempool/octeontx2/otx2_mempool_ops.c | 2 +-
drivers/mempool/ring/rte_mempool_ring.c | 16 +-
drivers/mempool/stack/rte_mempool_stack.c | 4 +-
drivers/net/cnxk/cn10k_rx.h | 12 +-
drivers/net/cnxk/cn10k_tx.h | 30 ++--
drivers/net/cnxk/cn9k_rx.h | 12 +-
drivers/net/cnxk/cn9k_tx.h | 26 +--
drivers/net/mlx5/mlx5_mr.c | 2 +-
drivers/net/octeontx/octeontx_rxtx.h | 4 +-
drivers/net/octeontx2/otx2_ethdev.c | 4 +-
drivers/net/octeontx2/otx2_ethdev_sec_tx.h | 2 +-
drivers/net/octeontx2/otx2_rx.c | 8 +-
drivers/net/octeontx2/otx2_rx.h | 4 +-
drivers/net/octeontx2/otx2_tx.c | 16 +-
drivers/net/octeontx2/otx2_tx.h | 4 +-
drivers/net/thunderx/nicvf_ethdev.c | 2 +-
lib/mempool/rte_mempool.c | 58 +++----
lib/mempool/rte_mempool.h | 164 +++++++++++-------
lib/mempool/rte_mempool_ops.c | 2 +-
lib/pdump/rte_pdump.c | 3 +-
lib/vhost/iotlb.c | 4 +-
40 files changed, 275 insertions(+), 208 deletions(-)
--
2.30.2
next prev parent reply other threads:[~2021-10-19 17:40 UTC|newest]
Thread overview: 53+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-18 14:49 [dpdk-dev] [PATCH " Andrew Rybchenko
2021-10-18 14:49 ` [dpdk-dev] [PATCH 1/6] mempool: avoid flags documentation in the next line Andrew Rybchenko
2021-10-18 14:49 ` [dpdk-dev] [PATCH 2/6] mempool: add namespace prefix to flags Andrew Rybchenko
2021-10-19 8:52 ` David Marchand
2021-10-19 9:40 ` Thomas Monjalon
2021-10-18 14:49 ` [dpdk-dev] [PATCH 3/6] mempool: add namespace to internal but still visible API Andrew Rybchenko
2021-10-19 8:47 ` David Marchand
2021-10-19 9:10 ` Andrew Rybchenko
2021-10-18 14:49 ` [dpdk-dev] [PATCH 4/6] mempool: make header size calculation internal Andrew Rybchenko
2021-10-19 8:48 ` David Marchand
2021-10-19 8:59 ` Andrew Rybchenko
2021-10-18 14:49 ` [dpdk-dev] [PATCH 5/6] mempool: add namespace to driver register macro Andrew Rybchenko
2021-10-19 8:49 ` David Marchand
2021-10-19 9:04 ` Andrew Rybchenko
2021-10-19 9:23 ` Andrew Rybchenko
2021-10-19 9:27 ` David Marchand
2021-10-19 9:38 ` Andrew Rybchenko
2021-10-19 9:42 ` Thomas Monjalon
2021-10-18 14:49 ` [dpdk-dev] [PATCH 6/6] mempool: deprecate unused defines Andrew Rybchenko
2021-10-19 10:08 ` [dpdk-dev] [PATCH v2 0/6] mempool: cleanup namespace Andrew Rybchenko
2021-10-19 10:08 ` [dpdk-dev] [PATCH v2 1/6] mempool: avoid flags documentation in the next line Andrew Rybchenko
2021-10-19 16:13 ` Olivier Matz
2021-10-19 10:08 ` [dpdk-dev] [PATCH v2 2/6] mempool: add namespace prefix to flags Andrew Rybchenko
2021-10-19 16:13 ` Olivier Matz
2021-10-19 16:15 ` Olivier Matz
2021-10-19 17:45 ` Andrew Rybchenko
2021-10-19 10:08 ` [dpdk-dev] [PATCH v2 3/6] mempool: add namespace to internal but still visible API Andrew Rybchenko
2021-10-19 16:14 ` Olivier Matz
2021-10-19 10:08 ` [dpdk-dev] [PATCH v2 4/6] mempool: make header size calculation internal Andrew Rybchenko
2021-10-19 16:14 ` Olivier Matz
2021-10-19 17:23 ` Andrew Rybchenko
2021-10-19 10:08 ` [dpdk-dev] [PATCH v2 5/6] mempool: add namespace to driver register macro Andrew Rybchenko
2021-10-19 16:16 ` Olivier Matz
2021-10-19 10:08 ` [dpdk-dev] [PATCH v2 6/6] mempool: deprecate unused defines Andrew Rybchenko
2021-10-19 16:21 ` Olivier Matz
2021-10-19 17:23 ` Andrew Rybchenko
2021-10-19 17:40 ` Andrew Rybchenko [this message]
2021-10-19 17:40 ` [dpdk-dev] [PATCH v3 1/6] mempool: avoid flags documentation in the next line Andrew Rybchenko
2021-10-19 17:40 ` [dpdk-dev] [PATCH v3 2/6] mempool: add namespace prefix to flags Andrew Rybchenko
2021-10-19 20:03 ` David Marchand
2021-10-20 7:50 ` Andrew Rybchenko
2021-10-19 17:40 ` [dpdk-dev] [PATCH v3 3/6] mempool: add namespace to internal but still visible API Andrew Rybchenko
2021-10-19 17:40 ` [dpdk-dev] [PATCH v3 4/6] mempool: make header size calculation internal Andrew Rybchenko
2021-10-20 6:55 ` Olivier Matz
2021-10-19 17:40 ` [dpdk-dev] [PATCH v3 5/6] mempool: add namespace to driver register macro Andrew Rybchenko
2021-10-20 6:57 ` Olivier Matz
2021-10-19 17:40 ` [dpdk-dev] [PATCH v3 6/6] mempool: deprecate unused defines Andrew Rybchenko
2021-10-20 7:08 ` Olivier Matz
2021-10-19 20:09 ` [dpdk-dev] [PATCH v3 0/6] mempool: cleanup namespace David Marchand
2021-10-20 7:52 ` David Marchand
2021-10-20 7:54 ` Andrew Rybchenko
2021-10-20 7:52 ` Andrew Rybchenko
2021-10-20 8:07 ` David Marchand
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=20211019174022.2036272-1-andrew.rybchenko@oktetlabs.ru \
--to=andrew.rybchenko@oktetlabs.ru \
--cc=david.marchand@redhat.com \
--cc=dev@dpdk.org \
--cc=olivier.matz@6wind.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;
as well as URLs for NNTP newsgroup(s).