[PATCH v2 0/4] add versioned symbols for recently stabilized APIs

Jiang, YuX yux.jiang at intel.com
Thu Jun 25 05:45:42 CEST 2026


> -----Original Message-----
> From: Dariusz Sosnowski <dsosnowski at nvidia.com>
> Sent: Wednesday, June 24, 2026 9:14 PM
> To: David Marchand <david.marchand at redhat.com>; Richardson, Bruce
> <bruce.richardson at intel.com>; Thomas Monjalon <thomas at monjalon.net>;
> Andrew Rybchenko <andrew.rybchenko at oktetlabs.ru>; Viacheslav Ovsiienko
> <viacheslavo at nvidia.com>; Bing Zhao <bingz at nvidia.com>; Ori Kam
> <orika at nvidia.com>; Suanming Mou <suanmingm at nvidia.com>; Matan Azrad
> <matan at nvidia.com>
> Cc: dev at dpdk.org; Jiang, YuX <yux.jiang at intel.com>
> Subject: [PATCH v2 0/4] add versioned symbols for recently stabilized APIs
> 
> 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=e8cab133645f5466ef75e511629add43b68a502
> 7
> - 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.
> 
> v2:
> - 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 at 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                  |  8 ++++++++
>  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, 49 insertions(+), 18 deletions(-)
> 
> --
> 2.47.3

Tested-by: Yu Jiang <yux.jiang at intel.com>

BRs
Yu Jiang



More information about the dev mailing list