From: Dariusz Sosnowski <dsosnowski@nvidia.com>
To: David Marchand <david.marchand@redhat.com>,
Bruce Richardson <bruce.richardson@intel.com>,
Thomas Monjalon <thomas@monjalon.net>,
"Andrew Rybchenko" <andrew.rybchenko@oktetlabs.ru>,
Viacheslav Ovsiienko <viacheslavo@nvidia.com>,
Bing Zhao <bingz@nvidia.com>, Ori Kam <orika@nvidia.com>,
Suanming Mou <suanmingm@nvidia.com>,
Matan Azrad <matan@nvidia.com>
Cc: <dev@dpdk.org>, Yu Jiang <yux.jiang@intel.com>
Subject: [PATCH v4 0/4] add versioned symbols for recently stabilized APIs
Date: Thu, 25 Jun 2026 18:06:39 +0200 [thread overview]
Message-ID: <20260625160645.1341914-1-dsosnowski@nvidia.com> (raw)
In-Reply-To: <20260625133311.1299705-1-dsosnowski@nvidia.com>
Main goal of this patchset is to address https://bugs.dpdk.org/show_bug.cgi?id=1957
but it also handles other recently stabilized symbols and has some minor fixes:
- Patch 1 - Fix RTE_VERSION_EXPERIMENTAL_SYMBOL macro on clang.
- Patch 2 - Allow function versioning inside drivers.
- Patch 3 - Version the function symbols stabilized in
https://git.dpdk.org/dpdk/commit/?id=e8cab133645f5466ef75e511629add43b68a5027
- Patch 4 - Version the rte_flow_dynf_metadata_register() function stabilized in
https://git.dpdk.org/dpdk/commit/?id=4ee2f5c1cedf9ee7f39afa667f71b07f4004ba5c
Restore EXPERIMENTAL version on global variable symbols
rte_flow_dynf_metadata_offs and rte_flow_dynf_metadata_mask.
v4:
- Fixed build with older meson versions.
v3:
- https://inbox.dpdk.org/dev/20260625133311.1299705-1-dsosnowski@nvidia.com/
- Added rebuilding of drivers with -DRTE_BUILD_SHARED_LIB
whenever function versioning is enabled.
v2:
- https://inbox.dpdk.org/dev/20260624131337.1127323-1-dsosnowski@nvidia.com/
- Drop patches introducing versioning macros for symbol aliases
and their usage (patch 4 and 5 from v1)
- EXPERIMENTAL version on global variable symbols
rte_flow_dynf_metadata_offs and rte_flow_dynf_metadata_mask,
as discussed under v1.
- Change commit title prefix in patch (2) from "drivers" to "build".
v1: https://inbox.dpdk.org/dev/20260623113752.1100072-1-dsosnowski@nvidia.com/
Dariusz Sosnowski (4):
eal: fix macro for versioned experimental symbol
build: support function versioning for drivers
net/mlx5: fix stabilized function versions
ethdev: fix promoted flow metadata symbols
drivers/meson.build | 21 ++++++++++++++++++++-
drivers/net/mlx5/meson.build | 2 ++
drivers/net/mlx5/mlx5_driver_event.c | 22 ++++++++++++++++------
drivers/net/mlx5/mlx5_flow.c | 18 ++++++++++++------
lib/eal/common/eal_export.h | 2 +-
lib/ethdev/meson.build | 2 ++
lib/ethdev/rte_flow.c | 13 ++++++++-----
7 files changed, 61 insertions(+), 19 deletions(-)
--
2.47.3
next prev parent reply other threads:[~2026-06-25 16:08 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-23 11:37 [PATCH 0/5] add versioned symbols for recently stabilized APIs Dariusz Sosnowski
2026-06-23 11:37 ` [PATCH 1/5] eal: fix macro for versioned experimental symbol Dariusz Sosnowski
2026-06-23 13:50 ` Stephen Hemminger
2026-06-23 15:26 ` Dariusz Sosnowski
2026-06-23 16:05 ` Stephen Hemminger
2026-06-23 11:37 ` [PATCH 2/5] drivers: support function versioning Dariusz Sosnowski
2026-06-23 11:37 ` [PATCH 3/5] net/mlx5: fix stabilized function versions Dariusz Sosnowski
2026-06-23 11:37 ` [PATCH 4/5] eal: support aliases for versioned variable symbols Dariusz Sosnowski
2026-06-23 11:37 ` [PATCH 5/5] ethdev: fix promoted flow metadata symbols Dariusz Sosnowski
2026-06-23 13:48 ` [PATCH 0/5] add versioned symbols for recently stabilized APIs Stephen Hemminger
2026-06-23 13:50 ` David Marchand
2026-06-23 15:43 ` Dariusz Sosnowski
2026-06-24 13:13 ` [PATCH v2 0/4] " Dariusz Sosnowski
2026-06-24 13:13 ` [PATCH v2 1/4] eal: fix macro for versioned experimental symbol Dariusz Sosnowski
2026-06-25 7:34 ` David Marchand
2026-06-24 13:13 ` [PATCH v2 2/4] build: support function versioning for drivers Dariusz Sosnowski
2026-06-25 7:38 ` David Marchand
2026-06-25 12:35 ` Dariusz Sosnowski
2026-06-24 13:13 ` [PATCH v2 3/4] net/mlx5: fix stabilized function versions Dariusz Sosnowski
2026-06-25 7:41 ` David Marchand
2026-06-24 13:13 ` [PATCH v2 4/4] ethdev: fix promoted flow metadata symbols Dariusz Sosnowski
2026-06-25 7:44 ` David Marchand
2026-06-25 9:22 ` Dariusz Sosnowski
2026-06-25 3:45 ` [PATCH v2 0/4] add versioned symbols for recently stabilized APIs Jiang, YuX
2026-06-25 13:33 ` [PATCH v3 " Dariusz Sosnowski
2026-06-25 13:33 ` [PATCH v3 1/4] eal: fix macro for versioned experimental symbol Dariusz Sosnowski
2026-06-25 13:33 ` [PATCH v3 2/4] build: support function versioning for drivers Dariusz Sosnowski
2026-06-25 14:45 ` David Marchand
2026-06-25 16:12 ` Dariusz Sosnowski
2026-06-25 13:33 ` [PATCH v3 3/4] net/mlx5: fix stabilized function versions Dariusz Sosnowski
2026-06-25 13:33 ` [PATCH v3 4/4] ethdev: fix promoted flow metadata symbols Dariusz Sosnowski
2026-06-25 16:06 ` Dariusz Sosnowski [this message]
2026-06-25 16:06 ` [PATCH v4 1/4] eal: fix macro for versioned experimental symbol Dariusz Sosnowski
2026-06-25 16:06 ` [PATCH v4 2/4] build: support function versioning for drivers Dariusz Sosnowski
2026-06-25 16:06 ` [PATCH v4 3/4] net/mlx5: fix stabilized function versions Dariusz Sosnowski
2026-06-25 16:06 ` [PATCH v4 4/4] ethdev: fix promoted flow metadata symbols Dariusz Sosnowski
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=20260625160645.1341914-1-dsosnowski@nvidia.com \
--to=dsosnowski@nvidia.com \
--cc=andrew.rybchenko@oktetlabs.ru \
--cc=bingz@nvidia.com \
--cc=bruce.richardson@intel.com \
--cc=david.marchand@redhat.com \
--cc=dev@dpdk.org \
--cc=matan@nvidia.com \
--cc=orika@nvidia.com \
--cc=suanmingm@nvidia.com \
--cc=thomas@monjalon.net \
--cc=viacheslavo@nvidia.com \
--cc=yux.jiang@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