Skip to contentSkip to conversation

eal: add new function versioning macros

RFC Superseded David Marchand 10 participants 101 messages Mar 5, 2025 – Apr 7, 2025 Page 3 of 4

Subsystems (8)
lore
Share & tools
lore
#62 lore raw

PATCH v5 8/8 eal: rework function versioning macros

In reply to David Marchand

For versioning symbols:
- MSVC uses pragmas on the symbol,
- GNU linker uses special asm directives,

To accommodate both GNU linker and MSVC linker, introduce new macros for exporting and versioning symbols that will surround the whole function.

This has the advantage of hiding all the ugly details in the macros. Now versioning a symbol is just a call to a single macro:
- RTE_VERSION_SYMBOL (resp. RTE_VERSION_EXPERIMENTAL_SYMBOL), for keeping an old implementation code under a versioned function (resp. experimental function),
- RTE_DEFAULT_SYMBOL, for declaring the new default versioned function, and handling the static link special case, instead of BIND_DEFAULT_SYMBOL + MAP_STATIC_SYMBOL,

This replaces the macros from rte_function_versioning.h that were previously publicly exported.

Update lib/net accordingly.

---
Changes since RFC v4:
- moved new macros to eal_symbol_exports.h and simply dropped legacy macros/header,
- added release notes update,

Changes since RFC v3:
- fixed documentation and simplified examples,

Changes since RFC v1:
- renamed and prefixed macros,
- reindented in prevision of second patch,

---
 buildtools/gen-version-map.py              |  15 +-
 devtools/check-symbol-change.py            |   8 +-
 doc/api/doxy-api-index.md                  |   1 -
 doc/guides/contributing/abi_versioning.rst | 192 ++++++---------------
 doc/guides/rel_notes/release_25_07.rst     |   2 +
 lib/eal/common/eal_symbol_exports.h        |  66 +++++++
 lib/eal/include/rte_function_versioning.h  |  99 -----------
 lib/net/net_crc.h                          |  15 --
 lib/net/rte_net_crc.c                      |  29 +---
 9 files changed, 135 insertions(+), 292 deletions(-)
 delete mode 100644 lib/eal/include/rte_function_versioning.h
buildtools/gen-version-map.py +7 -8
index c7dfc9b8c2..7ee80ec640 100755
@@ -13,10 +13,9 @@
 export_exp_sym_regexp = re.compile(r"^RTE_EXPORT_EXPERIMENTAL_SYMBOL\(([^,]+), ([0-9]+.[0-9]+)\)")
 export_int_sym_regexp = re.compile(r"^RTE_EXPORT_INTERNAL_SYMBOL\(([^)]+)\)")
 export_sym_regexp = re.compile(r"^RTE_EXPORT_SYMBOL\(([^)]+)\)")
-# From rte_function_versioning.h
-ver_sym_regexp = re.compile(r"^VERSION_SYMBOL\(([^,]+), [^,]+, ([^,]+)\)")
-ver_exp_sym_regexp = re.compile(r"^VERSION_SYMBOL_EXPERIMENTAL\([^,]+, ([^,]+)\)")
-default_sym_regexp = re.compile(r"^BIND_DEFAULT_SYMBOL\(([^,]+), [^,]+, ([^,]+)\)")
+ver_sym_regexp = re.compile(r"^RTE_VERSION_SYMBOL\(([^,]+), [^,]+, ([^,]+),")
+ver_exp_sym_regexp = re.compile(r"^RTE_VERSION_EXPERIMENTAL_SYMBOL\([^,]+, ([^,]+),")
+default_sym_regexp = re.compile(r"^RTE_DEFAULT_SYMBOL\(([^,]+), [^,]+, ([^,]+),")
 
 with open(abi_version_file) as f:
     abi = 'DPDK_{}'.format(re.match("([0-9]+).[0-9]", f.readline()).group(1))
@@ -40,14 +39,14 @@
                 node = abi
                 symbol = export_sym_regexp.match(ln).group(1)
             elif ver_sym_regexp.match(ln):
-                node = 'DPDK_{}'.format(ver_sym_regexp.match(ln).group(2))
-                symbol = ver_sym_regexp.match(ln).group(1)
+                node = 'DPDK_{}'.format(ver_sym_regexp.match(ln).group(1))
+                symbol = ver_sym_regexp.match(ln).group(2)
             elif ver_exp_sym_regexp.match(ln):
                 node = 'EXPERIMENTAL'
                 symbol = ver_exp_sym_regexp.match(ln).group(1)
             elif default_sym_regexp.match(ln):
-                node = 'DPDK_{}'.format(default_sym_regexp.match(ln).group(2))
-                symbol = default_sym_regexp.match(ln).group(1)
+                node = 'DPDK_{}'.format(default_sym_regexp.match(ln).group(1))
+                symbol = default_sym_regexp.match(ln).group(2)
 
             if not symbol:
                 continue
devtools/check-symbol-change.py +4 -4
index d522fbb1ec..d59ecaddd7 100755
@@ -12,10 +12,10 @@
 export_exp_sym_regexp = re.compile(r"^.RTE_EXPORT_EXPERIMENTAL_SYMBOL\(([^,]+),")
 export_int_sym_regexp = re.compile(r"^.RTE_EXPORT_INTERNAL_SYMBOL\(([^)]+)\)")
 export_sym_regexp = re.compile(r"^.RTE_EXPORT_SYMBOL\(([^)]+)\)")
-# TODO, handle versioned symbols from rte_function_versioning.h
-# ver_sym_regexp = re.compile(r"^VERSION_SYMBOL\(([^,]+), [^,]+, ([^,]+)\)")
-# ver_exp_sym_regexp = re.compile(r"^VERSION_SYMBOL_EXPERIMENTAL\([^,]+, ([^,]+)\)")
-# default_sym_regexp = re.compile(r"^BIND_DEFAULT_SYMBOL\(([^,]+), [^,]+, ([^,]+)\)")
+# TODO, handle versioned symbols
+# ver_sym_regexp = re.compile(r"^.RTE_VERSION_SYMBOL\(([^,]+), [^,]+, ([^,]+),")
+# ver_exp_sym_regexp = re.compile(r"^.RTE_VERSION_EXPERIMENTAL_SYMBOL\([^,]+, ([^,]+),")
+# default_sym_regexp = re.compile(r"^.RTE_DEFAULT_SYMBOL\(([^,]+), [^,]+, ([^,]+),")
 
 symbols = {}
 
doc/api/doxy-api-index.md +0 -1
index b2fc24b3e4..5c425a2cb9 100644
@@ -248,7 +248,6 @@ The public API headers are grouped by topics:
   [EAL config](@ref rte_eal.h),
   [common](@ref rte_common.h),
   [experimental APIs](@ref rte_compat.h),
-  [ABI versioning](@ref rte_function_versioning.h),
   [version](@ref rte_version.h)
 
 - **tests**:
doc/guides/contributing/abi_versioning.rst +49 -143

304 lines not on this page · raw message

doc/guides/rel_notes/release_25_07.rst +2 -0
index cd1025aac0..093b85d206 100644
@@ -68,6 +68,8 @@ Removed Items
    Also, make sure to start the actual text at the margin.
    =======================================================
 
+* eal: Removed the ``rte_function_versioning.h`` header from the exported headers.
+
 
 API Changes
 -----------
lib/eal/common/eal_symbol_exports.h +66 -0

76 lines not on this page · raw message

lib/eal/include/rte_function_versioning.h deleted +0 -99

99 lines not on this page · raw message

lib/net/net_crc.h +0 -15
index 4930e2f0b3..320b0edca8 100644
@@ -7,21 +7,6 @@
 
 #include "rte_net_crc.h"
 
-void
-rte_net_crc_set_alg_v25(enum rte_net_crc_alg alg);
-
-struct rte_net_crc *
-rte_net_crc_set_alg_v26(enum rte_net_crc_alg alg,
-	enum rte_net_crc_type type);
-
-uint32_t
-rte_net_crc_calc_v25(const void *data,
-	uint32_t data_len, enum rte_net_crc_type type);
-
-uint32_t
-rte_net_crc_calc_v26(const struct rte_net_crc *ctx,
-	const void *data, const uint32_t data_len);
-
 /*
  * Different implementations of CRC
  */
lib/net/rte_net_crc.c +7 -22
index 4efb095bc4..e769c7e22e 100644
@@ -11,7 +11,6 @@
 #include <rte_net_crc.h>
 #include <rte_log.h>
 #include <rte_vect.h>
-#include <rte_function_versioning.h>
 #include <rte_malloc.h>
 
 #include "net_crc.h"
@@ -346,8 +345,7 @@ handlers_init(enum rte_net_crc_alg alg)
 
 /* Public API */
 
-void
-rte_net_crc_set_alg_v25(enum rte_net_crc_alg alg)
+RTE_VERSION_SYMBOL(25, void, rte_net_crc_set_alg, (enum rte_net_crc_alg alg))
 {
 	handlers = NULL;
 	if (max_simd_bitwidth == 0)
@@ -374,10 +372,9 @@ rte_net_crc_set_alg_v25(enum rte_net_crc_alg alg)
 	if (handlers == NULL)
 		handlers = handlers_scalar;
 }
-VERSION_SYMBOL(rte_net_crc_set_alg, _v25, 25);
 
-struct rte_net_crc *rte_net_crc_set_alg_v26(enum rte_net_crc_alg alg,
-	enum rte_net_crc_type type)
+RTE_DEFAULT_SYMBOL(26, struct rte_net_crc *, rte_net_crc_set_alg, (enum rte_net_crc_alg alg,
+	enum rte_net_crc_type type))
 {
 	uint16_t max_simd_bitwidth;
 	struct rte_net_crc *crc;
@@ -415,10 +412,6 @@ struct rte_net_crc *rte_net_crc_set_alg_v26(enum rte_net_crc_alg alg,
 	}
 	return crc;
 }
-BIND_DEFAULT_SYMBOL(rte_net_crc_set_alg, _v26, 26);
-MAP_STATIC_SYMBOL(struct rte_net_crc *rte_net_crc_set_alg(
-	enum rte_net_crc_alg alg, enum rte_net_crc_type type),
-	rte_net_crc_set_alg_v26);
 
 RTE_EXPORT_SYMBOL(rte_net_crc_free)
 void rte_net_crc_free(struct rte_net_crc *crc)
@@ -426,10 +419,8 @@ void rte_net_crc_free(struct rte_net_crc *crc)
 	rte_free(crc);
 }
 
-uint32_t
-rte_net_crc_calc_v25(const void *data,
-	uint32_t data_len,
-	enum rte_net_crc_type type)
+RTE_VERSION_SYMBOL(25, uint32_t, rte_net_crc_calc, (const void *data, uint32_t data_len,
+	enum rte_net_crc_type type))
 {
 	uint32_t ret;
 	rte_net_crc_handler f_handle;
@@ -439,18 +430,12 @@ rte_net_crc_calc_v25(const void *data,
 
 	return ret;
 }
-VERSION_SYMBOL(rte_net_crc_calc, _v25, 25);
 
-uint32_t
-rte_net_crc_calc_v26(const struct rte_net_crc *ctx,
-	const void *data, const uint32_t data_len)
+RTE_DEFAULT_SYMBOL(26, uint32_t, rte_net_crc_calc, (const struct rte_net_crc *ctx,
+	const void *data, const uint32_t data_len))
 {
 	return handlers_dpdk26[ctx->alg].f[ctx->type](data, data_len);
 }
-BIND_DEFAULT_SYMBOL(rte_net_crc_calc, _v26, 26);
-MAP_STATIC_SYMBOL(uint32_t rte_net_crc_calc(const struct rte_net_crc *ctx,
-	const void *data, const uint32_t data_len),
-	rte_net_crc_calc_v26);
 
 /* Call initialisation helpers for all crc algorithm handlers */
 RTE_INIT(rte_net_crc_init)
Signature · 1 line
2.48.1
#63 lore raw

Re: [PATCH v5 0/8] Symbol versioning and export rework

In reply to David Marchand
Quoted 14 lines · David Marchand

So far, each DPDK library (or driver) exposing symbols in an ABI had to maintain a version.map and use some macros for symbol versioning, specially crafted with the GNU linker in mind.

This series proposes to rework the whole principle, and instead rely on marking the symbol exports in the source code itself, then let it to the build framework to produce a version script adapted to the linker in use (think GNU linker vs MSVC linker).

This greatly simplifies versioning symbols: a developer does not need to know anything about version.map, or that a versioned symbol must be renamed with _v26, annotated with __vsym, exported in a header etc...

Quoted 5 lines

Checking symbol maps becomes unnecessary since generated by the build framework.

Updating to a new ABI is just a matter of bumping the value in ABI_VERSION.

Intel CI keeps on spewing non sense failures on doc generation, as it filters out doc/ updates from patches...

Signature · 1 line
David Marchand
#64 lore raw

v6 cover Symbol versioning and export rework

In reply to David Marchand

So far, each DPDK library (or driver) exposing symbols in an ABI had to maintain a version.map and use some macros for symbol versioning, specially crafted with the GNU linker in mind.

This series proposes to rework the whole principle, and instead rely on marking the symbol exports in the source code itself, then let it to the build framework to produce a version script adapted to the linker in use (think GNU linker vs MSVC linker).

This greatly simplifies versioning symbols: a developer does not need to know anything about version.map, or that a versioned symbol must be renamed with _v26, annotated with __vsym, exported in a header etc...

Checking symbol maps becomes unnecessary since generated by the build framework.

Updating to a new ABI is just a matter of bumping the value in ABI_VERSION.

Signature · 699 lines
David Marchand

Changes since v5:
- fixed Windows symbol exports for net/mlx5,

Changes since RFC v4:
- rebased on main, now that Bruce series is merged,
- the export macros header has been moved to lib/eal/common/
  and its inclusion is now mandatory (rather than an implicit -include),
- reordered patches: symbol versioning is touched last and merged
  in the export header (replacing the legacy rte_function_versioning.h),

Changes since RFC v3:
- fixed/simplified documentation,
- rebased on top of Bruce series for common handling of AVX sources,

Changes since RFC v2:
- updated RTE_VERSION_SYMBOL() (and friends) so that only the fonction
  signature is enclosed in the macro,
- dropped invalid exports for some dead symbols or inline helpers,
- updated documentation and tooling,
- converted the whole tree (via a local script of mine),

David Marchand (8):
  lib: remove incorrect exported symbols
  drivers: remove incorrect exported symbols
  buildtools: display version when listing symbols
  build: generate symbol maps
  build: mark exported symbols
  build: use dynamically generated version maps
  build: remove static version maps
  eal: rework function versioning macros

 .github/workflows/build.yml                   |   1 -
 MAINTAINERS                                   |   9 +-
 buildtools/check-symbols.sh                   |  33 +-
 buildtools/gen-version-map.py                 | 105 ++++
 buildtools/map-list-symbol.sh                 |  15 +-
 buildtools/map_to_win.py                      |  41 --
 buildtools/meson.build                        |   2 +-
 devtools/check-spdx-tag.sh                    |   2 +-
 devtools/check-symbol-change.py               |  90 +++
 devtools/check-symbol-change.sh               | 186 ------
 devtools/check-symbol-maps.sh                 | 115 ----
 devtools/checkpatches.sh                      |   4 +-
 devtools/update-abi.sh                        |  46 --
 devtools/update_version_map_abi.py            | 210 -------
 doc/api/doxy-api-index.md                     |   1 -
 doc/guides/contributing/abi_policy.rst        |  21 +-
 doc/guides/contributing/abi_versioning.rst    | 415 +++----------
 doc/guides/contributing/coding_style.rst      |   7 -
 .../contributing/img/patch_cheatsheet.svg     | 303 +++++----
 doc/guides/contributing/patches.rst           |   6 +-
 doc/guides/rel_notes/release_25_07.rst        |   2 +
 drivers/baseband/acc/rte_acc100_pmd.c         |   2 +
 drivers/baseband/acc/version.map              |  10 -
 .../fpga_5gnr_fec/rte_fpga_5gnr_fec.c         |   2 +
 drivers/baseband/fpga_5gnr_fec/version.map    |  11 -
 drivers/baseband/fpga_lte_fec/fpga_lte_fec.c  |   2 +
 drivers/baseband/fpga_lte_fec/version.map     |  10 -
 drivers/bus/auxiliary/auxiliary_common.c      |   3 +
 drivers/bus/auxiliary/version.map             |   8 -
 drivers/bus/cdx/cdx.c                         |   5 +
 drivers/bus/cdx/cdx_vfio.c                    |   5 +
 drivers/bus/cdx/version.map                   |  14 -
 drivers/bus/dpaa/dpaa_bus.c                   |  10 +
 drivers/bus/dpaa/dpaa_bus_symbols.c           |  99 +++
 drivers/bus/dpaa/meson.build                  |   1 +
 drivers/bus/dpaa/version.map                  | 109 ----
 drivers/bus/fslmc/fslmc_bus.c                 |   5 +
 drivers/bus/fslmc/fslmc_vfio.c                |  13 +
 drivers/bus/fslmc/mc/dpbp.c                   |   8 +
 drivers/bus/fslmc/mc/dpci.c                   |   5 +
 drivers/bus/fslmc/mc/dpcon.c                  |   8 +
 drivers/bus/fslmc/mc/dpdmai.c                 |  10 +
 drivers/bus/fslmc/mc/dpio.c                   |  15 +
 drivers/bus/fslmc/mc/dpmng.c                  |   4 +
 drivers/bus/fslmc/mc/mc_sys.c                 |   2 +
 drivers/bus/fslmc/portal/dpaa2_hw_dpbp.c      |   4 +
 drivers/bus/fslmc/portal/dpaa2_hw_dpci.c      |   3 +
 drivers/bus/fslmc/portal/dpaa2_hw_dpio.c      |  12 +
 drivers/bus/fslmc/qbman/qbman_debug.c         |   4 +
 drivers/bus/fslmc/qbman/qbman_portal.c        |  43 ++
 drivers/bus/fslmc/version.map                 | 129 ----
 drivers/bus/ifpga/ifpga_bus.c                 |   4 +
 drivers/bus/ifpga/version.map                 |   9 -
 drivers/bus/pci/bsd/pci.c                     |  11 +
 drivers/bus/pci/linux/pci.c                   |  11 +
 drivers/bus/pci/pci_common.c                  |  11 +
 drivers/bus/pci/version.map                   |  43 --
 drivers/bus/pci/windows/pci.c                 |  11 +
 drivers/bus/platform/platform.c               |   3 +
 drivers/bus/platform/version.map              |  10 -
 drivers/bus/uacce/uacce.c                     |  10 +
 drivers/bus/uacce/version.map                 |  15 -
 drivers/bus/vdev/vdev.c                       |   7 +
 drivers/bus/vdev/version.map                  |  17 -
 drivers/bus/vmbus/linux/vmbus_bus.c           |   7 +
 drivers/bus/vmbus/version.map                 |  33 -
 drivers/bus/vmbus/vmbus_channel.c             |  14 +
 drivers/bus/vmbus/vmbus_common.c              |   4 +
 drivers/common/cnxk/cnxk_security.c           |  13 +
 drivers/common/cnxk/cnxk_utils.c              |   2 +
 drivers/common/cnxk/meson.build               |   1 +
 drivers/common/cnxk/roc_platform.c            |  19 +
 drivers/common/cnxk/roc_platform_symbols.c    | 545 +++++++++++++++++
 drivers/common/cnxk/roc_se.h                  |   1 -
 drivers/common/cnxk/version.map               | 578 ------------------
 drivers/common/cpt/cpt_fpm_tables.c           |   3 +
 drivers/common/cpt/cpt_pmd_ops_helper.c       |   4 +
 drivers/common/cpt/version.map                |  11 -
 drivers/common/dpaax/caamflib.c               |   3 +
 drivers/common/dpaax/dpaa_of.c                |  13 +
 drivers/common/dpaax/dpaax_iova_table.c       |   7 +
 drivers/common/dpaax/version.map              |  25 -
 drivers/common/ionic/ionic_common_uio.c       |   5 +
 drivers/common/ionic/version.map              |  10 -
 .../common/mlx5/linux/mlx5_common_auxiliary.c |   2 +
 drivers/common/mlx5/linux/mlx5_common_os.c    |  11 +
 drivers/common/mlx5/linux/mlx5_common_verbs.c |   4 +
 drivers/common/mlx5/linux/mlx5_glue.c         |   3 +
 drivers/common/mlx5/linux/mlx5_nl.c           |  22 +
 drivers/common/mlx5/mlx5_common.c             |  10 +
 drivers/common/mlx5/mlx5_common_devx.c        |  10 +
 drivers/common/mlx5/mlx5_common_mp.c          |   9 +
 drivers/common/mlx5/mlx5_common_mr.c          |  12 +
 drivers/common/mlx5/mlx5_common_pci.c         |   3 +
 drivers/common/mlx5/mlx5_common_utils.c       |  12 +
 drivers/common/mlx5/mlx5_devx_cmds.c          |  52 ++
 drivers/common/mlx5/mlx5_malloc.c             |   5 +
 drivers/common/mlx5/version.map               | 175 ------
 drivers/common/mlx5/windows/mlx5_common_os.c  |   7 +
 drivers/common/mlx5/windows/mlx5_glue.c       |   4 +-
 drivers/common/mvep/mvep_common.c             |   3 +
 drivers/common/mvep/version.map               |   8 -
 drivers/common/nfp/nfp_common.c               |   9 +
 drivers/common/nfp/nfp_common_pci.c           |   2 +
 drivers/common/nfp/nfp_dev.c                  |   2 +
 drivers/common/nfp/version.map                |  16 -
 drivers/common/nitrox/nitrox_device.c         |   2 +
 drivers/common/nitrox/nitrox_logs.c           |   2 +
 drivers/common/nitrox/nitrox_qp.c             |   3 +
 drivers/common/nitrox/version.map             |  10 -
 drivers/common/octeontx/octeontx_mbox.c       |   7 +
 drivers/common/octeontx/version.map           |  12 -
 drivers/common/sfc_efx/meson.build            |   1 +
 drivers/common/sfc_efx/sfc_efx.c              |   3 +
 drivers/common/sfc_efx/sfc_efx_mcdi.c         |   3 +
 drivers/common/sfc_efx/sfc_symbols.c          | 275 +++++++++
 drivers/common/sfc_efx/version.map            | 302 ---------
 drivers/crypto/cnxk/cn10k_cryptodev_ops.c     |   8 +
 drivers/crypto/cnxk/cn9k_cryptodev_ops.c      |   3 +
 drivers/crypto/cnxk/cnxk_cryptodev_ops.c      |   8 +
 drivers/crypto/cnxk/version.map               |  30 -
 drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c   |   3 +
 drivers/crypto/dpaa2_sec/version.map          |   8 -
 drivers/crypto/dpaa_sec/dpaa_sec.c            |   3 +
 drivers/crypto/dpaa_sec/version.map           |   8 -
 drivers/crypto/octeontx/otx_cryptodev_ops.c   |   3 +
 drivers/crypto/octeontx/version.map           |  12 -
 .../scheduler/rte_cryptodev_scheduler.c       |  11 +
 drivers/crypto/scheduler/version.map          |  16 -
 drivers/dma/cnxk/cnxk_dmadev_fp.c             |   5 +
 drivers/dma/cnxk/version.map                  |  10 -
 drivers/event/cnxk/cnxk_worker.c              |   3 +
 drivers/event/cnxk/version.map                |  11 -
 drivers/event/dlb2/rte_pmd_dlb2.c             |   2 +
 drivers/event/dlb2/version.map                |  10 -
 drivers/mempool/cnxk/cn10k_hwpool_ops.c       |   4 +
 drivers/mempool/cnxk/version.map              |  12 -
 drivers/mempool/dpaa/dpaa_mempool.c           |   3 +
 drivers/mempool/dpaa/version.map              |   8 -
 drivers/mempool/dpaa2/dpaa2_hw_mempool.c      |   6 +
 drivers/mempool/dpaa2/version.map             |  16 -
 drivers/meson.build                           |  74 +--
 drivers/net/atlantic/rte_pmd_atlantic.c       |   7 +
 drivers/net/atlantic/version.map              |  15 -
 drivers/net/bnxt/rte_pmd_bnxt.c               |  17 +
 drivers/net/bnxt/version.map                  |  22 -
 drivers/net/bonding/rte_eth_bond_8023ad.c     |  13 +
 drivers/net/bonding/rte_eth_bond_api.c        |  16 +
 drivers/net/bonding/version.map               |  33 -
 drivers/net/cnxk/cnxk_ethdev.c                |   4 +
 drivers/net/cnxk/cnxk_ethdev_sec.c            |  10 +
 drivers/net/cnxk/version.map                  |  27 -
 drivers/net/dpaa/dpaa_ethdev.c                |   4 +
 drivers/net/dpaa/version.map                  |  14 -
 drivers/net/dpaa2/dpaa2_ethdev.c              |   8 +
 drivers/net/dpaa2/dpaa2_mux.c                 |   4 +
 drivers/net/dpaa2/dpaa2_rxtx.c                |   2 +
 drivers/net/dpaa2/dpaa2_symbols.c             |   8 +
 drivers/net/dpaa2/meson.build                 |   1 +
 drivers/net/dpaa2/version.map                 |  35 --
 drivers/net/intel/i40e/rte_pmd_i40e.c         |  40 ++
 drivers/net/intel/i40e/version.map            |  55 --
 drivers/net/intel/iavf/iavf_rxtx.c            |   9 +
 drivers/net/intel/iavf/iavf_symbols.c         |  13 +
 drivers/net/intel/iavf/meson.build            |   1 +
 drivers/net/intel/iavf/version.map            |  33 -
 drivers/net/intel/ice/ice_diagnose.c          |   4 +
 drivers/net/intel/ice/version.map             |  16 -
 drivers/net/intel/idpf/idpf_common_device.c   |  11 +
 drivers/net/intel/idpf/idpf_common_rxtx.c     |  25 +
 .../net/intel/idpf/idpf_common_rxtx_avx2.c    |   3 +
 .../net/intel/idpf/idpf_common_rxtx_avx512.c  |   6 +
 drivers/net/intel/idpf/idpf_common_virtchnl.c |  31 +
 drivers/net/intel/idpf/version.map            |  80 ---
 drivers/net/intel/ipn3ke/ipn3ke_ethdev.c      |   2 +
 drivers/net/intel/ipn3ke/version.map          |   9 -
 drivers/net/intel/ixgbe/rte_pmd_ixgbe.c       |  38 ++
 drivers/net/intel/ixgbe/version.map           |  49 --
 drivers/net/mlx5/mlx5.c                       |   2 +
 drivers/net/mlx5/mlx5_flow.c                  |   5 +
 drivers/net/mlx5/mlx5_rx.c                    |   3 +
 drivers/net/mlx5/mlx5_rxq.c                   |   3 +
 drivers/net/mlx5/mlx5_tx.c                    |   2 +
 drivers/net/mlx5/mlx5_txq.c                   |   4 +
 drivers/net/mlx5/version.map                  |  28 -
 drivers/net/octeontx/octeontx_ethdev.c        |   2 +
 drivers/net/octeontx/version.map              |   7 -
 drivers/net/ring/rte_eth_ring.c               |   3 +
 drivers/net/ring/version.map                  |   8 -
 drivers/net/softnic/rte_eth_softnic.c         |   2 +
 drivers/net/softnic/rte_eth_softnic_thread.c  |   2 +
 drivers/net/softnic/version.map               |   8 -
 drivers/net/vhost/rte_eth_vhost.c             |   3 +
 drivers/net/vhost/version.map                 |   8 -
 drivers/power/kvm_vm/guest_channel.c          |   3 +
 drivers/power/kvm_vm/version.map              |   8 -
 drivers/raw/cnxk_rvu_lf/cnxk_rvu_lf.c         |  11 +
 drivers/raw/cnxk_rvu_lf/version.map           |  16 -
 drivers/raw/ifpga/rte_pmd_ifpga.c             |  12 +
 drivers/raw/ifpga/version.map                 |  17 -
 drivers/version.map                           |   3 -
 lib/acl/acl_bld.c                             |   2 +
 lib/acl/acl_run_scalar.c                      |   3 +
 lib/acl/rte_acl.c                             |  12 +
 lib/acl/version.map                           |  19 -
 lib/argparse/rte_argparse.c                   |   3 +
 lib/argparse/version.map                      |   9 -
 lib/bbdev/bbdev_trace_points.c                |   3 +
 lib/bbdev/rte_bbdev.c                         |  32 +
 lib/bbdev/version.map                         |  47 --
 lib/bitratestats/rte_bitrate.c                |   5 +
 lib/bitratestats/version.map                  |  10 -
 lib/bpf/bpf.c                                 |   3 +
 lib/bpf/bpf_convert.c                         |   2 +
 lib/bpf/bpf_dump.c                            |   2 +
 lib/bpf/bpf_exec.c                            |   3 +
 lib/bpf/bpf_load.c                            |   2 +
 lib/bpf/bpf_load_elf.c                        |   2 +
 lib/bpf/bpf_pkt.c                             |   5 +
 lib/bpf/bpf_stub.c                            |   3 +
 lib/bpf/version.map                           |  18 -
 lib/cfgfile/rte_cfgfile.c                     |  18 +
 lib/cfgfile/version.map                       |  23 -
 lib/cmdline/cmdline.c                         |  10 +
 lib/cmdline/cmdline_cirbuf.c                  |  21 +
 lib/cmdline/cmdline_parse.c                   |   5 +
 lib/cmdline/cmdline_parse_bool.c              |   2 +
 lib/cmdline/cmdline_parse_etheraddr.c         |   4 +
 lib/cmdline/cmdline_parse_ipaddr.c            |   4 +
 lib/cmdline/cmdline_parse_num.c               |   4 +
 lib/cmdline/cmdline_parse_portlist.c          |   4 +
 lib/cmdline/cmdline_parse_string.c            |   6 +
 lib/cmdline/cmdline_rdline.c                  |  17 +
 lib/cmdline/cmdline_socket.c                  |   5 +
 lib/cmdline/cmdline_vt100.c                   |   4 +
 lib/cmdline/version.map                       |  82 ---
 lib/compressdev/rte_comp.c                    |   7 +
 lib/compressdev/rte_compressdev.c             |  26 +
 lib/compressdev/rte_compressdev_pmd.c         |   4 +
 lib/compressdev/version.map                   |  40 --
 lib/cryptodev/cryptodev_pmd.c                 |   8 +
 lib/cryptodev/cryptodev_trace_points.c        |   4 +
 lib/cryptodev/rte_cryptodev.c                 |  84 +++
 lib/cryptodev/version.map                     | 114 ----
 lib/dispatcher/rte_dispatcher.c               |  14 +
 lib/dispatcher/version.map                    |  20 -
 lib/distributor/rte_distributor.c             |  10 +
 lib/distributor/version.map                   |  15 -
 lib/dmadev/rte_dmadev.c                       |  20 +
 lib/dmadev/rte_dmadev_trace_points.c          |   8 +
 lib/dmadev/version.map                        |  47 --
 lib/eal/arm/rte_cpuflags.c                    |   4 +
 lib/eal/arm/rte_hypervisor.c                  |   2 +
 lib/eal/arm/rte_power_intrinsics.c            |   5 +
 lib/eal/common/eal_common_bus.c               |  11 +
 lib/eal/common/eal_common_class.c             |   5 +
 lib/eal/common/eal_common_config.c            |   8 +
 lib/eal/common/eal_common_cpuflags.c          |   2 +
 lib/eal/common/eal_common_debug.c             |   3 +
 lib/eal/common/eal_common_dev.c               |  20 +
 lib/eal/common/eal_common_devargs.c           |  10 +
 lib/eal/common/eal_common_errno.c             |   3 +
 lib/eal/common/eal_common_fbarray.c           |  27 +
 lib/eal/common/eal_common_hexdump.c           |   3 +
 lib/eal/common/eal_common_hypervisor.c        |   2 +
 lib/eal/common/eal_common_interrupts.c        |  28 +
 lib/eal/common/eal_common_launch.c            |   6 +
 lib/eal/common/eal_common_lcore.c             |  18 +
 lib/eal/common/eal_common_lcore_var.c         |   2 +
 lib/eal/common/eal_common_mcfg.c              |  21 +
 lib/eal/common/eal_common_memory.c            |  30 +
 lib/eal/common/eal_common_memzone.c           |  10 +
 lib/eal/common/eal_common_options.c           |   5 +
 lib/eal/common/eal_common_proc.c              |   9 +
 lib/eal/common/eal_common_string_fns.c        |   4 +
 lib/eal/common/eal_common_tailqs.c            |   4 +
 lib/eal/common/eal_common_thread.c            |  15 +
 lib/eal/common/eal_common_timer.c             |   5 +
 lib/eal/common/eal_common_trace.c             |  16 +
 lib/eal/common/eal_common_trace_ctf.c         |   2 +
 lib/eal/common/eal_common_trace_points.c      |  19 +
 lib/eal/common/eal_common_trace_utils.c       |   2 +
 lib/eal/common/eal_common_uuid.c              |   5 +
 lib/eal/common/eal_symbol_exports.h           |  82 +++
 lib/eal/common/rte_bitset.c                   |   2 +
 lib/eal/common/rte_keepalive.c                |   7 +
 lib/eal/common/rte_malloc.c                   |  23 +
 lib/eal/common/rte_random.c                   |   5 +
 lib/eal/common/rte_reciprocal.c               |   3 +
 lib/eal/common/rte_service.c                  |  32 +
 lib/eal/common/rte_version.c                  |   8 +
 lib/eal/freebsd/eal.c                         |  23 +
 lib/eal/freebsd/eal_alarm.c                   |   3 +
 lib/eal/freebsd/eal_dev.c                     |   5 +
 lib/eal/freebsd/eal_interrupts.c              |  20 +
 lib/eal/freebsd/eal_memory.c                  |   4 +
 lib/eal/freebsd/eal_thread.c                  |   3 +
 lib/eal/freebsd/eal_timer.c                   |   2 +
 lib/eal/include/rte_function_versioning.h     |  99 ---
 lib/eal/linux/eal.c                           |   8 +
 lib/eal/linux/eal_alarm.c                     |   3 +
 lib/eal/linux/eal_dev.c                       |   5 +
 lib/eal/linux/eal_interrupts.c                |  20 +
 lib/eal/linux/eal_memory.c                    |   4 +
 lib/eal/linux/eal_thread.c                    |   3 +
 lib/eal/linux/eal_timer.c                     |   5 +
 lib/eal/linux/eal_vfio.c                      |  17 +
 lib/eal/loongarch/rte_cpuflags.c              |   4 +
 lib/eal/loongarch/rte_hypervisor.c            |   2 +
 lib/eal/loongarch/rte_power_intrinsics.c      |   5 +
 lib/eal/ppc/rte_cpuflags.c                    |   4 +
 lib/eal/ppc/rte_hypervisor.c                  |   2 +
 lib/eal/ppc/rte_power_intrinsics.c            |   5 +
 lib/eal/riscv/rte_cpuflags.c                  |   4 +
 lib/eal/riscv/rte_hypervisor.c                |   2 +
 lib/eal/riscv/rte_power_intrinsics.c          |   5 +
 lib/eal/unix/eal_debug.c                      |   3 +
 lib/eal/unix/eal_filesystem.c                 |   2 +
 lib/eal/unix/eal_firmware.c                   |   2 +
 lib/eal/unix/eal_unix_memory.c                |   5 +
 lib/eal/unix/eal_unix_timer.c                 |   2 +
 lib/eal/unix/rte_thread.c                     |  14 +
 lib/eal/version.map                           | 451 --------------
 lib/eal/windows/eal.c                         |  12 +
 lib/eal/windows/eal_alarm.c                   |   3 +
 lib/eal/windows/eal_debug.c                   |   2 +
 lib/eal/windows/eal_dev.c                     |   5 +
 lib/eal/windows/eal_interrupts.c              |  20 +
 lib/eal/windows/eal_memory.c                  |   8 +
 lib/eal/windows/eal_mp.c                      |   7 +
 lib/eal/windows/eal_thread.c                  |   2 +
 lib/eal/windows/eal_timer.c                   |   2 +
 lib/eal/windows/rte_thread.c                  |  15 +
 lib/eal/x86/rte_cpuflags.c                    |   4 +
 lib/eal/x86/rte_hypervisor.c                  |   2 +
 lib/eal/x86/rte_power_intrinsics.c            |   5 +
 lib/eal/x86/rte_spinlock.c                    |   2 +
 lib/efd/rte_efd.c                             |   8 +
 lib/efd/version.map                           |  13 -
 lib/ethdev/ethdev_driver.c                    |  25 +
 lib/ethdev/ethdev_linux_ethtool.c             |   4 +
 lib/ethdev/ethdev_private.c                   |   3 +
 lib/ethdev/ethdev_trace_points.c              |   7 +
 lib/ethdev/rte_ethdev.c                       | 169 +++++
 lib/ethdev/rte_ethdev_cman.c                  |   5 +
 lib/ethdev/rte_flow.c                         |  65 ++
 lib/ethdev/rte_mtr.c                          |  22 +
 lib/ethdev/rte_tm.c                           |  32 +
 lib/ethdev/version.map                        | 378 ------------
 lib/eventdev/eventdev_private.c               |   3 +
 lib/eventdev/eventdev_trace_points.c          |  12 +
 lib/eventdev/rte_event_crypto_adapter.c       |  16 +
 lib/eventdev/rte_event_dma_adapter.c          |  16 +
 lib/eventdev/rte_event_eth_rx_adapter.c       |  24 +
 lib/eventdev/rte_event_eth_tx_adapter.c       |  18 +
 lib/eventdev/rte_event_ring.c                 |   5 +
 lib/eventdev/rte_event_timer_adapter.c        |  12 +
 lib/eventdev/rte_eventdev.c                   |  47 ++
 lib/eventdev/version.map                      | 179 ------
 lib/fib/rte_fib.c                             |  11 +
 lib/fib/rte_fib6.c                            |  10 +
 lib/fib/version.map                           |  31 -
 lib/gpudev/gpudev.c                           |  33 +
 lib/gpudev/version.map                        |  44 --
 lib/graph/graph.c                             |  17 +
 lib/graph/graph_debug.c                       |   3 +
 lib/graph/graph_stats.c                       |   5 +
 lib/graph/node.c                              |  12 +
 lib/graph/rte_graph_model_mcore_dispatch.c    |   4 +
 lib/graph/rte_graph_worker.c                  |   4 +
 lib/graph/version.map                         |  61 --
 lib/gro/rte_gro.c                             |   7 +
 lib/gro/version.map                           |  12 -
 lib/gso/rte_gso.c                             |   2 +
 lib/gso/version.map                           |   7 -
 lib/hash/rte_cuckoo_hash.c                    |  28 +
 lib/hash/rte_fbk_hash.c                       |   4 +
 lib/hash/rte_hash_crc.c                       |   3 +
 lib/hash/rte_thash.c                          |  13 +
 lib/hash/rte_thash_gf2_poly_math.c            |   2 +
 lib/hash/rte_thash_gfni.c                     |   3 +
 lib/hash/version.map                          |  66 --
 lib/ip_frag/rte_ip_frag_common.c              |   6 +
 lib/ip_frag/rte_ipv4_fragmentation.c          |   3 +
 lib/ip_frag/rte_ipv4_reassembly.c             |   2 +
 lib/ip_frag/rte_ipv6_fragmentation.c          |   2 +
 lib/ip_frag/rte_ipv6_reassembly.c             |   2 +
 lib/ip_frag/version.map                       |  16 -
 lib/ipsec/ipsec_sad.c                         |   7 +
 lib/ipsec/ipsec_telemetry.c                   |   3 +
 lib/ipsec/sa.c                                |   5 +
 lib/ipsec/ses.c                               |   2 +
 lib/ipsec/version.map                         |  23 -
 lib/jobstats/rte_jobstats.c                   |  15 +
 lib/jobstats/version.map                      |  20 -
 lib/kvargs/rte_kvargs.c                       |   9 +
 lib/kvargs/version.map                        |  14 -
 lib/latencystats/rte_latencystats.c           |   6 +
 lib/latencystats/version.map                  |  11 -
 lib/log/log.c                                 |  23 +
 lib/log/log_color.c                           |   2 +
 lib/log/log_internal.h                        |   3 -
 lib/log/log_syslog.c                          |   2 +
 lib/log/log_timestamp.c                       |   2 +
 lib/log/version.map                           |  37 --
 lib/lpm/rte_lpm.c                             |   9 +
 lib/lpm/rte_lpm6.c                            |  11 +
 lib/lpm/version.map                           |  24 -
 lib/mbuf/rte_mbuf.c                           |  18 +
 lib/mbuf/rte_mbuf_dyn.c                       |  10 +
 lib/mbuf/rte_mbuf_pool_ops.c                  |   6 +
 lib/mbuf/rte_mbuf_ptype.c                     |   9 +
 lib/mbuf/version.map                          |  45 --
 lib/member/rte_member.c                       |  14 +
 lib/member/version.map                        |  19 -
 lib/mempool/mempool_trace_points.c            |  11 +
 lib/mempool/rte_mempool.c                     |  28 +
 lib/mempool/rte_mempool_ops.c                 |   5 +
 lib/mempool/rte_mempool_ops_default.c         |   5 +
 lib/mempool/version.map                       |  65 --
 lib/meson.build                               |  67 +-
 lib/meter/rte_meter.c                         |   7 +
 lib/meter/version.map                         |  12 -
 lib/metrics/rte_metrics.c                     |   9 +
 lib/metrics/rte_metrics_telemetry.c           |  12 +
 lib/metrics/version.map                       |  26 -
 lib/mldev/mldev_utils.c                       |   3 +
 lib/mldev/mldev_utils_neon.c                  |  20 +
 lib/mldev/mldev_utils_neon_bfloat16.c         |   4 +
 lib/mldev/mldev_utils_scalar.c                |  20 +
 lib/mldev/mldev_utils_scalar_bfloat16.c       |   4 +
 lib/mldev/rte_mldev.c                         |  38 ++
 lib/mldev/rte_mldev_pmd.c                     |   3 +
 lib/mldev/version.map                         |  74 ---
 lib/net/net_crc.h                             |  15 -
 lib/net/rte_arp.c                             |   2 +
 lib/net/rte_ether.c                           |   4 +
 lib/net/rte_net.c                             |   3 +
 lib/net/rte_net_crc.c                         |  31 +-
 lib/net/version.map                           |  23 -
 lib/node/ethdev_ctrl.c                        |   3 +
 lib/node/ip4_lookup.c                         |   2 +
 lib/node/ip4_reassembly.c                     |   2 +
 lib/node/ip4_rewrite.c                        |   2 +
 lib/node/ip6_lookup.c                         |   2 +
 lib/node/ip6_rewrite.c                        |   2 +
 lib/node/udp4_input.c                         |   3 +
 lib/node/version.map                          |  25 -
 lib/pcapng/rte_pcapng.c                       |   8 +
 lib/pcapng/version.map                        |  13 -
 lib/pci/rte_pci.c                             |   4 +
 lib/pci/version.map                           |   9 -
 lib/pdcp/rte_pdcp.c                           |   6 +
 lib/pdcp/version.map                          |  16 -
 lib/pdump/rte_pdump.c                         |  10 +
 lib/pdump/version.map                         |  15 -
 lib/pipeline/rte_pipeline.c                   |  24 +
 lib/pipeline/rte_port_in_action.c             |   9 +
 lib/pipeline/rte_swx_ctl.c                    |  18 +
 lib/pipeline/rte_swx_ipsec.c                  |   8 +
 lib/pipeline/rte_swx_pipeline.c               |  74 +++
 lib/pipeline/rte_table_action.c               |  17 +
 lib/pipeline/version.map                      | 172 ------
 lib/port/rte_port_ethdev.c                    |   4 +
 lib/port/rte_port_eventdev.c                  |   4 +
 lib/port/rte_port_fd.c                        |   4 +
 lib/port/rte_port_frag.c                      |   3 +
 lib/port/rte_port_ras.c                       |   3 +
 lib/port/rte_port_ring.c                      |   7 +
 lib/port/rte_port_sched.c                     |   3 +
 lib/port/rte_port_source_sink.c               |   3 +
 lib/port/rte_port_sym_crypto.c                |   4 +
 lib/port/rte_swx_port_ethdev.c                |   3 +
 lib/port/rte_swx_port_fd.c                    |   3 +
 lib/port/rte_swx_port_ring.c                  |   3 +
 lib/port/rte_swx_port_source_sink.c           |   4 +
 lib/port/version.map                          |  50 --
 lib/power/power_common.c                      |   9 +
 lib/power/rte_power_cpufreq.c                 |  19 +
 lib/power/rte_power_pmd_mgmt.c                |  11 +
 lib/power/rte_power_qos.c                     |   3 +
 lib/power/rte_power_uncore.c                  |  15 +
 lib/power/version.map                         |  71 ---
 lib/rawdev/rte_rawdev.c                       |  31 +
 lib/rawdev/version.map                        |  36 --
 lib/rcu/rte_rcu_qsbr.c                        |  12 +
 lib/rcu/version.map                           |  17 -
 lib/regexdev/rte_regexdev.c                   |  27 +
 lib/regexdev/version.map                      |  40 --
 lib/reorder/rte_reorder.c                     |  12 +
 lib/reorder/version.map                       |  27 -
 lib/rib/rte_rib.c                             |  15 +
 lib/rib/rte_rib6.c                            |  15 +
 lib/rib/version.map                           |  34 --
 lib/ring/rte_ring.c                           |  12 +
 lib/ring/rte_soring.c                         |   4 +
 lib/ring/soring.c                             |  18 +
 lib/ring/version.map                          |  42 --
 lib/sched/rte_approx.c                        |   2 +
 lib/sched/rte_pie.c                           |   3 +
 lib/sched/rte_red.c                           |   7 +
 lib/sched/rte_sched.c                         |  16 +
 lib/sched/version.map                         |  30 -
 lib/security/rte_security.c                   |  21 +
 lib/security/version.map                      |  37 --
 lib/stack/rte_stack.c                         |   4 +
 lib/stack/version.map                         |   9 -
 lib/table/rte_swx_table_em.c                  |   3 +
 lib/table/rte_swx_table_learner.c             |  11 +
 lib/table/rte_swx_table_selector.c            |   7 +
 lib/table/rte_swx_table_wm.c                  |   2 +
 lib/table/rte_table_acl.c                     |   2 +
 lib/table/rte_table_array.c                   |   2 +
 lib/table/rte_table_hash_cuckoo.c             |   2 +
 lib/table/rte_table_hash_ext.c                |   2 +
 lib/table/rte_table_hash_key16.c              |   3 +
 lib/table/rte_table_hash_key32.c              |   3 +
 lib/table/rte_table_hash_key8.c               |   3 +
 lib/table/rte_table_hash_lru.c                |   2 +
 lib/table/rte_table_lpm.c                     |   2 +
 lib/table/rte_table_lpm_ipv6.c                |   2 +
 lib/table/rte_table_stub.c                    |   2 +
 lib/table/version.map                         |  53 --
 lib/telemetry/telemetry.c                     |   4 +
 lib/telemetry/telemetry_data.c                |  18 +
 lib/telemetry/telemetry_legacy.c              |   2 +
 lib/telemetry/version.map                     |  40 --
 lib/timer/rte_timer.c                         |  19 +
 lib/timer/version.map                         |  24 -
 lib/vhost/socket.c                            |  17 +
 lib/vhost/vdpa.c                              |  12 +
 lib/vhost/version.map                         | 111 ----
 lib/vhost/vhost.c                             |  42 ++
 lib/vhost/vhost_crypto.c                      |   7 +
 lib/vhost/vhost_user.c                        |   3 +
 lib/vhost/virtio_net.c                        |   8 +
 536 files changed, 5133 insertions(+), 6573 deletions(-)
 create mode 100755 buildtools/gen-version-map.py
 delete mode 100644 buildtools/map_to_win.py
 create mode 100755 devtools/check-symbol-change.py
 delete mode 100755 devtools/check-symbol-change.sh
 delete mode 100755 devtools/check-symbol-maps.sh
 delete mode 100755 devtools/update-abi.sh
 delete mode 100755 devtools/update_version_map_abi.py
 delete mode 100644 drivers/baseband/acc/version.map
 delete mode 100644 drivers/baseband/fpga_5gnr_fec/version.map
 delete mode 100644 drivers/baseband/fpga_lte_fec/version.map
 delete mode 100644 drivers/bus/auxiliary/version.map
 delete mode 100644 drivers/bus/cdx/version.map
 create mode 100644 drivers/bus/dpaa/dpaa_bus_symbols.c
 delete mode 100644 drivers/bus/dpaa/version.map
 delete mode 100644 drivers/bus/fslmc/version.map
 delete mode 100644 drivers/bus/ifpga/version.map
 delete mode 100644 drivers/bus/pci/version.map
 delete mode 100644 drivers/bus/platform/version.map
 delete mode 100644 drivers/bus/uacce/version.map
 delete mode 100644 drivers/bus/vdev/version.map
 delete mode 100644 drivers/bus/vmbus/version.map
 create mode 100644 drivers/common/cnxk/roc_platform_symbols.c
 delete mode 100644 drivers/common/cnxk/version.map
 delete mode 100644 drivers/common/cpt/version.map
 delete mode 100644 drivers/common/dpaax/version.map
 delete mode 100644 drivers/common/ionic/version.map
 delete mode 100644 drivers/common/mlx5/version.map
 delete mode 100644 drivers/common/mvep/version.map
 delete mode 100644 drivers/common/nfp/version.map
 delete mode 100644 drivers/common/nitrox/version.map
 delete mode 100644 drivers/common/octeontx/version.map
 create mode 100644 drivers/common/sfc_efx/sfc_symbols.c
 delete mode 100644 drivers/common/sfc_efx/version.map
 delete mode 100644 drivers/crypto/cnxk/version.map
 delete mode 100644 drivers/crypto/dpaa2_sec/version.map
 delete mode 100644 drivers/crypto/dpaa_sec/version.map
 delete mode 100644 drivers/crypto/octeontx/version.map
 delete mode 100644 drivers/crypto/scheduler/version.map
 delete mode 100644 drivers/dma/cnxk/version.map
 delete mode 100644 drivers/event/cnxk/version.map
 delete mode 100644 drivers/event/dlb2/version.map
 delete mode 100644 drivers/mempool/cnxk/version.map
 delete mode 100644 drivers/mempool/dpaa/version.map
 delete mode 100644 drivers/mempool/dpaa2/version.map
 delete mode 100644 drivers/net/atlantic/version.map
 delete mode 100644 drivers/net/bnxt/version.map
 delete mode 100644 drivers/net/bonding/version.map
 delete mode 100644 drivers/net/cnxk/version.map
 delete mode 100644 drivers/net/dpaa/version.map
 create mode 100644 drivers/net/dpaa2/dpaa2_symbols.c
 delete mode 100644 drivers/net/dpaa2/version.map
 delete mode 100644 drivers/net/intel/i40e/version.map
 create mode 100644 drivers/net/intel/iavf/iavf_symbols.c
 delete mode 100644 drivers/net/intel/iavf/version.map
 delete mode 100644 drivers/net/intel/ice/version.map
 delete mode 100644 drivers/net/intel/idpf/version.map
 delete mode 100644 drivers/net/intel/ipn3ke/version.map
 delete mode 100644 drivers/net/intel/ixgbe/version.map
 delete mode 100644 drivers/net/mlx5/version.map
 delete mode 100644 drivers/net/octeontx/version.map
 delete mode 100644 drivers/net/ring/version.map
 delete mode 100644 drivers/net/softnic/version.map
 delete mode 100644 drivers/net/vhost/version.map
 delete mode 100644 drivers/power/kvm_vm/version.map
 delete mode 100644 drivers/raw/cnxk_rvu_lf/version.map
 delete mode 100644 drivers/raw/ifpga/version.map
 delete mode 100644 drivers/version.map
 delete mode 100644 lib/acl/version.map
 delete mode 100644 lib/argparse/version.map
 delete mode 100644 lib/bbdev/version.map
 delete mode 100644 lib/bitratestats/version.map
 delete mode 100644 lib/bpf/version.map
 delete mode 100644 lib/cfgfile/version.map
 delete mode 100644 lib/cmdline/version.map
 delete mode 100644 lib/compressdev/version.map
 delete mode 100644 lib/cryptodev/version.map
 delete mode 100644 lib/dispatcher/version.map
 delete mode 100644 lib/distributor/version.map
 delete mode 100644 lib/dmadev/version.map
 create mode 100644 lib/eal/common/eal_symbol_exports.h
 delete mode 100644 lib/eal/include/rte_function_versioning.h
 delete mode 100644 lib/eal/version.map
 delete mode 100644 lib/efd/version.map
 delete mode 100644 lib/ethdev/version.map
 delete mode 100644 lib/eventdev/version.map
 delete mode 100644 lib/fib/version.map
 delete mode 100644 lib/gpudev/version.map
 delete mode 100644 lib/graph/version.map
 delete mode 100644 lib/gro/version.map
 delete mode 100644 lib/gso/version.map
 delete mode 100644 lib/hash/version.map
 delete mode 100644 lib/ip_frag/version.map
 delete mode 100644 lib/ipsec/version.map
 delete mode 100644 lib/jobstats/version.map
 delete mode 100644 lib/kvargs/version.map
 delete mode 100644 lib/latencystats/version.map
 delete mode 100644 lib/log/version.map
 delete mode 100644 lib/lpm/version.map
 delete mode 100644 lib/mbuf/version.map
 delete mode 100644 lib/member/version.map
 delete mode 100644 lib/mempool/version.map
 delete mode 100644 lib/meter/version.map
 delete mode 100644 lib/metrics/version.map
 delete mode 100644 lib/mldev/version.map
 delete mode 100644 lib/net/version.map
 delete mode 100644 lib/node/version.map
 delete mode 100644 lib/pcapng/version.map
 delete mode 100644 lib/pci/version.map
 delete mode 100644 lib/pdcp/version.map
 delete mode 100644 lib/pdump/version.map
 delete mode 100644 lib/pipeline/version.map
 delete mode 100644 lib/port/version.map
 delete mode 100644 lib/power/version.map
 delete mode 100644 lib/rawdev/version.map
 delete mode 100644 lib/rcu/version.map
 delete mode 100644 lib/regexdev/version.map
 delete mode 100644 lib/reorder/version.map
 delete mode 100644 lib/rib/version.map
 delete mode 100644 lib/ring/version.map
 delete mode 100644 lib/sched/version.map
 delete mode 100644 lib/security/version.map
 delete mode 100644 lib/stack/version.map
 delete mode 100644 lib/table/version.map
 delete mode 100644 lib/telemetry/version.map
 delete mode 100644 lib/timer/version.map
 delete mode 100644 lib/vhost/version.map

-- 
2.48.1
#65 lore raw

PATCH v6 1/8 lib: remove incorrect exported symbols

Declaring inline helpers in version.map is unnecessary. There is no exported symbol and this will probably be treated as an error by MSVC linker.

eal_log_journal has no implementation and can be removed.

---
 lib/eventdev/version.map | 12 ------------
 lib/graph/version.map    | 17 -----------------
 lib/ipsec/version.map    |  4 ----
 lib/log/log_internal.h   |  3 ---
 lib/log/version.map      |  1 -
 lib/pdcp/version.map     |  4 ----
 lib/regexdev/version.map |  2 --
 lib/vhost/version.map    |  1 -
 8 files changed, 44 deletions(-)
lib/eventdev/version.map +0 -12
index 44687255cb..bff08d6a62 100644
@@ -102,9 +102,6 @@ DPDK_25 {
 	rte_event_timer_adapter_stats_get;
 	rte_event_timer_adapter_stats_reset;
 	rte_event_timer_adapter_stop;
-	rte_event_timer_arm_burst;
-	rte_event_timer_arm_tmo_tick_burst;
-	rte_event_timer_cancel_burst;
 	rte_event_vector_pool_create;
 
 	local: *;
@@ -149,9 +146,7 @@ EXPERIMENTAL {
 	__rte_eventdev_trace_port_profile_switch;
 
 	# added in 24.11
-	rte_event_port_preschedule_modify;
 	__rte_eventdev_trace_port_preschedule_modify;
-	rte_event_port_preschedule;
 	__rte_eventdev_trace_port_preschedule;
 
 	# added in 25.03
@@ -166,14 +161,7 @@ INTERNAL {
 	event_dev_probing_finish;
 	rte_event_logtype;
 	rte_event_pmd_allocate;
-	rte_event_pmd_get_named_dev;
-	rte_event_pmd_is_valid_dev;
-	rte_event_pmd_pci_probe;
-	rte_event_pmd_pci_probe_named;
-	rte_event_pmd_pci_remove;
 	rte_event_pmd_release;
 	rte_event_pmd_selftest_seqn_dynfield_offset;
-	rte_event_pmd_vdev_init;
-	rte_event_pmd_vdev_uninit;
 	rte_eventdevs;
 };
lib/graph/version.map +0 -17
index 44fadc00fd..d03d44434d 100644
@@ -27,9 +27,7 @@ DPDK_25 {
 	rte_graph_node_get;
 	rte_graph_node_get_by_name;
 	rte_graph_obj_dump;
-	rte_graph_walk;
 	rte_graph_worker_model_get;
-	rte_graph_worker_model_no_check_get;
 	rte_graph_worker_model_set;
 	rte_node_clone;
 	rte_node_dump;
@@ -37,25 +35,10 @@ DPDK_25 {
 	rte_node_edge_get;
 	rte_node_edge_shrink;
 	rte_node_edge_update;
-	rte_node_enqueue;
-	rte_node_enqueue_next;
-	rte_node_enqueue_x1;
-	rte_node_enqueue_x2;
-	rte_node_enqueue_x4;
 	rte_node_from_name;
 	rte_node_id_to_name;
 	rte_node_list_dump;
 	rte_node_max_count;
-	rte_node_next_stream_get;
-	rte_node_next_stream_move;
-	rte_node_next_stream_put;
 
 	local: *;
 };
-
-EXPERIMENTAL {
-	global:
-
-	# added in 24.11
-	rte_node_xstat_increment;
-};
lib/ipsec/version.map +0 -4
index 308f9d2e0d..47e3df5bb6 100644
@@ -1,9 +1,6 @@
 DPDK_25 {
 	global:
 
-	rte_ipsec_pkt_crypto_group;
-	rte_ipsec_pkt_crypto_prepare;
-	rte_ipsec_pkt_process;
 	rte_ipsec_sa_fini;
 	rte_ipsec_sa_init;
 	rte_ipsec_sa_size;
@@ -14,7 +11,6 @@ DPDK_25 {
 	rte_ipsec_sad_destroy;
 	rte_ipsec_sad_find_existing;
 	rte_ipsec_sad_lookup;
-	rte_ipsec_ses_from_crypto;
 	rte_ipsec_session_prepare;
 	rte_ipsec_telemetry_sa_add;
 	rte_ipsec_telemetry_sa_del;
lib/log/log_internal.h +0 -3
index bba7041ea3..525e1397fd 100644
@@ -29,9 +29,6 @@ int eal_log_save_pattern(const char *pattern, uint32_t level);
 __rte_internal
 int eal_log_syslog(const char *name);
 
-__rte_internal
-int eal_log_journal(const char *opt);
-
 /*
  * Convert log level to string.
  */
lib/log/version.map +0 -1
index 09d8a4289b..603be493b3 100644
@@ -27,7 +27,6 @@ INTERNAL {
 
 	eal_log_color;
 	eal_log_init;
-	eal_log_journal; # WINDOWS_NO_EXPORT
 	eal_log_level2str;
 	eal_log_save_pattern;
 	eal_log_save_regexp;
lib/pdcp/version.map +0 -4
index 9c02303c45..72b2d4729b 100644
@@ -3,13 +3,9 @@ EXPERIMENTAL {
 
 	# added in 23.07
 	rte_pdcp_control_pdu_create;
-	rte_pdcp_en_from_cop;
 	rte_pdcp_entity_establish;
 	rte_pdcp_entity_release;
 	rte_pdcp_entity_suspend;
-	rte_pdcp_pkt_post_process;
-	rte_pdcp_pkt_pre_process;
-	rte_pdcp_pkt_crypto_group;
 	rte_pdcp_t_reordering_expiry_handle;
 
 	local: *;
lib/regexdev/version.map +0 -2
index 4c0435180c..713a800ca4 100644
@@ -7,9 +7,7 @@ EXPERIMENTAL {
 	rte_regexdev_close;
 	rte_regexdev_configure;
 	rte_regexdev_count;
-	rte_regexdev_dequeue_burst;
 	rte_regexdev_dump;
-	rte_regexdev_enqueue_burst;
 	rte_regexdev_get_dev_id;
 	rte_regexdev_info_get;
 	rte_regexdev_queue_pair_setup;
lib/vhost/version.map +0 -1
index 8333e100ed..c044bb714e 100644
@@ -61,7 +61,6 @@ DPDK_25 {
 	rte_vhost_set_last_inflight_io_packed;
 	rte_vhost_set_last_inflight_io_split;
 	rte_vhost_set_vring_base;
-	rte_vhost_va_from_guest_pa;
 	rte_vhost_vring_call;
 	rte_vhost_vring_call_nonblock;
 	rte_vhost_vring_stats_get;
Signature · 1 line
2.48.1
#66 lore raw

PATCH v6 2/8 drivers: remove incorrect exported symbols

In reply to David Marchand

Declaring inline helpers in version.map is unnecessary. There is no exported symbol and this will probably be treated as an error by MSVC linker.

rte_dpaa2_dev_type is an enum token.
roc_se_ctx_swap has no implementation (leftover from a previous rework) and can be removed.

---
 drivers/bus/dpaa/version.map    | 1 -
 drivers/bus/fslmc/version.map   | 2 --
 drivers/common/cnxk/roc_se.h    | 1 -
 drivers/common/cnxk/version.map | 2 --
 4 files changed, 6 deletions(-)
drivers/bus/dpaa/version.map +0 -1
index a17d57632e..8f09b72757 100644
@@ -18,7 +18,6 @@ INTERNAL {
 	dpaa_update_link_speed;
 	dpaa_intr_disable;
 	dpaa_intr_enable;
-	dpaa_seqn;
 	dpaa_svr_family;
 	dpaa_update_link_status;
 	fman_dealloc_bufs_mask_hi;
drivers/bus/fslmc/version.map +0 -2
index 2c36895285..ba3c7f36e3 100644
@@ -22,7 +22,6 @@ INTERNAL {
 	dpaa2_get_mcp_ptr;
 	dpaa2_io_portal;
 	dpaa2_seqn_dynfield_offset;
-	dpaa2_seqn;
 	dpaa2_svr_family;
 	dpbp_disable;
 	dpbp_enable;
@@ -108,7 +107,6 @@ INTERNAL {
 	qbman_swp_push_set;
 	qbman_swp_release;
 	rte_dpaa2_alloc_dpci_dev;
-	rte_dpaa2_dev_type;
 	rte_dpaa2_free_dpci_dev;
 	rte_dpaa2_intr_disable;
 	rte_dpaa2_intr_enable;
drivers/common/cnxk/roc_se.h +0 -1
index ede8d69c0e..f2c4056169 100644
@@ -405,7 +405,6 @@ int __roc_api roc_se_auth_key_set(struct roc_se_ctx *se_ctx, roc_se_auth_type ty
 int __roc_api roc_se_ciph_key_set(struct roc_se_ctx *se_ctx, roc_se_cipher_type type,
 				  const uint8_t *key, uint16_t key_len);
 
-void __roc_api roc_se_ctx_swap(struct roc_se_ctx *se_ctx);
 void __roc_api roc_se_ctx_init(struct roc_se_ctx *se_ctx);
 
 void __roc_api roc_se_hmac_opad_ipad_gen(roc_se_auth_type auth_type, const uint8_t *key,
drivers/common/cnxk/version.map +0 -2
index cdbfc1d39a..7f40dcced2 100644
@@ -164,7 +164,6 @@ INTERNAL {
 	roc_mcs_custom_tag_cfg_get;
 	roc_mcs_dev_init;
 	roc_mcs_dev_fini;
-	roc_mcs_dev_get;
 	roc_mcs_event_cb_register;
 	roc_mcs_event_cb_unregister;
 	roc_mcs_flowid_entry_enable;
@@ -546,7 +545,6 @@ INTERNAL {
 	roc_tim_lf_enable;
 	roc_tim_lf_free;
 	roc_tim_lf_interval;
-	roc_se_ctx_swap;
 	roc_ree_af_reg_read;
 	roc_ree_af_reg_write;
 	roc_ree_config_lf;
Signature · 1 line
2.48.1
#67 lore raw

PATCH v6 3/8 buildtools: display version when listing symbols

In reply to David Marchand

Display the version when a symbol was introduced.
This is needed for scripting the conversion from static to dynamically generated version maps.
It is also useful when listing experimental symbols.

---
 buildtools/map-list-symbol.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
buildtools/map-list-symbol.sh +1 -1
index 43f276c05f..eb98451d8e 100755
@@ -73,7 +73,7 @@ for file in $@; do
 		if ("'$symbol'" == "all" || $1 == "'$symbol'") {
 			ret = 0;
 			if ("'$quiet'" == "") {
-				print "'$file' "current_section" "$1;
+				print "'$file' "current_section" "$1" "current_version;
 			}
 			if ("'$symbol'" != "all") {
 				exit 0;
Signature · 1 line
2.48.1
#68 lore raw

Re: [PATCH v6 3/8] buildtools: display version when listing symbols

28/03/2025 11:52, David Marchand:

Quoted 4 lines

Display the version when a symbol was introduced.
This is needed for scripting the conversion from static to dynamically generated version maps.
It is also useful when listing experimental symbols.

I feel the title needs a bit more context, maybe adding "map"?
buildtools: display version when listing symbols from map
buildtools: display symbols version from map

Do we still need this script after this series?
Should we remove some scripts?

#69 lore raw

Re: [PATCH v6 3/8] buildtools: display version when listing symbols

Quoted 10 lines · Thomas Monjalon

28/03/2025 11:52, David Marchand:

Quoted 4 lines

Display the version when a symbol was introduced.
This is needed for scripting the conversion from static to dynamically generated version maps.
It is also useful when listing experimental symbols.

I feel the title needs a bit more context, maybe adding "map"?
buildtools: display version when listing symbols from map
buildtools: display symbols version from map

The second form lgtm.

Quoted 1 line

Do we still need this script after this series?

It is still used in check-symbols.sh, to catch symbols present in binaries that are not marked as experimental / internal. I don't think there is a way to replace this check.

Quoted 1 line

Should we remove some scripts?

I tried to remove as many as I could, but maybe I overlooked some.

Signature · 1 line
David Marchand
#70 lore raw

PATCH v6 4/8 build: generate symbol maps

In reply to David Marchand

Rather than maintain a file in parallel of the code, symbols to be exported can be marked with a token RTE_EXPORT_*SYMBOL.

From those marks, the build framework generates map files only for symbols actually compiled (which means that the WINDOWS_NO_EXPORT hack becomes unnecessary).

The build framework directly creates a map file in the format that the linker expects (rather than converting from GNU linker to MSVC linker).

Empty maps are allowed again as a replacement for drivers/version.map.

The symbol check is updated to only support the new format.

---
Changes since RFC v4:
- fixed MSVC export map (a msvc->mslinker update was missing),
- fixed join() error (with older meson? I don't see this on Fedora),
- explicit inclusion of header is now required,
- header has been renamed and moved to lib/eal/common/,
- because lib/log does not depend on EAL, added explicit include_directories,
- symbol versioning update has been moved later in the series, so updated gen-version-map.py accordingly,
- fixed bug when checking symbol removal,

Changes since RFC v3:
- polished python,
- fixed doc updates not belonging to this patch,
- renamed map files,
- changed msvc->mslinker as link mode,
- added parsing of AVX sources,

Changes since RFC v2:
- because of MSVC limitations wrt macro passed via cmdline, used an internal header for defining RTE_EXPORT_* macros,
- updated documentation and tooling,

---
 MAINTAINERS                                |   2 +
 buildtools/gen-version-map.py              | 106 ++++++++++
 buildtools/map-list-symbol.sh              |  10 +-
 buildtools/meson.build                     |   1 +
 devtools/check-symbol-change.py            |  90 ++++++++
 devtools/check-symbol-maps.sh              |  14 --
 devtools/checkpatches.sh                   |   2 +-
 doc/guides/contributing/abi_versioning.rst | 227 ++-------------------
 drivers/meson.build                        |  96 +++++----
 drivers/version.map                        |   3 -
 lib/eal/common/eal_symbol_exports.h        |  16 ++
 lib/meson.build                            |  94 ++++++---
 12 files changed, 365 insertions(+), 296 deletions(-)
 create mode 100755 buildtools/gen-version-map.py
 create mode 100755 devtools/check-symbol-change.py
 delete mode 100644 drivers/version.map
 create mode 100644 lib/eal/common/eal_symbol_exports.h
MAINTAINERS +2 -0
index 4b01103f8e..42ea07854b 100644
@@ -95,6 +95,7 @@ F: devtools/check-maintainers.sh
 F: devtools/check-forbidden-tokens.awk
 F: devtools/check-git-log.sh
 F: devtools/check-spdx-tag.sh
+F: devtools/check-symbol-change.py
 F: devtools/check-symbol-change.sh
 F: devtools/check-symbol-maps.sh
 F: devtools/checkpatches.sh
@@ -127,6 +128,7 @@ F: config/
 F: buildtools/check-symbols.sh
 F: buildtools/chkincs/
 F: buildtools/call-sphinx-build.py
+F: buildtools/gen-version-map.py
 F: buildtools/get-cpu-count.py
 F: buildtools/get-numa-count.py
 F: buildtools/list-dir-globs.py
buildtools/gen-version-map.py new file +106 -0

106 lines not on this page · raw message

buildtools/map-list-symbol.sh +7 -3
index eb98451d8e..0829df4be5 100755
@@ -62,10 +62,14 @@ for file in $@; do
 		if (current_section == "") {
 			next;
 		}
+		symbol_version = current_version
+		if (/^[^}].*[^:*]; # added in /) {
+			symbol_version = $5
+		}
 		if ("'$version'" != "") {
-			if ("'$version'" == "unset" && current_version != "") {
+			if ("'$version'" == "unset" && symbol_version != "") {
 				next;
-			} else if ("'$version'" != "unset" && "'$version'" != current_version) {
+			} else if ("'$version'" != "unset" && "'$version'" != symbol_version) {
 				next;
 			}
 		}
@@ -73,7 +77,7 @@ for file in $@; do
 		if ("'$symbol'" == "all" || $1 == "'$symbol'") {
 			ret = 0;
 			if ("'$quiet'" == "") {
-				print "'$file' "current_section" "$1" "current_version;
+				print "'$file' "current_section" "$1" "symbol_version;
 			}
 			if ("'$symbol'" != "all") {
 				exit 0;
buildtools/meson.build +1 -0
index 4e2c1217a2..b745e9afa4 100644
@@ -16,6 +16,7 @@ else
     py3 = ['meson', 'runpython']
 endif
 echo = py3 + ['-c', 'import sys; print(*sys.argv[1:])']
+gen_version_map = py3 + files('gen-version-map.py')
 list_dir_globs = py3 + files('list-dir-globs.py')
 map_to_win_cmd = py3 + files('map_to_win.py')
 sphinx_wrapper = py3 + files('call-sphinx-build.py')
devtools/check-symbol-change.py new file +90 -0

90 lines not on this page · raw message

devtools/check-symbol-maps.sh +0 -14
index 6121f78ec6..fcd3931e5d 100755
@@ -60,20 +60,6 @@ if [ -n "$local_miss_maps" ] ; then
     ret=1
 fi
 
-find_empty_maps ()
-{
-    for map in $@ ; do
-        [ $(buildtools/map-list-symbol.sh $map | wc -l) != '0' ] || echo $map
-    done
-}
-
-empty_maps=$(find_empty_maps $@)
-if [ -n "$empty_maps" ] ; then
-    echo "Found empty maps:"
-    echo "$empty_maps"
-    ret=1
-fi
-
 find_bad_format_maps ()
 {
     abi_version=$(cut -d'.' -f 1 ABI_VERSION)
devtools/checkpatches.sh +1 -1
index c9088bb403..9180c2b070 100755
@@ -33,7 +33,7 @@ VOLATILE,PREFER_PACKED,PREFER_ALIGNED,PREFER_PRINTF,STRLCPY,\
 PREFER_KERNEL_TYPES,PREFER_FALLTHROUGH,BIT_MACRO,CONST_STRUCT,\
 SPLIT_STRING,LONG_LINE_STRING,C99_COMMENT_TOLERANCE,\
 LINE_SPACING,PARENTHESIS_ALIGNMENT,NETWORKING_BLOCK_COMMENT_STYLE,\
-NEW_TYPEDEFS,COMPARISON_TO_NULL,AVOID_BUG"
+NEW_TYPEDEFS,COMPARISON_TO_NULL,AVOID_BUG,EXPORT_SYMBOL"
 options="$options $DPDK_CHECKPATCH_OPTIONS"
 
 print_usage () {
doc/guides/contributing/abi_versioning.rst +21 -206

347 lines not on this page · raw message

drivers/meson.build +59 -37

121 lines not on this page · raw message

drivers/version.map deleted +0 -3
deleted file mode 100644
index 17cc97bda6..0000000000
@@ -1,3 +0,0 @@
-DPDK_25 {
-	local: *;
-};
lib/eal/common/eal_symbol_exports.h new file +16 -0
new file mode 100644
index 0000000000..b3033dd336
@@ -0,0 +1,16 @@
+/* SPDX-License-Identifier: BSD-3-Clause
+ * Copyright (c) 2025 Red Hat, Inc.
+ */
+
+#ifndef EAL_SYMBOL_EXPORTS_H
+#define EAL_SYMBOL_EXPORTS_H
+
+/* Internal macros for exporting symbols, used by the build system.
+ * For RTE_EXPORT_EXPERIMENTAL_SYMBOL, ver indicates the
+ * version this symbol was introduced in.
+ */
+#define RTE_EXPORT_EXPERIMENTAL_SYMBOL(a, ver)
+#define RTE_EXPORT_INTERNAL_SYMBOL(a)
+#define RTE_EXPORT_SYMBOL(a)
+
+#endif /* EAL_SYMBOL_EXPORTS_H */
lib/meson.build +62 -32

130 lines not on this page · raw message

Signature · 1 line
2.48.1
#71 lore raw

Re: [PATCH v6 4/8] build: generate symbol maps

28/03/2025 11:52, David Marchand:

Quoted 9 lines

Rather than maintain a file in parallel of the code, symbols to be exported can be marked with a token RTE_EXPORT_*SYMBOL.

From those marks, the build framework generates map files only for symbols actually compiled (which means that the WINDOWS_NO_EXPORT hack becomes unnecessary).

The build framework directly creates a map file in the format that the linker expects (rather than converting from GNU linker to MSVC linker).

At this point of the series, the build is broken.
I suppose it is a tradeoff to avoid squashing 2 big patches together.

This is the error I hit:
drivers/meson.build:275:37: ERROR: Unknown variable "sources_avx2".

#72 lore raw

Re: [PATCH v6 4/8] build: generate symbol maps

Quoted 9 lines · Thomas Monjalon

28/03/2025 11:52, David Marchand:

Quoted 7 lines

Rather than maintain a file in parallel of the code, symbols to be exported can be marked with a token RTE_EXPORT_*SYMBOL.

From those marks, the build framework generates map files only for symbols actually compiled (which means that the WINDOWS_NO_EXPORT hack becomes unnecessary).

Quoted 8 lines
Quoted 2 lines

The build framework directly creates a map file in the format that the linker expects (rather than converting from GNU linker to MSVC linker).

At this point of the series, the build is broken.
I suppose it is a tradeoff to avoid squashing 2 big patches together.

This is the error I hit:
drivers/meson.build:275:37: ERROR: Unknown variable "sources_avx2".

Hum, I'll have to reproduce.
I had tested patch per patch in previous revisions, but I have a doubt after the rebase on top of Bruce series..

Signature · 1 line
David Marchand
#73 lore raw

Re: [PATCH v6 4/8] build: generate symbol maps

02/04/2025 09:00, David Marchand:

Quoted 16 lines · Thomas Monjalon
Quoted 15 lines

28/03/2025 11:52, David Marchand:

Quoted 9 lines

Rather than maintain a file in parallel of the code, symbols to be exported can be marked with a token RTE_EXPORT_*SYMBOL.

From those marks, the build framework generates map files only for symbols actually compiled (which means that the WINDOWS_NO_EXPORT hack becomes unnecessary).

The build framework directly creates a map file in the format that the linker expects (rather than converting from GNU linker to MSVC linker).

At this point of the series, the build is broken.
I suppose it is a tradeoff to avoid squashing 2 big patches together.

Quoted 6 lines
Quoted 2 lines

This is the error I hit:
drivers/meson.build:275:37: ERROR: Unknown variable "sources_avx2".

Hum, I'll have to reproduce.
I had tested patch per patch in previous revisions, but I have a doubt after the rebase on top of Bruce series..

Yes my bad, it works after pulling Bruce's rework.

#74 lore raw

Re: [PATCH v6 4/8] build: generate symbol maps

In reply to David Marchand

28/03/2025 11:52, David Marchand:

Quoted 1 line

+scriptname, link_mode, abi_version_file, output, *files = sys.argv

You should add a comment to show the usage of the script.

[...]

buildtools/gen-version-map.py line 68

Quoted 10 lines
buildtools/gen-version-map.py new file +10 -0
+if link_mode == 'mslinker':
+    with open(output, "w") as outfile:
+        print(f"EXPORTS", file=outfile)
+        for key in (abi, 'EXPERIMENTAL', 'INTERNAL'):
+            if key not in symbols:
+                continue
+            for symbol in sorted(symbols[key].keys()):
+                print(f"\t{symbol}", file=outfile)
+            del symbols[key]
+else:

Maybe add a comment after the else to make explicit it is GNU format.

[...]

Quoted 1 line

+for file in sys.argv[1:]:

This script requires a comment with the usage as well to make clear what we expect as arguments.

Quoted 9 lines
devtools/check-symbol-change.py new file +9 -0
+    with open(file, encoding="utf-8") as f:
+        for ln in f.readlines():
+            if file_header_regexp.match(ln):
+                if file_header_regexp.match(ln).group(2) == "lib":
+                    lib = '/'.join(file_header_regexp.match(ln).group(2, 3))
+                elif file_header_regexp.match(ln).group(3) == "intel":
+                    lib = '/'.join(file_header_regexp.match(ln).group(2, 3, 4))
+                else:
+                    lib = '/'.join(file_header_regexp.match(ln).group(2, 3))

[...]

lib/eal/common/eal_symbol_exports.h line 14

Quoted 3 lines
lib/eal/common/eal_symbol_exports.h new file +3 -0
+#define RTE_EXPORT_EXPERIMENTAL_SYMBOL(a, ver)
+#define RTE_EXPORT_INTERNAL_SYMBOL(a)
+#define RTE_EXPORT_SYMBOL(a)

I would prefer an explicit variable name instead of "a".

#75 lore raw

Re: [PATCH v6 4/8] build: generate symbol maps

Quoted 20 lines · Thomas Monjalon

28/03/2025 11:52, David Marchand:

Quoted 1 line

+scriptname, link_mode, abi_version_file, output, *files = sys.argv

You should add a comment to show the usage of the script.

[...]

buildtools/gen-version-map.py line 68

Quoted 10 lines
buildtools/gen-version-map.py new file +10 -0
+if link_mode == 'mslinker':
+    with open(output, "w") as outfile:
+        print(f"EXPORTS", file=outfile)
+        for key in (abi, 'EXPERIMENTAL', 'INTERNAL'):
+            if key not in symbols:
+                continue
+            for symbol in sorted(symbols[key].keys()):
+                print(f"\t{symbol}", file=outfile)
+            del symbols[key]
+else:

Maybe add a comment after the else to make explicit it is GNU format.

Quoted 5 lines

[...]

Quoted 1 line

+for file in sys.argv[1:]:

This script requires a comment with the usage as well to make clear what we expect as arguments.

Ack.

Quoted 11 lines

devtools/check-symbol-change.py line 31

Quoted 10 lines
devtools/check-symbol-change.py new file +9 -0
+    with open(file, encoding="utf-8") as f:
+        for ln in f.readlines():
+            if file_header_regexp.match(ln):
+                if file_header_regexp.match(ln).group(2) == "lib":
+                    lib = '/'.join(file_header_regexp.match(ln).group(2, 3))
+                elif file_header_regexp.match(ln).group(3) == "intel":
+                    lib = '/'.join(file_header_regexp.match(ln).group(2, 3, 4))
+                else:
+                    lib = '/'.join(file_header_regexp.match(ln).group(2, 3))
Quoted 6 lines

[...]

lib/eal/common/eal_symbol_exports.h line 14

Quoted 3 lines
lib/eal/common/eal_symbol_exports.h new file +3 -0
+#define RTE_EXPORT_EXPERIMENTAL_SYMBOL(a, ver)
+#define RTE_EXPORT_INTERNAL_SYMBOL(a)
+#define RTE_EXPORT_SYMBOL(a)

I would prefer an explicit variable name instead of "a".

Ack.

Thanks for the review.

Signature · 1 line
David Marchand
#76 lore raw

Re: [PATCH v6 4/8] build: generate symbol maps

In reply to David Marchand

28/03/2025 11:52, David Marchand:

Quoted 9 lines
lib/eal/common/eal_symbol_exports.h new file +6 -0
@@ -0,0 +1,16 @@
+/* SPDX-License-Identifier: BSD-3-Clause
+ * Copyright (c) 2025 Red Hat, Inc.
+ */
+
+#ifndef EAL_SYMBOL_EXPORTS_H
+#define EAL_SYMBOL_EXPORTS_H

lib/eal/common/eal_symbol_exports.h line 16

Quoted 10 lines
lib/eal/common/eal_symbol_exports.h new file +10 -0
+
+/* Internal macros for exporting symbols, used by the build system.
+ * For RTE_EXPORT_EXPERIMENTAL_SYMBOL, ver indicates the
+ * version this symbol was introduced in.
+ */
+#define RTE_EXPORT_EXPERIMENTAL_SYMBOL(a, ver)
+#define RTE_EXPORT_INTERNAL_SYMBOL(a)
+#define RTE_EXPORT_SYMBOL(a)
+
+#endif /* EAL_SYMBOL_EXPORTS_H */

Another thought, there is no specific reason to have a "s" at the end of this filename.

eal_symbol_export.h looks better to me.
Or simply eal_export.h ?

#77 lore raw

Re: [PATCH v6 4/8] build: generate symbol maps

Quoted 25 lines · Thomas Monjalon

28/03/2025 11:52, David Marchand:

Quoted 9 lines
lib/eal/common/eal_symbol_exports.h new file +6 -0
@@ -0,0 +1,16 @@
+/* SPDX-License-Identifier: BSD-3-Clause
+ * Copyright (c) 2025 Red Hat, Inc.
+ */
+
+#ifndef EAL_SYMBOL_EXPORTS_H
+#define EAL_SYMBOL_EXPORTS_H

lib/eal/common/eal_symbol_exports.h line 16

Quoted 10 lines
lib/eal/common/eal_symbol_exports.h new file +10 -0
+
+/* Internal macros for exporting symbols, used by the build system.
+ * For RTE_EXPORT_EXPERIMENTAL_SYMBOL, ver indicates the
+ * version this symbol was introduced in.
+ */
+#define RTE_EXPORT_EXPERIMENTAL_SYMBOL(a, ver)
+#define RTE_EXPORT_INTERNAL_SYMBOL(a)
+#define RTE_EXPORT_SYMBOL(a)
+
+#endif /* EAL_SYMBOL_EXPORTS_H */

Another thought, there is no specific reason to have a "s" at the end of this filename.

Quoted 2 lines

eal_symbol_export.h looks better to me.
Or simply eal_export.h ?

I don't think there is other notions that will be about "exporting", so implicit eal_export.h looks ok.

Signature · 1 line
David Marchand
#78 lore raw

PATCH v6 5/8 build: mark exported symbols

In reply to David Marchand

Annotate symbols with newly introduced export macros.

For code not compiled via drivers/meson.build (think base drivers code), the exported symbols are added in some new .c listed in the sources so they get caught by drivers/meson.build.

---
Changes since v5:
- fixed Windows symbol exports for net/mlx5,

Changes since RFC v4:
- rebased and fixed mlx5 new export,
- moved base driver exports in a separate file,
- added eal_symbol_exports.h inclusion,

Changes since RFC v3:
- marked exported symbols directly in AVX sources (net/idpf),

---
 drivers/baseband/acc/rte_acc100_pmd.c         |   2 +
 .../fpga_5gnr_fec/rte_fpga_5gnr_fec.c         |   2 +
 drivers/baseband/fpga_lte_fec/fpga_lte_fec.c  |   2 +
 drivers/bus/auxiliary/auxiliary_common.c      |   3 +
 drivers/bus/cdx/cdx.c                         |   5 +
 drivers/bus/cdx/cdx_vfio.c                    |   5 +
 drivers/bus/dpaa/dpaa_bus.c                   |  10 +
 drivers/bus/dpaa/dpaa_bus_symbols.c           |  99 ++++
 drivers/bus/dpaa/meson.build                  |   1 +
 drivers/bus/fslmc/fslmc_bus.c                 |   5 +
 drivers/bus/fslmc/fslmc_vfio.c                |  13 +
 drivers/bus/fslmc/mc/dpbp.c                   |   8 +
 drivers/bus/fslmc/mc/dpci.c                   |   5 +
 drivers/bus/fslmc/mc/dpcon.c                  |   8 +
 drivers/bus/fslmc/mc/dpdmai.c                 |  10 +
 drivers/bus/fslmc/mc/dpio.c                   |  15 +
 drivers/bus/fslmc/mc/dpmng.c                  |   4 +
 drivers/bus/fslmc/mc/mc_sys.c                 |   2 +
 drivers/bus/fslmc/portal/dpaa2_hw_dpbp.c      |   4 +
 drivers/bus/fslmc/portal/dpaa2_hw_dpci.c      |   3 +
 drivers/bus/fslmc/portal/dpaa2_hw_dpio.c      |  12 +
 drivers/bus/fslmc/qbman/qbman_debug.c         |   4 +
 drivers/bus/fslmc/qbman/qbman_portal.c        |  43 ++
 drivers/bus/ifpga/ifpga_bus.c                 |   4 +
 drivers/bus/pci/bsd/pci.c                     |  11 +
 drivers/bus/pci/linux/pci.c                   |  11 +
 drivers/bus/pci/pci_common.c                  |  11 +
 drivers/bus/pci/windows/pci.c                 |  11 +
 drivers/bus/platform/platform.c               |   3 +
 drivers/bus/uacce/uacce.c                     |  10 +
 drivers/bus/vdev/vdev.c                       |   7 +
 drivers/bus/vmbus/linux/vmbus_bus.c           |   7 +
 drivers/bus/vmbus/vmbus_channel.c             |  14 +
 drivers/bus/vmbus/vmbus_common.c              |   4 +
 drivers/common/cnxk/cnxk_security.c           |  13 +
 drivers/common/cnxk/cnxk_utils.c              |   2 +
 drivers/common/cnxk/meson.build               |   1 +
 drivers/common/cnxk/roc_platform.c            |  19 +
 drivers/common/cnxk/roc_platform_symbols.c    | 545 ++++++++++++++++++
 drivers/common/cpt/cpt_fpm_tables.c           |   3 +
 drivers/common/cpt/cpt_pmd_ops_helper.c       |   4 +
 drivers/common/dpaax/caamflib.c               |   3 +
 drivers/common/dpaax/dpaa_of.c                |  13 +
 drivers/common/dpaax/dpaax_iova_table.c       |   7 +
 drivers/common/ionic/ionic_common_uio.c       |   5 +
 .../common/mlx5/linux/mlx5_common_auxiliary.c |   2 +
 drivers/common/mlx5/linux/mlx5_common_os.c    |  11 +
 drivers/common/mlx5/linux/mlx5_common_verbs.c |   4 +
 drivers/common/mlx5/linux/mlx5_glue.c         |   3 +
 drivers/common/mlx5/linux/mlx5_nl.c           |  22 +
 drivers/common/mlx5/mlx5_common.c             |  10 +
 drivers/common/mlx5/mlx5_common_devx.c        |  10 +
 drivers/common/mlx5/mlx5_common_mp.c          |   9 +
 drivers/common/mlx5/mlx5_common_mr.c          |  12 +
 drivers/common/mlx5/mlx5_common_pci.c         |   3 +
 drivers/common/mlx5/mlx5_common_utils.c       |  12 +
 drivers/common/mlx5/mlx5_devx_cmds.c          |  52 ++
 drivers/common/mlx5/mlx5_malloc.c             |   5 +
 drivers/common/mlx5/windows/mlx5_common_os.c  |   7 +
 drivers/common/mlx5/windows/mlx5_glue.c       |   4 +-
 drivers/common/mvep/mvep_common.c             |   3 +
 drivers/common/nfp/nfp_common.c               |   9 +
 drivers/common/nfp/nfp_common_pci.c           |   2 +
 drivers/common/nfp/nfp_dev.c                  |   2 +
 drivers/common/nitrox/nitrox_device.c         |   2 +
 drivers/common/nitrox/nitrox_logs.c           |   2 +
 drivers/common/nitrox/nitrox_qp.c             |   3 +
 drivers/common/octeontx/octeontx_mbox.c       |   7 +
 drivers/common/sfc_efx/meson.build            |   1 +
 drivers/common/sfc_efx/sfc_efx.c              |   3 +
 drivers/common/sfc_efx/sfc_efx_mcdi.c         |   3 +
 drivers/common/sfc_efx/sfc_symbols.c          | 275 +++++++++
 drivers/crypto/cnxk/cn10k_cryptodev_ops.c     |   8 +
 drivers/crypto/cnxk/cn9k_cryptodev_ops.c      |   3 +
 drivers/crypto/cnxk/cnxk_cryptodev_ops.c      |   8 +
 drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c   |   3 +
 drivers/crypto/dpaa_sec/dpaa_sec.c            |   3 +
 drivers/crypto/octeontx/otx_cryptodev_ops.c   |   3 +
 .../scheduler/rte_cryptodev_scheduler.c       |  11 +
 drivers/dma/cnxk/cnxk_dmadev_fp.c             |   5 +
 drivers/event/cnxk/cnxk_worker.c              |   3 +
 drivers/event/dlb2/rte_pmd_dlb2.c             |   2 +
 drivers/mempool/cnxk/cn10k_hwpool_ops.c       |   4 +
 drivers/mempool/dpaa/dpaa_mempool.c           |   3 +
 drivers/mempool/dpaa2/dpaa2_hw_mempool.c      |   6 +
 drivers/net/atlantic/rte_pmd_atlantic.c       |   7 +
 drivers/net/bnxt/rte_pmd_bnxt.c               |  17 +
 drivers/net/bonding/rte_eth_bond_8023ad.c     |  13 +
 drivers/net/bonding/rte_eth_bond_api.c        |  16 +
 drivers/net/cnxk/cnxk_ethdev.c                |   4 +
 drivers/net/cnxk/cnxk_ethdev_sec.c            |  10 +
 drivers/net/dpaa/dpaa_ethdev.c                |   4 +
 drivers/net/dpaa2/dpaa2_ethdev.c              |   8 +
 drivers/net/dpaa2/dpaa2_mux.c                 |   4 +
 drivers/net/dpaa2/dpaa2_rxtx.c                |   2 +
 drivers/net/dpaa2/dpaa2_symbols.c             |   8 +
 drivers/net/dpaa2/meson.build                 |   1 +
 drivers/net/intel/i40e/rte_pmd_i40e.c         |  40 ++
 drivers/net/intel/iavf/iavf_rxtx.c            |   9 +
 drivers/net/intel/iavf/iavf_symbols.c         |  13 +
 drivers/net/intel/iavf/meson.build            |   1 +
 drivers/net/intel/ice/ice_diagnose.c          |   4 +
 drivers/net/intel/idpf/idpf_common_device.c   |  11 +
 drivers/net/intel/idpf/idpf_common_rxtx.c     |  25 +
 .../net/intel/idpf/idpf_common_rxtx_avx2.c    |   3 +
 .../net/intel/idpf/idpf_common_rxtx_avx512.c  |   6 +
 drivers/net/intel/idpf/idpf_common_virtchnl.c |  31 +
 drivers/net/intel/ipn3ke/ipn3ke_ethdev.c      |   2 +
 drivers/net/intel/ixgbe/rte_pmd_ixgbe.c       |  38 ++
 drivers/net/mlx5/mlx5.c                       |   2 +
 drivers/net/mlx5/mlx5_flow.c                  |   5 +
 drivers/net/mlx5/mlx5_rx.c                    |   3 +
 drivers/net/mlx5/mlx5_rxq.c                   |   3 +
 drivers/net/mlx5/mlx5_tx.c                    |   2 +
 drivers/net/mlx5/mlx5_txq.c                   |   4 +
 drivers/net/octeontx/octeontx_ethdev.c        |   2 +
 drivers/net/ring/rte_eth_ring.c               |   3 +
 drivers/net/softnic/rte_eth_softnic.c         |   2 +
 drivers/net/softnic/rte_eth_softnic_thread.c  |   2 +
 drivers/net/vhost/rte_eth_vhost.c             |   3 +
 drivers/power/kvm_vm/guest_channel.c          |   3 +
 drivers/raw/cnxk_rvu_lf/cnxk_rvu_lf.c         |  11 +
 drivers/raw/ifpga/rte_pmd_ifpga.c             |  12 +
 lib/acl/acl_bld.c                             |   2 +
 lib/acl/acl_run_scalar.c                      |   3 +
 lib/acl/rte_acl.c                             |  12 +
 lib/argparse/rte_argparse.c                   |   3 +
 lib/bbdev/bbdev_trace_points.c                |   3 +
 lib/bbdev/rte_bbdev.c                         |  32 +
 lib/bitratestats/rte_bitrate.c                |   5 +
 lib/bpf/bpf.c                                 |   3 +
 lib/bpf/bpf_convert.c                         |   2 +
 lib/bpf/bpf_dump.c                            |   2 +
 lib/bpf/bpf_exec.c                            |   3 +
 lib/bpf/bpf_load.c                            |   2 +
 lib/bpf/bpf_load_elf.c                        |   2 +
 lib/bpf/bpf_pkt.c                             |   5 +
 lib/bpf/bpf_stub.c                            |   3 +
 lib/cfgfile/rte_cfgfile.c                     |  18 +
 lib/cmdline/cmdline.c                         |  10 +
 lib/cmdline/cmdline_cirbuf.c                  |  21 +
 lib/cmdline/cmdline_parse.c                   |   5 +
 lib/cmdline/cmdline_parse_bool.c              |   2 +
 lib/cmdline/cmdline_parse_etheraddr.c         |   4 +
 lib/cmdline/cmdline_parse_ipaddr.c            |   4 +
 lib/cmdline/cmdline_parse_num.c               |   4 +
 lib/cmdline/cmdline_parse_portlist.c          |   4 +
 lib/cmdline/cmdline_parse_string.c            |   6 +
 lib/cmdline/cmdline_rdline.c                  |  17 +
 lib/cmdline/cmdline_socket.c                  |   5 +
 lib/cmdline/cmdline_vt100.c                   |   4 +
 lib/compressdev/rte_comp.c                    |   7 +
 lib/compressdev/rte_compressdev.c             |  26 +
 lib/compressdev/rte_compressdev_pmd.c         |   4 +
 lib/cryptodev/cryptodev_pmd.c                 |   8 +
 lib/cryptodev/cryptodev_trace_points.c        |   4 +
 lib/cryptodev/rte_cryptodev.c                 |  84 +++
 lib/dispatcher/rte_dispatcher.c               |  14 +
 lib/distributor/rte_distributor.c             |  10 +
 lib/dmadev/rte_dmadev.c                       |  20 +
 lib/dmadev/rte_dmadev_trace_points.c          |   8 +
 lib/eal/arm/rte_cpuflags.c                    |   4 +
 lib/eal/arm/rte_hypervisor.c                  |   2 +
 lib/eal/arm/rte_power_intrinsics.c            |   5 +
 lib/eal/common/eal_common_bus.c               |  11 +
 lib/eal/common/eal_common_class.c             |   5 +
 lib/eal/common/eal_common_config.c            |   8 +
 lib/eal/common/eal_common_cpuflags.c          |   2 +
 lib/eal/common/eal_common_debug.c             |   3 +
 lib/eal/common/eal_common_dev.c               |  20 +
 lib/eal/common/eal_common_devargs.c           |  10 +
 lib/eal/common/eal_common_errno.c             |   3 +
 lib/eal/common/eal_common_fbarray.c           |  27 +
 lib/eal/common/eal_common_hexdump.c           |   3 +
 lib/eal/common/eal_common_hypervisor.c        |   2 +
 lib/eal/common/eal_common_interrupts.c        |  28 +
 lib/eal/common/eal_common_launch.c            |   6 +
 lib/eal/common/eal_common_lcore.c             |  18 +
 lib/eal/common/eal_common_lcore_var.c         |   2 +
 lib/eal/common/eal_common_mcfg.c              |  21 +
 lib/eal/common/eal_common_memory.c            |  30 +
 lib/eal/common/eal_common_memzone.c           |  10 +
 lib/eal/common/eal_common_options.c           |   5 +
 lib/eal/common/eal_common_proc.c              |   9 +
 lib/eal/common/eal_common_string_fns.c        |   4 +
 lib/eal/common/eal_common_tailqs.c            |   4 +
 lib/eal/common/eal_common_thread.c            |  15 +
 lib/eal/common/eal_common_timer.c             |   5 +
 lib/eal/common/eal_common_trace.c             |  16 +
 lib/eal/common/eal_common_trace_ctf.c         |   2 +
 lib/eal/common/eal_common_trace_points.c      |  19 +
 lib/eal/common/eal_common_trace_utils.c       |   2 +
 lib/eal/common/eal_common_uuid.c              |   5 +
 lib/eal/common/rte_bitset.c                   |   2 +
 lib/eal/common/rte_keepalive.c                |   7 +
 lib/eal/common/rte_malloc.c                   |  23 +
 lib/eal/common/rte_random.c                   |   5 +
 lib/eal/common/rte_reciprocal.c               |   3 +
 lib/eal/common/rte_service.c                  |  32 +
 lib/eal/common/rte_version.c                  |   8 +
 lib/eal/freebsd/eal.c                         |  23 +
 lib/eal/freebsd/eal_alarm.c                   |   3 +
 lib/eal/freebsd/eal_dev.c                     |   5 +
 lib/eal/freebsd/eal_interrupts.c              |  20 +
 lib/eal/freebsd/eal_memory.c                  |   4 +
 lib/eal/freebsd/eal_thread.c                  |   3 +
 lib/eal/freebsd/eal_timer.c                   |   2 +
 lib/eal/linux/eal.c                           |   8 +
 lib/eal/linux/eal_alarm.c                     |   3 +
 lib/eal/linux/eal_dev.c                       |   5 +
 lib/eal/linux/eal_interrupts.c                |  20 +
 lib/eal/linux/eal_memory.c                    |   4 +
 lib/eal/linux/eal_thread.c                    |   3 +
 lib/eal/linux/eal_timer.c                     |   5 +
 lib/eal/linux/eal_vfio.c                      |  17 +
 lib/eal/loongarch/rte_cpuflags.c              |   4 +
 lib/eal/loongarch/rte_hypervisor.c            |   2 +
 lib/eal/loongarch/rte_power_intrinsics.c      |   5 +
 lib/eal/ppc/rte_cpuflags.c                    |   4 +
 lib/eal/ppc/rte_hypervisor.c                  |   2 +
 lib/eal/ppc/rte_power_intrinsics.c            |   5 +
 lib/eal/riscv/rte_cpuflags.c                  |   4 +
 lib/eal/riscv/rte_hypervisor.c                |   2 +
 lib/eal/riscv/rte_power_intrinsics.c          |   5 +
 lib/eal/unix/eal_debug.c                      |   3 +
 lib/eal/unix/eal_filesystem.c                 |   2 +
 lib/eal/unix/eal_firmware.c                   |   2 +
 lib/eal/unix/eal_unix_memory.c                |   5 +
 lib/eal/unix/eal_unix_timer.c                 |   2 +
 lib/eal/unix/rte_thread.c                     |  14 +
 lib/eal/windows/eal.c                         |  12 +
 lib/eal/windows/eal_alarm.c                   |   3 +
 lib/eal/windows/eal_debug.c                   |   2 +
 lib/eal/windows/eal_dev.c                     |   5 +
 lib/eal/windows/eal_interrupts.c              |  20 +
 lib/eal/windows/eal_memory.c                  |   8 +
 lib/eal/windows/eal_mp.c                      |   7 +
 lib/eal/windows/eal_thread.c                  |   2 +
 lib/eal/windows/eal_timer.c                   |   2 +
 lib/eal/windows/rte_thread.c                  |  15 +
 lib/eal/x86/rte_cpuflags.c                    |   4 +
 lib/eal/x86/rte_hypervisor.c                  |   2 +
 lib/eal/x86/rte_power_intrinsics.c            |   5 +
 lib/eal/x86/rte_spinlock.c                    |   2 +
 lib/efd/rte_efd.c                             |   8 +
 lib/ethdev/ethdev_driver.c                    |  25 +
 lib/ethdev/ethdev_linux_ethtool.c             |   4 +
 lib/ethdev/ethdev_private.c                   |   3 +
 lib/ethdev/ethdev_trace_points.c              |   7 +
 lib/ethdev/rte_ethdev.c                       | 169 ++++++
 lib/ethdev/rte_ethdev_cman.c                  |   5 +
 lib/ethdev/rte_flow.c                         |  65 +++
 lib/ethdev/rte_mtr.c                          |  22 +
 lib/ethdev/rte_tm.c                           |  32 +
 lib/eventdev/eventdev_private.c               |   3 +
 lib/eventdev/eventdev_trace_points.c          |  12 +
 lib/eventdev/rte_event_crypto_adapter.c       |  16 +
 lib/eventdev/rte_event_dma_adapter.c          |  16 +
 lib/eventdev/rte_event_eth_rx_adapter.c       |  24 +
 lib/eventdev/rte_event_eth_tx_adapter.c       |  18 +
 lib/eventdev/rte_event_ring.c                 |   5 +
 lib/eventdev/rte_event_timer_adapter.c        |  12 +
 lib/eventdev/rte_eventdev.c                   |  47 ++
 lib/fib/rte_fib.c                             |  11 +
 lib/fib/rte_fib6.c                            |  10 +
 lib/gpudev/gpudev.c                           |  33 ++
 lib/graph/graph.c                             |  17 +
 lib/graph/graph_debug.c                       |   3 +
 lib/graph/graph_stats.c                       |   5 +
 lib/graph/node.c                              |  12 +
 lib/graph/rte_graph_model_mcore_dispatch.c    |   4 +
 lib/graph/rte_graph_worker.c                  |   4 +
 lib/gro/rte_gro.c                             |   7 +
 lib/gso/rte_gso.c                             |   2 +
 lib/hash/rte_cuckoo_hash.c                    |  28 +
 lib/hash/rte_fbk_hash.c                       |   4 +
 lib/hash/rte_hash_crc.c                       |   3 +
 lib/hash/rte_thash.c                          |  13 +
 lib/hash/rte_thash_gf2_poly_math.c            |   2 +
 lib/hash/rte_thash_gfni.c                     |   3 +
 lib/ip_frag/rte_ip_frag_common.c              |   6 +
 lib/ip_frag/rte_ipv4_fragmentation.c          |   3 +
 lib/ip_frag/rte_ipv4_reassembly.c             |   2 +
 lib/ip_frag/rte_ipv6_fragmentation.c          |   2 +
 lib/ip_frag/rte_ipv6_reassembly.c             |   2 +
 lib/ipsec/ipsec_sad.c                         |   7 +
 lib/ipsec/ipsec_telemetry.c                   |   3 +
 lib/ipsec/sa.c                                |   5 +
 lib/ipsec/ses.c                               |   2 +
 lib/jobstats/rte_jobstats.c                   |  15 +
 lib/kvargs/rte_kvargs.c                       |   9 +
 lib/latencystats/rte_latencystats.c           |   6 +
 lib/log/log.c                                 |  23 +
 lib/log/log_color.c                           |   2 +
 lib/log/log_syslog.c                          |   2 +
 lib/log/log_timestamp.c                       |   2 +
 lib/lpm/rte_lpm.c                             |   9 +
 lib/lpm/rte_lpm6.c                            |  11 +
 lib/mbuf/rte_mbuf.c                           |  18 +
 lib/mbuf/rte_mbuf_dyn.c                       |  10 +
 lib/mbuf/rte_mbuf_pool_ops.c                  |   6 +
 lib/mbuf/rte_mbuf_ptype.c                     |   9 +
 lib/member/rte_member.c                       |  14 +
 lib/mempool/mempool_trace_points.c            |  11 +
 lib/mempool/rte_mempool.c                     |  28 +
 lib/mempool/rte_mempool_ops.c                 |   5 +
 lib/mempool/rte_mempool_ops_default.c         |   5 +
 lib/meter/rte_meter.c                         |   7 +
 lib/metrics/rte_metrics.c                     |   9 +
 lib/metrics/rte_metrics_telemetry.c           |  12 +
 lib/mldev/mldev_utils.c                       |   3 +
 lib/mldev/mldev_utils_neon.c                  |  20 +
 lib/mldev/mldev_utils_neon_bfloat16.c         |   4 +
 lib/mldev/mldev_utils_scalar.c                |  20 +
 lib/mldev/mldev_utils_scalar_bfloat16.c       |   4 +
 lib/mldev/rte_mldev.c                         |  38 ++
 lib/mldev/rte_mldev_pmd.c                     |   3 +
 lib/net/rte_arp.c                             |   2 +
 lib/net/rte_ether.c                           |   4 +
 lib/net/rte_net.c                             |   3 +
 lib/net/rte_net_crc.c                         |   2 +
 lib/node/ethdev_ctrl.c                        |   3 +
 lib/node/ip4_lookup.c                         |   2 +
 lib/node/ip4_reassembly.c                     |   2 +
 lib/node/ip4_rewrite.c                        |   2 +
 lib/node/ip6_lookup.c                         |   2 +
 lib/node/ip6_rewrite.c                        |   2 +
 lib/node/udp4_input.c                         |   3 +
 lib/pcapng/rte_pcapng.c                       |   8 +
 lib/pci/rte_pci.c                             |   4 +
 lib/pdcp/rte_pdcp.c                           |   6 +
 lib/pdump/rte_pdump.c                         |  10 +
 lib/pipeline/rte_pipeline.c                   |  24 +
 lib/pipeline/rte_port_in_action.c             |   9 +
 lib/pipeline/rte_swx_ctl.c                    |  18 +
 lib/pipeline/rte_swx_ipsec.c                  |   8 +
 lib/pipeline/rte_swx_pipeline.c               |  74 +++
 lib/pipeline/rte_table_action.c               |  17 +
 lib/port/rte_port_ethdev.c                    |   4 +
 lib/port/rte_port_eventdev.c                  |   4 +
 lib/port/rte_port_fd.c                        |   4 +
 lib/port/rte_port_frag.c                      |   3 +
 lib/port/rte_port_ras.c                       |   3 +
 lib/port/rte_port_ring.c                      |   7 +
 lib/port/rte_port_sched.c                     |   3 +
 lib/port/rte_port_source_sink.c               |   3 +
 lib/port/rte_port_sym_crypto.c                |   4 +
 lib/port/rte_swx_port_ethdev.c                |   3 +
 lib/port/rte_swx_port_fd.c                    |   3 +
 lib/port/rte_swx_port_ring.c                  |   3 +
 lib/port/rte_swx_port_source_sink.c           |   4 +
 lib/power/power_common.c                      |   9 +
 lib/power/rte_power_cpufreq.c                 |  19 +
 lib/power/rte_power_pmd_mgmt.c                |  11 +
 lib/power/rte_power_qos.c                     |   3 +
 lib/power/rte_power_uncore.c                  |  15 +
 lib/rawdev/rte_rawdev.c                       |  31 +
 lib/rcu/rte_rcu_qsbr.c                        |  12 +
 lib/regexdev/rte_regexdev.c                   |  27 +
 lib/reorder/rte_reorder.c                     |  12 +
 lib/rib/rte_rib.c                             |  15 +
 lib/rib/rte_rib6.c                            |  15 +
 lib/ring/rte_ring.c                           |  12 +
 lib/ring/rte_soring.c                         |   4 +
 lib/ring/soring.c                             |  18 +
 lib/sched/rte_approx.c                        |   2 +
 lib/sched/rte_pie.c                           |   3 +
 lib/sched/rte_red.c                           |   7 +
 lib/sched/rte_sched.c                         |  16 +
 lib/security/rte_security.c                   |  21 +
 lib/stack/rte_stack.c                         |   4 +
 lib/table/rte_swx_table_em.c                  |   3 +
 lib/table/rte_swx_table_learner.c             |  11 +
 lib/table/rte_swx_table_selector.c            |   7 +
 lib/table/rte_swx_table_wm.c                  |   2 +
 lib/table/rte_table_acl.c                     |   2 +
 lib/table/rte_table_array.c                   |   2 +
 lib/table/rte_table_hash_cuckoo.c             |   2 +
 lib/table/rte_table_hash_ext.c                |   2 +
 lib/table/rte_table_hash_key16.c              |   3 +
 lib/table/rte_table_hash_key32.c              |   3 +
 lib/table/rte_table_hash_key8.c               |   3 +
 lib/table/rte_table_hash_lru.c                |   2 +
 lib/table/rte_table_lpm.c                     |   2 +
 lib/table/rte_table_lpm_ipv6.c                |   2 +
 lib/table/rte_table_stub.c                    |   2 +
 lib/telemetry/telemetry.c                     |   4 +
 lib/telemetry/telemetry_data.c                |  18 +
 lib/telemetry/telemetry_legacy.c              |   2 +
 lib/timer/rte_timer.c                         |  19 +
 lib/vhost/socket.c                            |  17 +
 lib/vhost/vdpa.c                              |  12 +
 lib/vhost/vhost.c                             |  42 ++
 lib/vhost/vhost_crypto.c                      |   7 +
 lib/vhost/vhost_user.c                        |   3 +
 lib/vhost/virtio_net.c                        |   8 +
 396 files changed, 4557 insertions(+), 2 deletions(-)
 create mode 100644 drivers/bus/dpaa/dpaa_bus_symbols.c
 create mode 100644 drivers/common/cnxk/roc_platform_symbols.c
 create mode 100644 drivers/common/sfc_efx/sfc_symbols.c
 create mode 100644 drivers/net/dpaa2/dpaa2_symbols.c
 create mode 100644 drivers/net/intel/iavf/iavf_symbols.c
drivers/baseband/acc/rte_acc100_pmd.c +2 -0
index d33e42c807..274ec14b90 100644
@@ -4,6 +4,7 @@
 
 #include <unistd.h>
 
+#include <eal_symbol_exports.h>
 #include <rte_common.h>
 #include <rte_log.h>
 #include <dev_driver.h>
@@ -4635,6 +4636,7 @@ acc100_configure(const char *dev_name, struct rte_acc_conf *conf)
 	return 0;
 }
 
+RTE_EXPORT_EXPERIMENTAL_SYMBOL(rte_acc_configure, 22.11)
 int
 rte_acc_configure(const char *dev_name, struct rte_acc_conf *conf)
 {
drivers/baseband/fpga_5gnr_fec/rte_fpga_5gnr_fec.c +2 -0
index 65b7e118cd..f0b7ae9126 100644
@@ -4,6 +4,7 @@
 
 #include <unistd.h>
 
+#include <eal_symbol_exports.h>
 #include <rte_common.h>
 #include <rte_log.h>
 #include <dev_driver.h>
@@ -3366,6 +3367,7 @@ static int agx100_configure(const char *dev_name, const struct rte_fpga_5gnr_fec
 	return 0;
 }
 
+RTE_EXPORT_EXPERIMENTAL_SYMBOL(rte_fpga_5gnr_fec_configure, 20.11)
 int rte_fpga_5gnr_fec_configure(const char *dev_name, const struct rte_fpga_5gnr_fec_conf *conf)
 {
 	struct rte_bbdev *bbdev = rte_bbdev_get_named_dev(dev_name);
drivers/baseband/fpga_lte_fec/fpga_lte_fec.c +2 -0
index 04c1f95180..20647acb29 100644
@@ -4,6 +4,7 @@
 
 #include <unistd.h>
 
+#include <eal_symbol_exports.h>
 #include <rte_common.h>
 #include <rte_log.h>
 #include <dev_driver.h>
@@ -2452,6 +2453,7 @@ set_default_fpga_conf(struct rte_fpga_lte_fec_conf *def_conf)
 }
 
 /* Initial configuration of FPGA LTE FEC device */
+RTE_EXPORT_EXPERIMENTAL_SYMBOL(rte_fpga_lte_fec_configure, 20.11)
 int
 rte_fpga_lte_fec_configure(const char *dev_name,
 		const struct rte_fpga_lte_fec_conf *conf)
drivers/bus/auxiliary/auxiliary_common.c +3 -0
index b444eb43ef..c5dd47701f 100644
@@ -9,6 +9,7 @@
 #include <stdlib.h>
 #include <stdio.h>
 #include <sys/queue.h>
+#include <eal_symbol_exports.h>
 #include <rte_errno.h>
 #include <rte_interrupts.h>
 #include <rte_log.h>
@@ -258,6 +259,7 @@ auxiliary_parse(const char *name, void *addr)
 }
 
 /* Register a driver */
+RTE_EXPORT_INTERNAL_SYMBOL(rte_auxiliary_register)
 void
 rte_auxiliary_register(struct rte_auxiliary_driver *driver)
 {
@@ -265,6 +267,7 @@ rte_auxiliary_register(struct rte_auxiliary_driver *driver)
 }
 
 /* Unregister a driver */
+RTE_EXPORT_INTERNAL_SYMBOL(rte_auxiliary_unregister)
 void
 rte_auxiliary_unregister(struct rte_auxiliary_driver *driver)
 {
drivers/bus/cdx/cdx.c +5 -0
index 62b108e082..ab642a5eca 100644
@@ -75,6 +75,7 @@
 #include <rte_malloc.h>
 #include <rte_vfio.h>
 
+#include <eal_symbol_exports.h>
 #include <eal_filesystem.h>
 
 #include "bus_cdx_driver.h"
@@ -139,11 +140,13 @@ cdx_get_kernel_driver_by_path(const char *filename, char *driver_name,
 	return -1;
 }
 
+RTE_EXPORT_INTERNAL_SYMBOL(rte_cdx_map_device)
 int rte_cdx_map_device(struct rte_cdx_device *dev)
 {
 	return cdx_vfio_map_resource(dev);
 }
 
+RTE_EXPORT_INTERNAL_SYMBOL(rte_cdx_unmap_device)
 void rte_cdx_unmap_device(struct rte_cdx_device *dev)
 {
 	cdx_vfio_unmap_resource(dev);
@@ -478,6 +481,7 @@ cdx_parse(const char *name, void *addr)
 }
 
 /* register a driver */
+RTE_EXPORT_INTERNAL_SYMBOL(rte_cdx_register)
 void
 rte_cdx_register(struct rte_cdx_driver *driver)
 {
@@ -486,6 +490,7 @@ rte_cdx_register(struct rte_cdx_driver *driver)
 }
 
 /* unregister a driver */
+RTE_EXPORT_INTERNAL_SYMBOL(rte_cdx_unregister)
 void
 rte_cdx_unregister(struct rte_cdx_driver *driver)
 {
drivers/bus/cdx/cdx_vfio.c +5 -0
index 664f267471..b9d74600ba 100644
@@ -17,6 +17,7 @@
 #include <sys/socket.h>
 #include <sys/ioctl.h>
 #include <sys/mman.h>
+#include <eal_symbol_exports.h>
 #include <rte_eal_paging.h>
 #include <rte_malloc.h>
 #include <rte_vfio.h>
@@ -550,6 +551,7 @@ cdx_vfio_map_resource(struct rte_cdx_device *dev)
 		return cdx_vfio_map_resource_secondary(dev);
 }
 
+RTE_EXPORT_INTERNAL_SYMBOL(rte_cdx_vfio_intr_enable)
 int
 rte_cdx_vfio_intr_enable(const struct rte_intr_handle *intr_handle)
 {
@@ -584,6 +586,7 @@ rte_cdx_vfio_intr_enable(const struct rte_intr_handle *intr_handle)
 }
 
 /* disable MSI interrupts */
+RTE_EXPORT_INTERNAL_SYMBOL(rte_cdx_vfio_intr_disable)
 int
 rte_cdx_vfio_intr_disable(const struct rte_intr_handle *intr_handle)
 {
@@ -611,6 +614,7 @@ rte_cdx_vfio_intr_disable(const struct rte_intr_handle *intr_handle)
 }
 
 /* Enable Bus Mastering */
+RTE_EXPORT_INTERNAL_SYMBOL(rte_cdx_vfio_bm_enable)
 int
 rte_cdx_vfio_bm_enable(struct rte_cdx_device *dev)
 {
@@ -656,6 +660,7 @@ rte_cdx_vfio_bm_enable(struct rte_cdx_device *dev)
 }
 
 /* Disable Bus Mastering */
+RTE_EXPORT_INTERNAL_SYMBOL(rte_cdx_vfio_bm_disable)
 int
 rte_cdx_vfio_bm_disable(struct rte_cdx_device *dev)
 {
drivers/bus/dpaa/dpaa_bus.c +10 -0
index 9ffbe07c93..7be8896453 100644
@@ -15,6 +15,7 @@
 #include <sys/types.h>
 #include <sys/eventfd.h>
 
+#include <eal_symbol_exports.h>
 #include <rte_byteorder.h>
 #include <rte_common.h>
 #include <rte_interrupts.h>
@@ -59,15 +60,19 @@ struct netcfg_info *dpaa_netcfg;
 /* define a variable to hold the portal_key, once created.*/
 static pthread_key_t dpaa_portal_key;
 
+RTE_EXPORT_INTERNAL_SYMBOL(dpaa_svr_family)
 unsigned int dpaa_svr_family;
 
 #define FSL_DPAA_BUS_NAME	dpaa_bus
 
+RTE_EXPORT_INTERNAL_SYMBOL(per_lcore_dpaa_io)
 RTE_DEFINE_PER_LCORE(struct dpaa_portal *, dpaa_io);
 
 #define DPAA_SEQN_DYNFIELD_NAME "dpaa_seqn_dynfield"
+RTE_EXPORT_INTERNAL_SYMBOL(dpaa_seqn_dynfield_offset)
 int dpaa_seqn_dynfield_offset = -1;
 
+RTE_EXPORT_INTERNAL_SYMBOL(dpaa_get_eth_port_cfg)
 struct fm_eth_port_cfg *
 dpaa_get_eth_port_cfg(int dev_id)
 {
@@ -315,6 +320,7 @@ dpaa_clean_device_list(void)
 	}
 }
 
+RTE_EXPORT_INTERNAL_SYMBOL(rte_dpaa_portal_init)
 int rte_dpaa_portal_init(void *arg)
 {
 	static const struct rte_mbuf_dynfield dpaa_seqn_dynfield_desc = {
@@ -393,6 +399,7 @@ int rte_dpaa_portal_init(void *arg)
 	return 0;
 }
 
+RTE_EXPORT_INTERNAL_SYMBOL(rte_dpaa_portal_fq_init)
 int
 rte_dpaa_portal_fq_init(void *arg, struct qman_fq *fq)
 {
@@ -421,6 +428,7 @@ rte_dpaa_portal_fq_init(void *arg, struct qman_fq *fq)
 	return 0;
 }
 
+RTE_EXPORT_INTERNAL_SYMBOL(rte_dpaa_portal_fq_close)
 int rte_dpaa_portal_fq_close(struct qman_fq *fq)
 {
 	return fsl_qman_fq_portal_destroy(fq->qp);
@@ -548,6 +556,7 @@ rte_dpaa_bus_scan(void)
 }
 
 /* register a dpaa bus based dpaa driver */
+RTE_EXPORT_INTERNAL_SYMBOL(rte_dpaa_driver_register)
 void
 rte_dpaa_driver_register(struct rte_dpaa_driver *driver)
 {
@@ -559,6 +568,7 @@ rte_dpaa_driver_register(struct rte_dpaa_driver *driver)
 }
 
 /* un-register a dpaa bus based dpaa driver */
+RTE_EXPORT_INTERNAL_SYMBOL(rte_dpaa_driver_unregister)
 void
 rte_dpaa_driver_unregister(struct rte_dpaa_driver *driver)
 {
drivers/bus/dpaa/dpaa_bus_symbols.c new file +99 -0

99 lines not on this page · raw message

drivers/bus/dpaa/meson.build +1 -0
index 5506f2bffc..2bef6cfd84 100644
@@ -19,6 +19,7 @@ sources = files(
         'base/qbman/qman.c',
         'base/qbman/qman_driver.c',
         'dpaa_bus.c',
+        'dpaa_bus_symbols.c',
 )
 
 if cc.has_argument('-Wno-cast-qual')
drivers/bus/fslmc/fslmc_bus.c +5 -0
index 68ad2b801e..9e45f089ee 100644
@@ -9,6 +9,7 @@
 #include <stdalign.h>
 #include <stdbool.h>
 
+#include <eal_symbol_exports.h>
 #include <rte_log.h>
 #include <bus_driver.h>
 #include <rte_malloc.h>
@@ -29,8 +30,10 @@
 struct rte_fslmc_bus rte_fslmc_bus;
 
 #define DPAA2_SEQN_DYNFIELD_NAME "dpaa2_seqn_dynfield"
+RTE_EXPORT_INTERNAL_SYMBOL(dpaa2_seqn_dynfield_offset)
 int dpaa2_seqn_dynfield_offset = -1;
 
+RTE_EXPORT_INTERNAL_SYMBOL(rte_fslmc_get_device_count)
 uint32_t
 rte_fslmc_get_device_count(enum rte_dpaa2_dev_type device_type)
 {
@@ -525,6 +528,7 @@ rte_fslmc_find_device(const struct rte_device *start, rte_dev_cmp_t cmp,
 }
 
 /*register a fslmc bus based dpaa2 driver */
+RTE_EXPORT_INTERNAL_SYMBOL(rte_fslmc_driver_register)
 void
 rte_fslmc_driver_register(struct rte_dpaa2_driver *driver)
 {
@@ -534,6 +538,7 @@ rte_fslmc_driver_register(struct rte_dpaa2_driver *driver)
 }
 
 /*un-register a fslmc bus based dpaa2 driver */
+RTE_EXPORT_INTERNAL_SYMBOL(rte_fslmc_driver_unregister)
 void
 rte_fslmc_driver_unregister(struct rte_dpaa2_driver *driver)
 {
drivers/bus/fslmc/fslmc_vfio.c +13 -0
index 7a584b9280..66d58a598c 100644
@@ -21,6 +21,7 @@
 #include <sys/eventfd.h>
 #include <ctype.h>
 
+#include <eal_symbol_exports.h>
 #include <eal_filesystem.h>
 #include <rte_mbuf.h>
 #include <ethdev_driver.h>
@@ -83,6 +84,7 @@ enum {
 	FSLMC_VFIO_SOCKET_REQ_MEM
 };
 
+RTE_EXPORT_INTERNAL_SYMBOL(dpaa2_get_mcp_ptr)
 void *
 dpaa2_get_mcp_ptr(int portal_idx)
 {
@@ -154,6 +156,7 @@ fslmc_io_virt2phy(const void *virtaddr)
 }
 
 /*register a fslmc bus based dpaa2 driver */
+RTE_EXPORT_INTERNAL_SYMBOL(rte_fslmc_object_register)
 void
 rte_fslmc_object_register(struct rte_dpaa2_object *object)
 {
@@ -984,6 +987,7 @@ fslmc_unmap_dma(uint64_t vaddr, uint64_t iovaddr, size_t len)
 	return 0;
 }
 
+RTE_EXPORT_INTERNAL_SYMBOL(rte_fslmc_cold_mem_vaddr_to_iova)
 uint64_t
 rte_fslmc_cold_mem_vaddr_to_iova(void *vaddr,
 	uint64_t size)
@@ -1002,6 +1006,7 @@ rte_fslmc_cold_mem_vaddr_to_iova(void *vaddr,
 	return RTE_BAD_IOVA;
 }
 
+RTE_EXPORT_INTERNAL_SYMBOL(rte_fslmc_cold_mem_iova_to_vaddr)
 void *
 rte_fslmc_cold_mem_iova_to_vaddr(uint64_t iova,
 	uint64_t size)
@@ -1018,6 +1023,7 @@ rte_fslmc_cold_mem_iova_to_vaddr(uint64_t iova,
 	return NULL;
 }
 
+RTE_EXPORT_INTERNAL_SYMBOL(rte_fslmc_mem_vaddr_to_iova)
 __rte_hot uint64_t
 rte_fslmc_mem_vaddr_to_iova(void *vaddr)
 {
@@ -1027,6 +1033,7 @@ rte_fslmc_mem_vaddr_to_iova(void *vaddr)
 	return rte_fslmc_cold_mem_vaddr_to_iova(vaddr, 0);
 }
 
+RTE_EXPORT_INTERNAL_SYMBOL(rte_fslmc_mem_iova_to_vaddr)
 __rte_hot void *
 rte_fslmc_mem_iova_to_vaddr(uint64_t iova)
 {
@@ -1036,6 +1043,7 @@ rte_fslmc_mem_iova_to_vaddr(uint64_t iova)
 	return rte_fslmc_cold_mem_iova_to_vaddr(iova, 0);
 }
 
+RTE_EXPORT_INTERNAL_SYMBOL(rte_fslmc_io_vaddr_to_iova)
 uint64_t
 rte_fslmc_io_vaddr_to_iova(void *vaddr)
 {
@@ -1051,6 +1059,7 @@ rte_fslmc_io_vaddr_to_iova(void *vaddr)
 	return RTE_BAD_IOVA;
 }
 
+RTE_EXPORT_INTERNAL_SYMBOL(rte_fslmc_io_iova_to_vaddr)
 void *
 rte_fslmc_io_iova_to_vaddr(uint64_t iova)
 {
@@ -1141,12 +1150,14 @@ fslmc_dmamap_seg(const struct rte_memseg_list *msl __rte_unused,
 	return ret;
 }
 
+RTE_EXPORT_SYMBOL(rte_fslmc_vfio_mem_dmamap)
 int
 rte_fslmc_vfio_mem_dmamap(uint64_t vaddr, uint64_t iova, uint64_t size)
 {
 	return fslmc_map_dma(vaddr, iova, size);
 }
 
+RTE_EXPORT_INTERNAL_SYMBOL(rte_fslmc_vfio_mem_dmaunmap)
 int
 rte_fslmc_vfio_mem_dmaunmap(uint64_t iova, uint64_t size)
 {
@@ -1264,6 +1275,7 @@ static intptr_t vfio_map_mcp_obj(const char *mcp_obj)
 
 #define IRQ_SET_BUF_LEN  (sizeof(struct vfio_irq_set) + sizeof(int))
 
+RTE_EXPORT_INTERNAL_SYMBOL(rte_dpaa2_intr_enable)
 int rte_dpaa2_intr_enable(struct rte_intr_handle *intr_handle, int index)
 {
 	int len, ret;
@@ -1295,6 +1307,7 @@ int rte_dpaa2_intr_enable(struct rte_intr_handle *intr_handle, int index)
 	return ret;
 }
 
+RTE_EXPORT_INTERNAL_SYMBOL(rte_dpaa2_intr_disable)
 int rte_dpaa2_intr_disable(struct rte_intr_handle *intr_handle, int index)
 {
 	struct vfio_irq_set *irq_set;
drivers/bus/fslmc/mc/dpbp.c +8 -0
index d9103409cf..e59c44733f 100644
@@ -9,6 +9,8 @@
 #include <fsl_dpbp.h>
 #include <fsl_dpbp_cmd.h>
 
+#include <eal_symbol_exports.h>
+
 /**
  * dpbp_open() - Open a control session for the specified object.
  * @mc_io:	Pointer to MC portal's I/O object
@@ -26,6 +28,7 @@
  *
  * Return:	'0' on Success; Error code otherwise.
  */
+RTE_EXPORT_INTERNAL_SYMBOL(dpbp_open)
 int dpbp_open(struct fsl_mc_io *mc_io,
 	      uint32_t cmd_flags,
 	      int dpbp_id,
@@ -157,6 +160,7 @@ int dpbp_destroy(struct fsl_mc_io *mc_io,
  *
  * Return:	'0' on Success; Error code otherwise.
  */
+RTE_EXPORT_INTERNAL_SYMBOL(dpbp_enable)
 int dpbp_enable(struct fsl_mc_io *mc_io,
 		uint32_t cmd_flags,
 		uint16_t token)
@@ -179,6 +183,7 @@ int dpbp_enable(struct fsl_mc_io *mc_io,
  *
  * Return:	'0' on Success; Error code otherwise.
  */
+RTE_EXPORT_INTERNAL_SYMBOL(dpbp_disable)
 int dpbp_disable(struct fsl_mc_io *mc_io,
 		 uint32_t cmd_flags,
 		 uint16_t token)
@@ -235,6 +240,7 @@ int dpbp_is_enabled(struct fsl_mc_io *mc_io,
  *
  * Return:	'0' on Success; Error code otherwise.
  */
+RTE_EXPORT_INTERNAL_SYMBOL(dpbp_reset)
 int dpbp_reset(struct fsl_mc_io *mc_io,
 	       uint32_t cmd_flags,
 	       uint16_t token)
@@ -258,6 +264,7 @@ int dpbp_reset(struct fsl_mc_io *mc_io,
  *
  * Return:	'0' on Success; Error code otherwise.
  */
+RTE_EXPORT_INTERNAL_SYMBOL(dpbp_get_attributes)
 int dpbp_get_attributes(struct fsl_mc_io *mc_io,
 			uint32_t cmd_flags,
 			uint16_t token,
@@ -329,6 +336,7 @@ int dpbp_get_api_version(struct fsl_mc_io *mc_io,
  * Return:  '0' on Success; Error code otherwise.
  */
 
+RTE_EXPORT_INTERNAL_SYMBOL(dpbp_get_num_free_bufs)
 int dpbp_get_num_free_bufs(struct fsl_mc_io *mc_io,
 			   uint32_t cmd_flags,
 			   uint16_t token,
drivers/bus/fslmc/mc/dpci.c +5 -0
index 7e31327afa..9bfc958d87 100644
@@ -9,6 +9,8 @@
 #include <fsl_dpci.h>
 #include <fsl_dpci_cmd.h>
 
+#include <eal_symbol_exports.h>
+
 /**
  * dpci_open() - Open a control session for the specified object
  * @mc_io:	Pointer to MC portal's I/O object
@@ -315,6 +317,7 @@ int dpci_get_attributes(struct fsl_mc_io *mc_io,
  *
  * Return:	'0' on Success; Error code otherwise.
  */
+RTE_EXPORT_INTERNAL_SYMBOL(dpci_set_rx_queue)
 int dpci_set_rx_queue(struct fsl_mc_io *mc_io,
 		      uint32_t cmd_flags,
 		      uint16_t token,
@@ -477,6 +480,7 @@ int dpci_get_api_version(struct fsl_mc_io *mc_io,
  *
  * Return:	'0' on Success; Error code otherwise.
  */
+RTE_EXPORT_INTERNAL_SYMBOL(dpci_set_opr)
 int dpci_set_opr(struct fsl_mc_io *mc_io,
 		 uint32_t cmd_flags,
 		 uint16_t token,
@@ -515,6 +519,7 @@ int dpci_set_opr(struct fsl_mc_io *mc_io,
  *
  * Return:	'0' on Success; Error code otherwise.
  */
+RTE_EXPORT_INTERNAL_SYMBOL(dpci_get_opr)
 int dpci_get_opr(struct fsl_mc_io *mc_io,
 		 uint32_t cmd_flags,
 		 uint16_t token,
drivers/bus/fslmc/mc/dpcon.c +8 -0
index 2c46638dcb..f9c9fe1735 100644
@@ -9,6 +9,8 @@
 #include <fsl_dpcon.h>
 #include <fsl_dpcon_cmd.h>
 
+#include <eal_symbol_exports.h>
+
 /**
  * dpcon_open() - Open a control session for the specified object
  * @mc_io:	Pointer to MC portal's I/O object
@@ -26,6 +28,7 @@
  *
  * Return:	'0' on Success; Error code otherwise.
  */
+RTE_EXPORT_INTERNAL_SYMBOL(dpcon_open)
 int dpcon_open(struct fsl_mc_io *mc_io,
 	       uint32_t cmd_flags,
 	       int dpcon_id,
@@ -64,6 +67,7 @@ int dpcon_open(struct fsl_mc_io *mc_io,
  *
  * Return:	'0' on Success; Error code otherwise.
  */
+RTE_EXPORT_INTERNAL_SYMBOL(dpcon_close)
 int dpcon_close(struct fsl_mc_io *mc_io,
 		uint32_t cmd_flags,
 		uint16_t token)
@@ -164,6 +168,7 @@ int dpcon_destroy(struct fsl_mc_io *mc_io,
  *
  * Return:	'0' on Success; Error code otherwise
  */
+RTE_EXPORT_INTERNAL_SYMBOL(dpcon_enable)
 int dpcon_enable(struct fsl_mc_io *mc_io,
 		 uint32_t cmd_flags,
 		 uint16_t token)
@@ -187,6 +192,7 @@ int dpcon_enable(struct fsl_mc_io *mc_io,
  *
  * Return:	'0' on Success; Error code otherwise
  */
+RTE_EXPORT_INTERNAL_SYMBOL(dpcon_disable)
 int dpcon_disable(struct fsl_mc_io *mc_io,
 		  uint32_t cmd_flags,
 		  uint16_t token)
@@ -245,6 +251,7 @@ int dpcon_is_enabled(struct fsl_mc_io *mc_io,
  *
  * Return:	'0' on Success; Error code otherwise.
  */
+RTE_EXPORT_INTERNAL_SYMBOL(dpcon_reset)
 int dpcon_reset(struct fsl_mc_io *mc_io,
 		uint32_t cmd_flags,
 		uint16_t token)
@@ -268,6 +275,7 @@ int dpcon_reset(struct fsl_mc_io *mc_io,
  *
  * Return:	'0' on Success; Error code otherwise.
  */
+RTE_EXPORT_INTERNAL_SYMBOL(dpcon_get_attributes)
 int dpcon_get_attributes(struct fsl_mc_io *mc_io,
 			 uint32_t cmd_flags,
 			 uint16_t token,
drivers/bus/fslmc/mc/dpdmai.c +10 -0
index 9c2f3bf9d5..515f549b68 100644
@@ -7,6 +7,8 @@
 #include <fsl_dpdmai.h>
 #include <fsl_dpdmai_cmd.h>
 
+#include <eal_symbol_exports.h>
+
 /**
  * dpdmai_open() - Open a control session for the specified object
  * @mc_io:	Pointer to MC portal's I/O object
@@ -24,6 +26,7 @@
  *
  * Return:	'0' on Success; Error code otherwise.
  */
+RTE_EXPORT_INTERNAL_SYMBOL(dpdmai_open)
 int dpdmai_open(struct fsl_mc_io *mc_io,
 		uint32_t cmd_flags,
 		int dpdmai_id,
@@ -62,6 +65,7 @@ int dpdmai_open(struct fsl_mc_io *mc_io,
  *
  * Return:	'0' on Success; Error code otherwise.
  */
+RTE_EXPORT_INTERNAL_SYMBOL(dpdmai_close)
 int dpdmai_close(struct fsl_mc_io *mc_io,
 		 uint32_t cmd_flags,
 		 uint16_t token)
@@ -171,6 +175,7 @@ int dpdmai_destroy(struct fsl_mc_io *mc_io,
  *
  * Return:	'0' on Success; Error code otherwise.
  */
+RTE_EXPORT_INTERNAL_SYMBOL(dpdmai_enable)
 int dpdmai_enable(struct fsl_mc_io *mc_io,
 		  uint32_t cmd_flags,
 		  uint16_t token)
@@ -194,6 +199,7 @@ int dpdmai_enable(struct fsl_mc_io *mc_io,
  *
  * Return:	'0' on Success; Error code otherwise.
  */
+RTE_EXPORT_INTERNAL_SYMBOL(dpdmai_disable)
 int dpdmai_disable(struct fsl_mc_io *mc_io,
 		   uint32_t cmd_flags,
 		   uint16_t token)
@@ -276,6 +282,7 @@ int dpdmai_reset(struct fsl_mc_io *mc_io,
  *
  * Return:	'0' on Success; Error code otherwise.
  */
+RTE_EXPORT_INTERNAL_SYMBOL(dpdmai_get_attributes)
 int dpdmai_get_attributes(struct fsl_mc_io *mc_io,
 			  uint32_t cmd_flags,
 			  uint16_t token,
@@ -320,6 +327,7 @@ int dpdmai_get_attributes(struct fsl_mc_io *mc_io,
  *
  * Return:	'0' on Success; Error code otherwise.
  */
+RTE_EXPORT_INTERNAL_SYMBOL(dpdmai_set_rx_queue)
 int dpdmai_set_rx_queue(struct fsl_mc_io *mc_io,
 			uint32_t cmd_flags,
 			uint16_t token,
@@ -362,6 +370,7 @@ int dpdmai_set_rx_queue(struct fsl_mc_io *mc_io,
  *
  * Return:	'0' on Success; Error code otherwise.
  */
+RTE_EXPORT_INTERNAL_SYMBOL(dpdmai_get_rx_queue)
 int dpdmai_get_rx_queue(struct fsl_mc_io *mc_io,
 			uint32_t cmd_flags,
 			uint16_t token,
@@ -412,6 +421,7 @@ int dpdmai_get_rx_queue(struct fsl_mc_io *mc_io,
  *
  * Return:	'0' on Success; Error code otherwise.
  */
+RTE_EXPORT_INTERNAL_SYMBOL(dpdmai_get_tx_queue)
 int dpdmai_get_tx_queue(struct fsl_mc_io *mc_io,
 			uint32_t cmd_flags,
 			uint16_t token,
drivers/bus/fslmc/mc/dpio.c +15 -0
index 97c08fa713..03365d2854 100644
@@ -9,6 +9,8 @@
 #include <fsl_dpio.h>
 #include <fsl_dpio_cmd.h>
 
+#include <eal_symbol_exports.h>
+
 /**
  * dpio_open() - Open a control session for the specified object
  * @mc_io:	Pointer to MC portal's I/O object
@@ -26,6 +28,7 @@
  *
  * Return:	'0' on Success; Error code otherwise.
  */
+RTE_EXPORT_INTERNAL_SYMBOL(dpio_open)
 int dpio_open(struct fsl_mc_io *mc_io,
 	      uint32_t cmd_flags,
 	      int dpio_id,
@@ -61,6 +64,7 @@ int dpio_open(struct fsl_mc_io *mc_io,
  *
  * Return:	'0' on Success; Error code otherwise.
  */
+RTE_EXPORT_INTERNAL_SYMBOL(dpio_close)
 int dpio_close(struct fsl_mc_io *mc_io,
 	       uint32_t cmd_flags,
 	       uint16_t token)
@@ -173,6 +177,7 @@ int dpio_destroy(struct fsl_mc_io *mc_io,
  *
  * Return:	'0' on Success; Error code otherwise
  */
+RTE_EXPORT_INTERNAL_SYMBOL(dpio_enable)
 int dpio_enable(struct fsl_mc_io *mc_io,
 		uint32_t cmd_flags,
 		uint16_t token)
@@ -196,6 +201,7 @@ int dpio_enable(struct fsl_mc_io *mc_io,
  *
  * Return:	'0' on Success; Error code otherwise
  */
+RTE_EXPORT_INTERNAL_SYMBOL(dpio_disable)
 int dpio_disable(struct fsl_mc_io *mc_io,
 		 uint32_t cmd_flags,
 		 uint16_t token)
@@ -253,6 +259,7 @@ int dpio_is_enabled(struct fsl_mc_io *mc_io,
  *
  * Return:	'0' on Success; Error code otherwise.
  */
+RTE_EXPORT_INTERNAL_SYMBOL(dpio_reset)
 int dpio_reset(struct fsl_mc_io *mc_io,
 	       uint32_t cmd_flags,
 	       uint16_t token)
@@ -277,6 +284,7 @@ int dpio_reset(struct fsl_mc_io *mc_io,
  *
  * Return:	'0' on Success; Error code otherwise
  */
+RTE_EXPORT_INTERNAL_SYMBOL(dpio_get_attributes)
 int dpio_get_attributes(struct fsl_mc_io *mc_io,
 			uint32_t cmd_flags,
 			uint16_t token,
@@ -322,6 +330,7 @@ int dpio_get_attributes(struct fsl_mc_io *mc_io,
  *
  * Return:	'0' on Success; Error code otherwise.
  */
+RTE_EXPORT_INTERNAL_SYMBOL(dpio_set_stashing_destination)
 int dpio_set_stashing_destination(struct fsl_mc_io *mc_io,
 				  uint32_t cmd_flags,
 				  uint16_t token,
@@ -350,6 +359,7 @@ int dpio_set_stashing_destination(struct fsl_mc_io *mc_io,
  *
  * Return:	'0' on Success; Error code otherwise.
  */
+RTE_EXPORT_INTERNAL_SYMBOL(dpio_get_stashing_destination)
 int dpio_get_stashing_destination(struct fsl_mc_io *mc_io,
 				  uint32_t cmd_flags,
 				  uint16_t token,
@@ -386,6 +396,7 @@ int dpio_get_stashing_destination(struct fsl_mc_io *mc_io,
  *
  * Return:	'0' on Success; Error code otherwise.
  */
+RTE_EXPORT_INTERNAL_SYMBOL(dpio_set_stashing_destination_by_core_id)
 int dpio_set_stashing_destination_by_core_id(struct fsl_mc_io *mc_io,
 					uint32_t cmd_flags,
 					uint16_t token,
@@ -414,6 +425,7 @@ int dpio_set_stashing_destination_by_core_id(struct fsl_mc_io *mc_io,
  *
  * Return:	'0' on Success; Error code otherwise.
  */
+RTE_EXPORT_INTERNAL_SYMBOL(dpio_set_stashing_destination_source)
 int dpio_set_stashing_destination_source(struct fsl_mc_io *mc_io,
 				  uint32_t cmd_flags,
 				  uint16_t token,
@@ -442,6 +454,7 @@ int dpio_set_stashing_destination_source(struct fsl_mc_io *mc_io,
  *
  * Return:	'0' on Success; Error code otherwise.
  */
+RTE_EXPORT_INTERNAL_SYMBOL(dpio_get_stashing_destination_source)
 int dpio_get_stashing_destination_source(struct fsl_mc_io *mc_io,
 				  uint32_t cmd_flags,
 				  uint16_t token,
@@ -478,6 +491,7 @@ int dpio_get_stashing_destination_source(struct fsl_mc_io *mc_io,
  *
  * Return:	'0' on Success; Error code otherwise.
  */
+RTE_EXPORT_INTERNAL_SYMBOL(dpio_add_static_dequeue_channel)
 int dpio_add_static_dequeue_channel(struct fsl_mc_io *mc_io,
 				    uint32_t cmd_flags,
 				    uint16_t token,
@@ -517,6 +531,7 @@ int dpio_add_static_dequeue_channel(struct fsl_mc_io *mc_io,
  *
  * Return:	'0' on Success; Error code otherwise.
  */
+RTE_EXPORT_INTERNAL_SYMBOL(dpio_remove_static_dequeue_channel)
 int dpio_remove_static_dequeue_channel(struct fsl_mc_io *mc_io,
 				       uint32_t cmd_flags,
 				       uint16_t token,
drivers/bus/fslmc/mc/dpmng.c +4 -0
index 277080876d..b10c6f9091 100644
@@ -9,6 +9,8 @@
 #include <fsl_dpmng.h>
 #include <fsl_dpmng_cmd.h>
 
+#include <eal_symbol_exports.h>
+
 /**
  * mc_get_version() - Retrieves the Management Complex firmware
  *			version information
@@ -18,6 +20,7 @@
  *
  * Return:	'0' on Success; Error code otherwise.
  */
+RTE_EXPORT_INTERNAL_SYMBOL(mc_get_version)
 int mc_get_version(struct fsl_mc_io *mc_io,
 		   uint32_t cmd_flags,
 		   struct mc_version *mc_ver_info)
@@ -57,6 +60,7 @@ int mc_get_version(struct fsl_mc_io *mc_io,
  *
  * Return:     '0' on Success; Error code otherwise.
  */
+RTE_EXPORT_INTERNAL_SYMBOL(mc_get_soc_version)
 int mc_get_soc_version(struct fsl_mc_io *mc_io,
 		       uint32_t cmd_flags,
 		       struct mc_soc_version *mc_platform_info)
drivers/bus/fslmc/mc/mc_sys.c +2 -0
index 76fdcd5c8a..1948875e7f 100644
@@ -7,6 +7,7 @@
 #include <fsl_mc_sys.h>
 #include <fsl_mc_cmd.h>
 
+#include <eal_symbol_exports.h>
 #include <rte_spinlock.h>
 #include <rte_cycles.h>
 
@@ -52,6 +53,7 @@ static int mc_status_to_error(enum mc_cmd_status status)
 	return -EINVAL;
 }
 
+RTE_EXPORT_INTERNAL_SYMBOL(mc_send_command)
 int mc_send_command(struct fsl_mc_io *mc_io, struct mc_command *cmd)
 {
 	enum mc_cmd_status status;
drivers/bus/fslmc/portal/dpaa2_hw_dpbp.c +4 -0
index 0ca3b2b2e4..d43f2b0abe 100644
@@ -13,6 +13,7 @@
 #include <fcntl.h>
 #include <errno.h>
 
+#include <eal_symbol_exports.h>
 #include <rte_malloc.h>
 #include <rte_memcpy.h>
 #include <rte_string_fns.h>
@@ -95,6 +96,7 @@ dpaa2_create_dpbp_device(int vdev_fd __rte_unused,
 	return 0;
 }
 
+RTE_EXPORT_INTERNAL_SYMBOL(dpaa2_alloc_dpbp_dev)
 struct dpaa2_dpbp_dev *dpaa2_alloc_dpbp_dev(void)
 {
 	struct dpaa2_dpbp_dev *dpbp_dev = NULL;
@@ -108,6 +110,7 @@ struct dpaa2_dpbp_dev *dpaa2_alloc_dpbp_dev(void)
 	return dpbp_dev;
 }
 
+RTE_EXPORT_INTERNAL_SYMBOL(dpaa2_free_dpbp_dev)
 void dpaa2_free_dpbp_dev(struct dpaa2_dpbp_dev *dpbp)
 {
 	struct dpaa2_dpbp_dev *dpbp_dev = NULL;
@@ -121,6 +124,7 @@ void dpaa2_free_dpbp_dev(struct dpaa2_dpbp_dev *dpbp)
 	}
 }
 
+RTE_EXPORT_INTERNAL_SYMBOL(dpaa2_dpbp_supported)
 int dpaa2_dpbp_supported(void)
 {
 	if (TAILQ_EMPTY(&dpbp_dev_list))
drivers/bus/fslmc/portal/dpaa2_hw_dpci.c +3 -0
index 0ea859f887..87e713ead4 100644
@@ -12,6 +12,7 @@
 #include <fcntl.h>
 #include <errno.h>
 
+#include <eal_symbol_exports.h>
 #include <rte_malloc.h>
 #include <rte_memcpy.h>
 #include <rte_string_fns.h>
@@ -151,6 +152,7 @@ rte_dpaa2_create_dpci_device(int vdev_fd __rte_unused,
 	return ret;
 }
 
+RTE_EXPORT_INTERNAL_SYMBOL(rte_dpaa2_alloc_dpci_dev)
 struct dpaa2_dpci_dev *rte_dpaa2_alloc_dpci_dev(void)
 {
 	struct dpaa2_dpci_dev *dpci_dev = NULL;
@@ -164,6 +166,7 @@ struct dpaa2_dpci_dev *rte_dpaa2_alloc_dpci_dev(void)
 	return dpci_dev;
 }
 
+RTE_EXPORT_INTERNAL_SYMBOL(rte_dpaa2_free_dpci_dev)
 void rte_dpaa2_free_dpci_dev(struct dpaa2_dpci_dev *dpci)
 {
 	struct dpaa2_dpci_dev *dpci_dev = NULL;
drivers/bus/fslmc/portal/dpaa2_hw_dpio.c +12 -0
index 2dfcf7a498..aacd9abb66 100644
@@ -23,6 +23,7 @@
 #include <sys/eventfd.h>
 #include <sys/syscall.h>
 
+#include <eal_symbol_exports.h>
 #include <rte_mbuf.h>
 #include <ethdev_driver.h>
 #include <rte_malloc.h>
@@ -40,9 +41,12 @@
 
 #define NUM_HOST_CPUS RTE_MAX_LCORE
 
+RTE_EXPORT_INTERNAL_SYMBOL(dpaa2_io_portal)
 struct dpaa2_io_portal_t dpaa2_io_portal[RTE_MAX_LCORE];
+RTE_EXPORT_INTERNAL_SYMBOL(per_lcore__dpaa2_io)
 RTE_DEFINE_PER_LCORE(struct dpaa2_io_portal_t, _dpaa2_io);
 
+RTE_EXPORT_INTERNAL_SYMBOL(rte_global_active_dqs_list)
 struct swp_active_dqs rte_global_active_dqs_list[NUM_MAX_SWP];
 
 TAILQ_HEAD(dpio_dev_list, dpaa2_dpio_dev);
@@ -51,11 +55,14 @@ static struct dpio_dev_list dpio_dev_list
 static uint32_t io_space_count;
 
 /* Variable to store DPAA2 platform type */
+RTE_EXPORT_INTERNAL_SYMBOL(dpaa2_svr_family)
 uint32_t dpaa2_svr_family;
 
 /* Variable to store DPAA2 DQRR size */
+RTE_EXPORT_INTERNAL_SYMBOL(dpaa2_dqrr_size)
 uint8_t dpaa2_dqrr_size;
 /* Variable to store DPAA2 EQCR size */
+RTE_EXPORT_INTERNAL_SYMBOL(dpaa2_eqcr_size)
 uint8_t dpaa2_eqcr_size;
 
 /* Variable to hold the portal_key, once created.*/
@@ -325,6 +332,7 @@ static struct dpaa2_dpio_dev *dpaa2_get_qbman_swp(void)
 	return dpio_dev;
 }
 
+RTE_EXPORT_INTERNAL_SYMBOL(dpaa2_affine_qbman_swp)
 int
 dpaa2_affine_qbman_swp(void)
 {
@@ -346,6 +354,7 @@ dpaa2_affine_qbman_swp(void)
 	return 0;
 }
 
+RTE_EXPORT_INTERNAL_SYMBOL(dpaa2_affine_qbman_ethrx_swp)
 int
 dpaa2_affine_qbman_ethrx_swp(void)
 {
@@ -606,6 +615,7 @@ dpaa2_create_dpio_device(int vdev_fd,
 	return -1;
 }
 
+RTE_EXPORT_INTERNAL_SYMBOL(dpaa2_free_dq_storage)
 void
 dpaa2_free_dq_storage(struct queue_storage_info_t *q_storage)
 {
@@ -617,6 +627,7 @@ dpaa2_free_dq_storage(struct queue_storage_info_t *q_storage)
 	}
 }
 
+RTE_EXPORT_INTERNAL_SYMBOL(dpaa2_alloc_dq_storage)
 int
 dpaa2_alloc_dq_storage(struct queue_storage_info_t *q_storage)
 {
@@ -639,6 +650,7 @@ dpaa2_alloc_dq_storage(struct queue_storage_info_t *q_storage)
 	return -1;
 }
 
+RTE_EXPORT_INTERNAL_SYMBOL(dpaa2_free_eq_descriptors)
 uint32_t
 dpaa2_free_eq_descriptors(void)
 {
drivers/bus/fslmc/qbman/qbman_debug.c +4 -0
index 0e471ec3fd..c79a7c59b0 100644
@@ -7,6 +7,8 @@
 #include <fsl_qbman_debug.h>
 #include "qbman_portal.h"
 
+#include <eal_symbol_exports.h>
+
 /* QBMan portal management command code */
 #define QBMAN_BP_QUERY            0x32
 #define QBMAN_FQ_QUERY            0x44
@@ -325,6 +327,7 @@ uint16_t qbman_fq_attr_get_opridsz(struct qbman_fq_query_rslt *r)
 	return r->opridsz;
 }
 
+RTE_EXPORT_INTERNAL_SYMBOL(qbman_fq_query_state)
 int qbman_fq_query_state(struct qbman_swp *s, uint32_t fqid,
 			 struct qbman_fq_query_np_rslt *r)
 {
@@ -382,6 +385,7 @@ int qbman_fq_state_overflow_error(const struct qbman_fq_query_np_rslt *r)
 	return (int)((r->st1 & 0x40) >> 6);
 }
 
+RTE_EXPORT_INTERNAL_SYMBOL(qbman_fq_state_frame_count)
 uint32_t qbman_fq_state_frame_count(const struct qbman_fq_query_np_rslt *r)
 {
 	return (r->frm_cnt & 0x00FFFFFF);
drivers/bus/fslmc/qbman/qbman_portal.c +43 -0

285 lines not on this page · raw message

drivers/bus/ifpga/ifpga_bus.c +4 -0
index 11b31eee4f..d2ca452604 100644
@@ -13,6 +13,7 @@
 #include <unistd.h>
 #include <fcntl.h>
 
+#include <eal_symbol_exports.h>
 #include <rte_errno.h>
 #include <bus_driver.h>
 #include <rte_per_lcore.h>
@@ -44,6 +45,7 @@ static TAILQ_HEAD(, rte_afu_driver) ifpga_afu_drv_list =
 
 
 /* register a ifpga bus based driver */
+RTE_EXPORT_INTERNAL_SYMBOL(rte_ifpga_driver_register)
 void rte_ifpga_driver_register(struct rte_afu_driver *driver)
 {
 	RTE_VERIFY(driver);
@@ -52,6 +54,7 @@ void rte_ifpga_driver_register(struct rte_afu_driver *driver)
 }
 
 /* un-register a fpga bus based driver */
+RTE_EXPORT_INTERNAL_SYMBOL(rte_ifpga_driver_unregister)
 void rte_ifpga_driver_unregister(struct rte_afu_driver *driver)
 {
 	TAILQ_REMOVE(&ifpga_afu_drv_list, driver, next);
@@ -71,6 +74,7 @@ ifpga_find_afu_dev(const struct rte_rawdev *rdev,
 	return NULL;
 }
 
+RTE_EXPORT_INTERNAL_SYMBOL(rte_ifpga_find_afu_by_name)
 struct rte_afu_device *
 rte_ifpga_find_afu_by_name(const char *name)
 {
drivers/bus/pci/bsd/pci.c +11 -0
index 2f88252418..3c8880bc4c 100644
@@ -39,6 +39,7 @@
 #include <rte_debug.h>
 #include <rte_devargs.h>
 
+#include <eal_symbol_exports.h>
 #include "eal_filesystem.h"
 #include "private.h"
 
@@ -48,6 +49,7 @@
  */
 
 /* Map pci device */
+RTE_EXPORT_SYMBOL(rte_pci_map_device)
 int
 rte_pci_map_device(struct rte_pci_device *dev)
 {
@@ -69,6 +71,7 @@ rte_pci_map_device(struct rte_pci_device *dev)
 }
 
 /* Unmap pci device */
+RTE_EXPORT_SYMBOL(rte_pci_unmap_device)
 void
 rte_pci_unmap_device(struct rte_pci_device *dev)
 {
@@ -395,6 +398,7 @@ pci_device_iova_mode(const struct rte_pci_driver *pdrv __rte_unused,
 }
 
 /* Read PCI config space. */
+RTE_EXPORT_SYMBOL(rte_pci_read_config)
 int rte_pci_read_config(const struct rte_pci_device *dev,
 		void *buf, size_t len, off_t offset)
 {
@@ -441,6 +445,7 @@ int rte_pci_read_config(const struct rte_pci_device *dev,
 }
 
 /* Write PCI config space. */
+RTE_EXPORT_SYMBOL(rte_pci_write_config)
 int rte_pci_write_config(const struct rte_pci_device *dev,
 		const void *buf, size_t len, off_t offset)
 {
@@ -484,6 +489,7 @@ int rte_pci_write_config(const struct rte_pci_device *dev,
 }
 
 /* Read PCI MMIO space. */
+RTE_EXPORT_EXPERIMENTAL_SYMBOL(rte_pci_mmio_read, 23.07)
 int rte_pci_mmio_read(const struct rte_pci_device *dev, int bar,
 		      void *buf, size_t len, off_t offset)
 {
@@ -495,6 +501,7 @@ int rte_pci_mmio_read(const struct rte_pci_device *dev, int bar,
 }
 
 /* Write PCI MMIO space. */
+RTE_EXPORT_EXPERIMENTAL_SYMBOL(rte_pci_mmio_write, 23.07)
 int rte_pci_mmio_write(const struct rte_pci_device *dev, int bar,
 		       const void *buf, size_t len, off_t offset)
 {
@@ -505,6 +512,7 @@ int rte_pci_mmio_write(const struct rte_pci_device *dev, int bar,
 	return len;
 }
 
+RTE_EXPORT_SYMBOL(rte_pci_ioport_map)
 int
 rte_pci_ioport_map(struct rte_pci_device *dev, int bar,
 		struct rte_pci_ioport *p)
@@ -566,6 +574,7 @@ pci_uio_ioport_read(struct rte_pci_ioport *p,
 #endif
 }
 
+RTE_EXPORT_SYMBOL(rte_pci_ioport_read)
 void
 rte_pci_ioport_read(struct rte_pci_ioport *p,
 		void *data, size_t len, off_t offset)
@@ -608,6 +617,7 @@ pci_uio_ioport_write(struct rte_pci_ioport *p,
 #endif
 }
 
+RTE_EXPORT_SYMBOL(rte_pci_ioport_write)
 void
 rte_pci_ioport_write(struct rte_pci_ioport *p,
 		const void *data, size_t len, off_t offset)
@@ -621,6 +631,7 @@ rte_pci_ioport_write(struct rte_pci_ioport *p,
 	}
 }
 
+RTE_EXPORT_SYMBOL(rte_pci_ioport_unmap)
 int
 rte_pci_ioport_unmap(struct rte_pci_ioport *p)
 {
drivers/bus/pci/linux/pci.c +11 -0
index 9056035b33..a056f047e3 100644
@@ -13,6 +13,7 @@
 #include <rte_memcpy.h>
 #include <rte_vfio.h>
 
+#include <eal_symbol_exports.h>
 #include "eal_filesystem.h"
 
 #include "private.h"
@@ -54,6 +55,7 @@ pci_get_kernel_driver_by_path(const char *filename, char *dri_name,
 }
 
 /* Map pci device */
+RTE_EXPORT_SYMBOL(rte_pci_map_device)
 int
 rte_pci_map_device(struct rte_pci_device *dev)
 {
@@ -84,6 +86,7 @@ rte_pci_map_device(struct rte_pci_device *dev)
 }
 
 /* Unmap pci device */
+RTE_EXPORT_SYMBOL(rte_pci_unmap_device)
 void
 rte_pci_unmap_device(struct rte_pci_device *dev)
 {
@@ -627,6 +630,7 @@ pci_device_iova_mode(const struct rte_pci_driver *pdrv,
 }
 
 /* Read PCI config space. */
+RTE_EXPORT_SYMBOL(rte_pci_read_config)
 int rte_pci_read_config(const struct rte_pci_device *device,
 		void *buf, size_t len, off_t offset)
 {
@@ -650,6 +654,7 @@ int rte_pci_read_config(const struct rte_pci_device *device,
 }
 
 /* Write PCI config space. */
+RTE_EXPORT_SYMBOL(rte_pci_write_config)
 int rte_pci_write_config(const struct rte_pci_device *device,
 		const void *buf, size_t len, off_t offset)
 {
@@ -673,6 +678,7 @@ int rte_pci_write_config(const struct rte_pci_device *device,
 }
 
 /* Read PCI MMIO space. */
+RTE_EXPORT_EXPERIMENTAL_SYMBOL(rte_pci_mmio_read, 23.07)
 int rte_pci_mmio_read(const struct rte_pci_device *device, int bar,
 		void *buf, size_t len, off_t offset)
 {
@@ -695,6 +701,7 @@ int rte_pci_mmio_read(const struct rte_pci_device *device, int bar,
 }
 
 /* Write PCI MMIO space. */
+RTE_EXPORT_EXPERIMENTAL_SYMBOL(rte_pci_mmio_write, 23.07)
 int rte_pci_mmio_write(const struct rte_pci_device *device, int bar,
 		const void *buf, size_t len, off_t offset)
 {
@@ -716,6 +723,7 @@ int rte_pci_mmio_write(const struct rte_pci_device *device, int bar,
 	}
 }
 
+RTE_EXPORT_SYMBOL(rte_pci_ioport_map)
 int
 rte_pci_ioport_map(struct rte_pci_device *dev, int bar,
 		struct rte_pci_ioport *p)
@@ -743,6 +751,7 @@ rte_pci_ioport_map(struct rte_pci_device *dev, int bar,
 	return ret;
 }
 
+RTE_EXPORT_SYMBOL(rte_pci_ioport_read)
 void
 rte_pci_ioport_read(struct rte_pci_ioport *p,
 		void *data, size_t len, off_t offset)
@@ -762,6 +771,7 @@ rte_pci_ioport_read(struct rte_pci_ioport *p,
 	}
 }
 
+RTE_EXPORT_SYMBOL(rte_pci_ioport_write)
 void
 rte_pci_ioport_write(struct rte_pci_ioport *p,
 		const void *data, size_t len, off_t offset)
@@ -781,6 +791,7 @@ rte_pci_ioport_write(struct rte_pci_ioport *p,
 	}
 }
 
+RTE_EXPORT_SYMBOL(rte_pci_ioport_unmap)
 int
 rte_pci_ioport_unmap(struct rte_pci_ioport *p)
 {
drivers/bus/pci/pci_common.c +11 -0
index 70faae4e44..8902016d6b 100644
@@ -10,6 +10,7 @@
 #include <stdlib.h>
 #include <stdio.h>
 #include <sys/queue.h>
+#include <eal_symbol_exports.h>
 #include <rte_errno.h>
 #include <rte_interrupts.h>
 #include <rte_log.h>
@@ -32,6 +33,7 @@
 
 #define SYSFS_PCI_DEVICES "/sys/bus/pci/devices"
 
+RTE_EXPORT_INTERNAL_SYMBOL(rte_pci_get_sysfs_path)
 const char *rte_pci_get_sysfs_path(void)
 {
 	const char *path = NULL;
@@ -476,6 +478,7 @@ pci_dump_one_device(FILE *f, struct rte_pci_device *dev)
 }
 
 /* dump devices on the bus */
+RTE_EXPORT_SYMBOL(rte_pci_dump)
 void
 rte_pci_dump(FILE *f)
 {
@@ -500,6 +503,7 @@ pci_parse(const char *name, void *addr)
 }
 
 /* register a driver */
+RTE_EXPORT_INTERNAL_SYMBOL(rte_pci_register)
 void
 rte_pci_register(struct rte_pci_driver *driver)
 {
@@ -507,6 +511,7 @@ rte_pci_register(struct rte_pci_driver *driver)
 }
 
 /* unregister a driver */
+RTE_EXPORT_INTERNAL_SYMBOL(rte_pci_unregister)
 void
 rte_pci_unregister(struct rte_pci_driver *driver)
 {
@@ -794,6 +799,7 @@ rte_pci_get_iommu_class(void)
 	return iova_mode;
 }
 
+RTE_EXPORT_EXPERIMENTAL_SYMBOL(rte_pci_has_capability_list, 23.11)
 bool
 rte_pci_has_capability_list(const struct rte_pci_device *dev)
 {
@@ -805,12 +811,14 @@ rte_pci_has_capability_list(const struct rte_pci_device *dev)
 	return (status & RTE_PCI_STATUS_CAP_LIST) != 0;
 }
 
+RTE_EXPORT_EXPERIMENTAL_SYMBOL(rte_pci_find_capability, 23.11)
 off_t
 rte_pci_find_capability(const struct rte_pci_device *dev, uint8_t cap)
 {
 	return rte_pci_find_next_capability(dev, cap, 0);
 }
 
+RTE_EXPORT_EXPERIMENTAL_SYMBOL(rte_pci_find_next_capability, 23.11)
 off_t
 rte_pci_find_next_capability(const struct rte_pci_device *dev, uint8_t cap,
 	off_t offset)
@@ -848,6 +856,7 @@ rte_pci_find_next_capability(const struct rte_pci_device *dev, uint8_t cap,
 	return 0;
 }
 
+RTE_EXPORT_EXPERIMENTAL_SYMBOL(rte_pci_find_ext_capability, 20.11)
 off_t
 rte_pci_find_ext_capability(const struct rte_pci_device *dev, uint32_t cap)
 {
@@ -890,6 +899,7 @@ rte_pci_find_ext_capability(const struct rte_pci_device *dev, uint32_t cap)
 	return 0;
 }
 
+RTE_EXPORT_EXPERIMENTAL_SYMBOL(rte_pci_set_bus_master, 21.08)
 int
 rte_pci_set_bus_master(const struct rte_pci_device *dev, bool enable)
 {
@@ -918,6 +928,7 @@ rte_pci_set_bus_master(const struct rte_pci_device *dev, bool enable)
 	return 0;
 }
 
+RTE_EXPORT_INTERNAL_SYMBOL(rte_pci_pasid_set_state)
 int
 rte_pci_pasid_set_state(const struct rte_pci_device *dev,
 		off_t offset, bool enable)
drivers/bus/pci/windows/pci.c +11 -0
index 36e6f89093..64bcd229d2 100644
@@ -4,6 +4,7 @@
 
 #include <sys/queue.h>
 
+#include <eal_symbol_exports.h>
 #include <rte_windows.h>
 #include <rte_errno.h>
 #include <rte_log.h>
@@ -36,6 +37,7 @@ DEFINE_DEVPROPKEY(DEVPKEY_Device_Numa_Node, 0x540b947e, 0x8b40, 0x45bc,
  */
 
 /* Map pci device */
+RTE_EXPORT_SYMBOL(rte_pci_map_device)
 int
 rte_pci_map_device(struct rte_pci_device *dev)
 {
@@ -50,6 +52,7 @@ rte_pci_map_device(struct rte_pci_device *dev)
 }
 
 /* Unmap pci device */
+RTE_EXPORT_SYMBOL(rte_pci_unmap_device)
 void
 rte_pci_unmap_device(struct rte_pci_device *dev __rte_unused)
 {
@@ -61,6 +64,7 @@ rte_pci_unmap_device(struct rte_pci_device *dev __rte_unused)
 }
 
 /* Read PCI config space. */
+RTE_EXPORT_SYMBOL(rte_pci_read_config)
 int
 rte_pci_read_config(const struct rte_pci_device *dev __rte_unused,
 	void *buf __rte_unused, size_t len __rte_unused,
@@ -75,6 +79,7 @@ rte_pci_read_config(const struct rte_pci_device *dev __rte_unused,
 }
 
 /* Write PCI config space. */
+RTE_EXPORT_SYMBOL(rte_pci_write_config)
 int
 rte_pci_write_config(const struct rte_pci_device *dev __rte_unused,
 	const void *buf __rte_unused, size_t len __rte_unused,
@@ -89,6 +94,7 @@ rte_pci_write_config(const struct rte_pci_device *dev __rte_unused,
 }
 
 /* Read PCI MMIO space. */
+RTE_EXPORT_EXPERIMENTAL_SYMBOL(rte_pci_mmio_read, 23.07)
 int
 rte_pci_mmio_read(const struct rte_pci_device *dev, int bar,
 		      void *buf, size_t len, off_t offset)
@@ -101,6 +107,7 @@ rte_pci_mmio_read(const struct rte_pci_device *dev, int bar,
 }
 
 /* Write PCI MMIO space. */
+RTE_EXPORT_EXPERIMENTAL_SYMBOL(rte_pci_mmio_write, 23.07)
 int
 rte_pci_mmio_write(const struct rte_pci_device *dev, int bar,
 		       const void *buf, size_t len, off_t offset)
@@ -124,6 +131,7 @@ pci_device_iova_mode(const struct rte_pci_driver *pdrv __rte_unused,
 	return RTE_IOVA_DC;
 }
 
+RTE_EXPORT_SYMBOL(rte_pci_ioport_map)
 int
 rte_pci_ioport_map(struct rte_pci_device *dev __rte_unused,
 	int bar __rte_unused, struct rte_pci_ioport *p __rte_unused)
@@ -137,6 +145,7 @@ rte_pci_ioport_map(struct rte_pci_device *dev __rte_unused,
 }
 
 
+RTE_EXPORT_SYMBOL(rte_pci_ioport_read)
 void
 rte_pci_ioport_read(struct rte_pci_ioport *p __rte_unused,
 	void *data __rte_unused, size_t len __rte_unused,
@@ -149,6 +158,7 @@ rte_pci_ioport_read(struct rte_pci_ioport *p __rte_unused,
 	 */
 }
 
+RTE_EXPORT_SYMBOL(rte_pci_ioport_unmap)
 int
 rte_pci_ioport_unmap(struct rte_pci_ioport *p __rte_unused)
 {
@@ -171,6 +181,7 @@ pci_device_iommu_support_va(const struct rte_pci_device *dev __rte_unused)
 	return false;
 }
 
+RTE_EXPORT_SYMBOL(rte_pci_ioport_write)
 void
 rte_pci_ioport_write(struct rte_pci_ioport *p __rte_unused,
 		const void *data __rte_unused, size_t len __rte_unused,
drivers/bus/platform/platform.c +3 -0
index 11892caa24..da36fc0db4 100644
@@ -13,6 +13,7 @@
 
 #include <bus_driver.h>
 #include <bus_platform_driver.h>
+#include <eal_symbol_exports.h>
 #include <eal_filesystem.h>
 #include <rte_bus.h>
 #include <rte_devargs.h>
@@ -28,12 +29,14 @@
 
 #define PLATFORM_BUS_DEVICES_PATH "/sys/bus/platform/devices"
 
+RTE_EXPORT_INTERNAL_SYMBOL(rte_platform_register)
 void
 rte_platform_register(struct rte_platform_driver *pdrv)
 {
 	TAILQ_INSERT_TAIL(&platform_bus.driver_list, pdrv, next);
 }
 
+RTE_EXPORT_INTERNAL_SYMBOL(rte_platform_unregister)
 void
 rte_platform_unregister(struct rte_platform_driver *pdrv)
 {
drivers/bus/uacce/uacce.c +10 -0
index 9ca048122d..23995cbc04 100644
@@ -13,6 +13,7 @@
 #include <sys/stat.h>
 #include <sys/types.h>
 
+#include <eal_symbol_exports.h>
 #include <rte_bitops.h>
 #include <rte_common.h>
 #include <rte_devargs.h>
@@ -582,6 +583,7 @@ uacce_dev_iterate(const void *start, const char *str,
 	return dev;
 }
 
+RTE_EXPORT_INTERNAL_SYMBOL(rte_uacce_avail_queues)
 int
 rte_uacce_avail_queues(struct rte_uacce_device *dev)
 {
@@ -595,6 +597,7 @@ rte_uacce_avail_queues(struct rte_uacce_device *dev)
 	return ret;
 }
 
+RTE_EXPORT_INTERNAL_SYMBOL(rte_uacce_queue_alloc)
 int
 rte_uacce_queue_alloc(struct rte_uacce_device *dev, struct rte_uacce_qcontex *qctx)
 {
@@ -609,6 +612,7 @@ rte_uacce_queue_alloc(struct rte_uacce_device *dev, struct rte_uacce_qcontex *qc
 	return -EIO;
 }
 
+RTE_EXPORT_INTERNAL_SYMBOL(rte_uacce_queue_free)
 void
 rte_uacce_queue_free(struct rte_uacce_qcontex *qctx)
 {
@@ -618,6 +622,7 @@ rte_uacce_queue_free(struct rte_uacce_qcontex *qctx)
 	qctx->fd = -1;
 }
 
+RTE_EXPORT_INTERNAL_SYMBOL(rte_uacce_queue_start)
 int
 rte_uacce_queue_start(struct rte_uacce_qcontex *qctx)
 {
@@ -625,6 +630,7 @@ rte_uacce_queue_start(struct rte_uacce_qcontex *qctx)
 	return ioctl(qctx->fd, UACCE_CMD_START_Q);
 }
 
+RTE_EXPORT_INTERNAL_SYMBOL(rte_uacce_queue_ioctl)
 int
 rte_uacce_queue_ioctl(struct rte_uacce_qcontex *qctx, unsigned long cmd, void *arg)
 {
@@ -634,6 +640,7 @@ rte_uacce_queue_ioctl(struct rte_uacce_qcontex *qctx, unsigned long cmd, void *a
 	return ioctl(qctx->fd, cmd, arg);
 }
 
+RTE_EXPORT_INTERNAL_SYMBOL(rte_uacce_queue_mmap)
 void *
 rte_uacce_queue_mmap(struct rte_uacce_qcontex *qctx, enum rte_uacce_qfrt qfrt)
 {
@@ -659,6 +666,7 @@ rte_uacce_queue_mmap(struct rte_uacce_qcontex *qctx, enum rte_uacce_qfrt qfrt)
 	return addr;
 }
 
+RTE_EXPORT_INTERNAL_SYMBOL(rte_uacce_queue_unmap)
 void
 rte_uacce_queue_unmap(struct rte_uacce_qcontex *qctx, enum rte_uacce_qfrt qfrt)
 {
@@ -668,6 +676,7 @@ rte_uacce_queue_unmap(struct rte_uacce_qcontex *qctx, enum rte_uacce_qfrt qfrt)
 	}
 }
 
+RTE_EXPORT_INTERNAL_SYMBOL(rte_uacce_register)
 void
 rte_uacce_register(struct rte_uacce_driver *driver)
 {
@@ -675,6 +684,7 @@ rte_uacce_register(struct rte_uacce_driver *driver)
 	driver->bus = &uacce_bus;
 }
 
+RTE_EXPORT_INTERNAL_SYMBOL(rte_uacce_unregister)
 void
 rte_uacce_unregister(struct rte_uacce_driver *driver)
 {
drivers/bus/vdev/vdev.c +7 -0
index ec7abe7cda..633e9c49b9 100644
@@ -10,6 +10,7 @@
 #include <stdbool.h>
 #include <sys/queue.h>
 
+#include <eal_symbol_exports.h>
 #include <rte_eal.h>
 #include <dev_driver.h>
 #include <bus_driver.h>
@@ -51,6 +52,7 @@ static struct vdev_custom_scans vdev_custom_scans =
 static rte_spinlock_t vdev_custom_scan_lock = RTE_SPINLOCK_INITIALIZER;
 
 /* register a driver */
+RTE_EXPORT_INTERNAL_SYMBOL(rte_vdev_register)
 void
 rte_vdev_register(struct rte_vdev_driver *driver)
 {
@@ -58,12 +60,14 @@ rte_vdev_register(struct rte_vdev_driver *driver)
 }
 
 /* unregister a driver */
+RTE_EXPORT_INTERNAL_SYMBOL(rte_vdev_unregister)
 void
 rte_vdev_unregister(struct rte_vdev_driver *driver)
 {
 	TAILQ_REMOVE(&vdev_driver_list, driver, next);
 }
 
+RTE_EXPORT_SYMBOL(rte_vdev_add_custom_scan)
 int
 rte_vdev_add_custom_scan(rte_vdev_scan_callback callback, void *user_arg)
 {
@@ -92,6 +96,7 @@ rte_vdev_add_custom_scan(rte_vdev_scan_callback callback, void *user_arg)
 	return (custom_scan == NULL) ? -1 : 0;
 }
 
+RTE_EXPORT_SYMBOL(rte_vdev_remove_custom_scan)
 int
 rte_vdev_remove_custom_scan(rte_vdev_scan_callback callback, void *user_arg)
 {
@@ -316,6 +321,7 @@ insert_vdev(const char *name, const char *args,
 	return ret;
 }
 
+RTE_EXPORT_SYMBOL(rte_vdev_init)
 int
 rte_vdev_init(const char *name, const char *args)
 {
@@ -355,6 +361,7 @@ vdev_remove_driver(struct rte_vdev_device *dev)
 	return driver->remove(dev);
 }
 
+RTE_EXPORT_SYMBOL(rte_vdev_uninit)
 int
 rte_vdev_uninit(const char *name)
 {
drivers/bus/vmbus/linux/vmbus_bus.c +7 -0
index 01d8111b85..272366aa28 100644
@@ -19,6 +19,7 @@
 #include <rte_malloc.h>
 #include <rte_bus_vmbus.h>
 
+#include <eal_symbol_exports.h>
 #include "eal_filesystem.h"
 #include "private.h"
 
@@ -164,6 +165,7 @@ static const char *map_names[VMBUS_MAX_RESOURCE] = {
 
 
 /* map the resources of a vmbus device in virtual memory */
+RTE_EXPORT_SYMBOL(rte_vmbus_map_device)
 int
 rte_vmbus_map_device(struct rte_vmbus_device *dev)
 {
@@ -222,6 +224,7 @@ rte_vmbus_map_device(struct rte_vmbus_device *dev)
 	return vmbus_uio_map_resource(dev);
 }
 
+RTE_EXPORT_SYMBOL(rte_vmbus_unmap_device)
 void
 rte_vmbus_unmap_device(struct rte_vmbus_device *dev)
 {
@@ -338,6 +341,7 @@ vmbus_scan_one(const char *name)
 /*
  * Scan the content of the vmbus, and the devices in the devices list
  */
+RTE_EXPORT_SYMBOL(rte_vmbus_scan)
 int
 rte_vmbus_scan(void)
 {
@@ -369,16 +373,19 @@ rte_vmbus_scan(void)
 	return -1;
 }
 
+RTE_EXPORT_SYMBOL(rte_vmbus_irq_mask)
 void rte_vmbus_irq_mask(struct rte_vmbus_device *device)
 {
 	vmbus_uio_irq_control(device, 1);
 }
 
+RTE_EXPORT_SYMBOL(rte_vmbus_irq_unmask)
 void rte_vmbus_irq_unmask(struct rte_vmbus_device *device)
 {
 	vmbus_uio_irq_control(device, 0);
 }
 
+RTE_EXPORT_SYMBOL(rte_vmbus_irq_read)
 int rte_vmbus_irq_read(struct rte_vmbus_device *device)
 {
 	return vmbus_uio_irq_read(device);
drivers/bus/vmbus/vmbus_channel.c +14 -0
index 925c2aa081..b78c564cea 100644
@@ -8,6 +8,7 @@
 #include <string.h>
 #include <sys/uio.h>
 
+#include <eal_symbol_exports.h>
 #include <rte_eal.h>
 #include <rte_tailq.h>
 #include <rte_log.h>
@@ -47,6 +48,7 @@ vmbus_set_event(const struct vmbus_channel *chan)
 /*
  * Set the wait between when hypervisor examines the trigger.
  */
+RTE_EXPORT_SYMBOL(rte_vmbus_set_latency)
 void
 rte_vmbus_set_latency(const struct rte_vmbus_device *dev,
 		      const struct vmbus_channel *chan,
@@ -76,6 +78,7 @@ rte_vmbus_set_latency(const struct rte_vmbus_device *dev,
  * Since this in userspace, rely on the monitor page.
  * Can't do a hypercall from userspace.
  */
+RTE_EXPORT_SYMBOL(rte_vmbus_chan_signal_tx)
 void
 rte_vmbus_chan_signal_tx(const struct vmbus_channel *chan)
 {
@@ -93,6 +96,7 @@ rte_vmbus_chan_signal_tx(const struct vmbus_channel *chan)
 
 
 /* Do a simple send directly using transmit ring. */
+RTE_EXPORT_SYMBOL(rte_vmbus_chan_send)
 int rte_vmbus_chan_send(struct vmbus_channel *chan, uint16_t type,
 			void *data, uint32_t dlen,
 			uint64_t xactid, uint32_t flags, bool *need_sig)
@@ -136,6 +140,7 @@ int rte_vmbus_chan_send(struct vmbus_channel *chan, uint16_t type,
 }
 
 /* Do a scatter/gather send where the descriptor points to data. */
+RTE_EXPORT_SYMBOL(rte_vmbus_chan_send_sglist)
 int rte_vmbus_chan_send_sglist(struct vmbus_channel *chan,
 			       struct vmbus_gpa sg[], uint32_t sglen,
 			       void *data, uint32_t dlen,
@@ -179,6 +184,7 @@ int rte_vmbus_chan_send_sglist(struct vmbus_channel *chan,
 	return error;
 }
 
+RTE_EXPORT_SYMBOL(rte_vmbus_chan_rx_empty)
 bool rte_vmbus_chan_rx_empty(const struct vmbus_channel *channel)
 {
 	const struct vmbus_br *br = &channel->rxbr;
@@ -188,6 +194,7 @@ bool rte_vmbus_chan_rx_empty(const struct vmbus_channel *channel)
 }
 
 /* Signal host after reading N bytes */
+RTE_EXPORT_SYMBOL(rte_vmbus_chan_signal_read)
 void rte_vmbus_chan_signal_read(struct vmbus_channel *chan, uint32_t bytes_read)
 {
 	struct vmbus_br *rbr = &chan->rxbr;
@@ -218,6 +225,7 @@ void rte_vmbus_chan_signal_read(struct vmbus_channel *chan, uint32_t bytes_read)
 	vmbus_set_event(chan);
 }
 
+RTE_EXPORT_SYMBOL(rte_vmbus_chan_recv)
 int rte_vmbus_chan_recv(struct vmbus_channel *chan, void *data, uint32_t *len,
 			uint64_t *request_id)
 {
@@ -265,6 +273,7 @@ int rte_vmbus_chan_recv(struct vmbus_channel *chan, void *data, uint32_t *len,
 }
 
 /* TODO: replace this with inplace ring buffer (no copy) */
+RTE_EXPORT_SYMBOL(rte_vmbus_chan_recv_raw)
 int rte_vmbus_chan_recv_raw(struct vmbus_channel *chan,
 			    void *data, uint32_t *len)
 {
@@ -335,6 +344,7 @@ int vmbus_chan_create(const struct rte_vmbus_device *device,
 }
 
 /* Setup the primary channel */
+RTE_EXPORT_SYMBOL(rte_vmbus_chan_open)
 int rte_vmbus_chan_open(struct rte_vmbus_device *device,
 			struct vmbus_channel **new_chan)
 {
@@ -355,6 +365,7 @@ int rte_vmbus_chan_open(struct rte_vmbus_device *device,
 	return err;
 }
 
+RTE_EXPORT_SYMBOL(rte_vmbus_max_channels)
 int rte_vmbus_max_channels(const struct rte_vmbus_device *device)
 {
 	if (vmbus_uio_subchannels_supported(device, device->primary))
@@ -364,6 +375,7 @@ int rte_vmbus_max_channels(const struct rte_vmbus_device *device)
 }
 
 /* Setup secondary channel */
+RTE_EXPORT_SYMBOL(rte_vmbus_subchan_open)
 int rte_vmbus_subchan_open(struct vmbus_channel *primary,
 			   struct vmbus_channel **new_chan)
 {
@@ -379,11 +391,13 @@ int rte_vmbus_subchan_open(struct vmbus_channel *primary,
 	return 0;
 }
 
+RTE_EXPORT_SYMBOL(rte_vmbus_sub_channel_index)
 uint16_t rte_vmbus_sub_channel_index(const struct vmbus_channel *chan)
 {
 	return chan->subchannel_id;
 }
 
+RTE_EXPORT_SYMBOL(rte_vmbus_chan_close)
 void rte_vmbus_chan_close(struct vmbus_channel *chan)
 {
 	const struct rte_vmbus_device *device = chan->device;
drivers/bus/vmbus/vmbus_common.c +4 -0
index 8a965d10d9..4dd5f09742 100644
@@ -10,6 +10,7 @@
 #include <sys/queue.h>
 #include <sys/mman.h>
 
+#include <eal_symbol_exports.h>
 #include <rte_log.h>
 #include <rte_eal.h>
 #include <rte_tailq.h>
@@ -191,6 +192,7 @@ vmbus_ignore_device(struct rte_vmbus_device *dev)
  * all registered drivers that have a matching entry in its id_table
  * for discovered devices.
  */
+RTE_EXPORT_SYMBOL(rte_vmbus_probe)
 int
 rte_vmbus_probe(void)
 {
@@ -279,6 +281,7 @@ vmbus_devargs_lookup(struct rte_vmbus_device *dev)
 }
 
 /* register vmbus driver */
+RTE_EXPORT_INTERNAL_SYMBOL(rte_vmbus_register)
 void
 rte_vmbus_register(struct rte_vmbus_driver *driver)
 {
@@ -289,6 +292,7 @@ rte_vmbus_register(struct rte_vmbus_driver *driver)
 }
 
 /* unregister vmbus driver */
+RTE_EXPORT_INTERNAL_SYMBOL(rte_vmbus_unregister)
 void
 rte_vmbus_unregister(struct rte_vmbus_driver *driver)
 {
drivers/common/cnxk/cnxk_security.c +13 -0
index a3c06c1e88..4b53fc6486 100644
@@ -2,6 +2,7 @@
  * Copyright(C) 2021 Marvell.
  */
 
+#include <eal_symbol_exports.h>
 #include <rte_udp.h>
 
 #include "roc_api.h"
@@ -301,6 +302,7 @@ ot_ipsec_inb_tunnel_hdr_fill(struct roc_ot_ipsec_inb_sa *sa,
 	return 0;
 }
 
+RTE_EXPORT_INTERNAL_SYMBOL(cnxk_ot_ipsec_inb_sa_fill)
 int
 cnxk_ot_ipsec_inb_sa_fill(struct roc_ot_ipsec_inb_sa *sa,
 			  struct rte_security_ipsec_xform *ipsec_xfrm,
@@ -410,6 +412,7 @@ cnxk_ot_ipsec_inb_sa_fill(struct roc_ot_ipsec_inb_sa *sa,
 	return 0;
 }
 
+RTE_EXPORT_INTERNAL_SYMBOL(cnxk_ot_ipsec_outb_sa_fill)
 int
 cnxk_ot_ipsec_outb_sa_fill(struct roc_ot_ipsec_outb_sa *sa,
 			   struct rte_security_ipsec_xform *ipsec_xfrm,
@@ -574,18 +577,21 @@ cnxk_ot_ipsec_outb_sa_fill(struct roc_ot_ipsec_outb_sa *sa,
 	return 0;
 }
 
+RTE_EXPORT_INTERNAL_SYMBOL(cnxk_ot_ipsec_inb_sa_valid)
 bool
 cnxk_ot_ipsec_inb_sa_valid(struct roc_ot_ipsec_inb_sa *sa)
 {
 	return !!sa->w2.s.valid;
 }
 
+RTE_EXPORT_INTERNAL_SYMBOL(cnxk_ot_ipsec_outb_sa_valid)
 bool
 cnxk_ot_ipsec_outb_sa_valid(struct roc_ot_ipsec_outb_sa *sa)
 {
 	return !!sa->w2.s.valid;
 }
 
+RTE_EXPORT_INTERNAL_SYMBOL(cnxk_ipsec_ivlen_get)
 uint8_t
 cnxk_ipsec_ivlen_get(enum rte_crypto_cipher_algorithm c_algo,
 		     enum rte_crypto_auth_algorithm a_algo,
@@ -622,6 +628,7 @@ cnxk_ipsec_ivlen_get(enum rte_crypto_cipher_algorithm c_algo,
 	return ivlen;
 }
 
+RTE_EXPORT_INTERNAL_SYMBOL(cnxk_ipsec_icvlen_get)
 uint8_t
 cnxk_ipsec_icvlen_get(enum rte_crypto_cipher_algorithm c_algo,
 		      enum rte_crypto_auth_algorithm a_algo,
@@ -668,6 +675,7 @@ cnxk_ipsec_icvlen_get(enum rte_crypto_cipher_algorithm c_algo,
 	return icv;
 }
 
+RTE_EXPORT_INTERNAL_SYMBOL(cnxk_ipsec_outb_roundup_byte)
 uint8_t
 cnxk_ipsec_outb_roundup_byte(enum rte_crypto_cipher_algorithm c_algo,
 			     enum rte_crypto_aead_algorithm aead_algo)
@@ -698,6 +706,7 @@ cnxk_ipsec_outb_roundup_byte(enum rte_crypto_cipher_algorithm c_algo,
 	return roundup_byte;
 }
 
+RTE_EXPORT_INTERNAL_SYMBOL(cnxk_ipsec_outb_rlens_get)
 int
 cnxk_ipsec_outb_rlens_get(struct cnxk_ipsec_outb_rlens *rlens,
 			  struct rte_security_ipsec_xform *ipsec_xfrm,
@@ -970,6 +979,7 @@ on_fill_ipsec_common_sa(struct rte_security_ipsec_xform *ipsec,
 	return 0;
 }
 
+RTE_EXPORT_INTERNAL_SYMBOL(cnxk_on_ipsec_outb_sa_create)
 int
 cnxk_on_ipsec_outb_sa_create(struct rte_security_ipsec_xform *ipsec,
 			     struct rte_crypto_sym_xform *crypto_xform,
@@ -1115,6 +1125,7 @@ cnxk_on_ipsec_outb_sa_create(struct rte_security_ipsec_xform *ipsec,
 	return ctx_len;
 }
 
+RTE_EXPORT_INTERNAL_SYMBOL(cnxk_on_ipsec_inb_sa_create)
 int
 cnxk_on_ipsec_inb_sa_create(struct rte_security_ipsec_xform *ipsec,
 			    struct rte_crypto_sym_xform *crypto_xform,
@@ -1465,6 +1476,7 @@ ow_ipsec_inb_tunnel_hdr_fill(struct roc_ow_ipsec_inb_sa *sa,
 	return 0;
 }
 
+RTE_EXPORT_INTERNAL_SYMBOL(cnxk_ow_ipsec_inb_sa_fill)
 int
 cnxk_ow_ipsec_inb_sa_fill(struct roc_ow_ipsec_inb_sa *sa,
 			  struct rte_security_ipsec_xform *ipsec_xfrm,
@@ -1571,6 +1583,7 @@ cnxk_ow_ipsec_inb_sa_fill(struct roc_ow_ipsec_inb_sa *sa,
 	return 0;
 }
 
+RTE_EXPORT_INTERNAL_SYMBOL(cnxk_ow_ipsec_outb_sa_fill)
 int
 cnxk_ow_ipsec_outb_sa_fill(struct roc_ow_ipsec_outb_sa *sa,
 			   struct rte_security_ipsec_xform *ipsec_xfrm,
drivers/common/cnxk/cnxk_utils.c +2 -0
index 4e56adc659..fd120142c4 100644
@@ -1,6 +1,7 @@
 /* SPDX-License-Identifier: BSD-3-Clause
  * Copyright(C) 2021 Marvell.
  */
+#include <eal_symbol_exports.h>
 #include <rte_log.h>
 #include <rte_tm_driver.h>
 
@@ -9,6 +10,7 @@
 
 #include "cnxk_utils.h"
 
+RTE_EXPORT_INTERNAL_SYMBOL(roc_nix_tm_err_to_rte_err)
 int
 roc_nix_tm_err_to_rte_err(int errorcode)
 {
drivers/common/cnxk/meson.build +1 -0
index 59f4eacf84..b3efece422 100644
@@ -64,6 +64,7 @@ sources = files(
         'roc_npc_parse.c',
         'roc_npc_utils.c',
         'roc_platform.c',
+        'roc_platform_symbols.c',
         'roc_se.c',
         'roc_sso.c',
         'roc_sso_debug.c',
drivers/common/cnxk/roc_platform.c +19 -0
index 401f737ad4..6c8867f059 100644
@@ -2,6 +2,7 @@
  * Copyright(C) 2021 Marvell.
  */
 
+#include <eal_symbol_exports.h>
 #include <rte_log.h>
 
 #include "roc_api.h"
@@ -242,6 +243,7 @@ plt_irq_unregister(struct plt_intr_handle *intr_handle, plt_intr_callback_fn cb,
 static int plt_init_cb_num;
 static roc_plt_init_cb_t plt_init_cbs[PLT_INIT_CB_MAX];
 
+RTE_EXPORT_INTERNAL_SYMBOL(roc_plt_init_cb_register)
 int
 roc_plt_init_cb_register(roc_plt_init_cb_t cb)
 {
@@ -252,6 +254,7 @@ roc_plt_init_cb_register(roc_plt_init_cb_t cb)
 	return 0;
 }
 
+RTE_EXPORT_INTERNAL_SYMBOL(roc_plt_control_lmt_id_get)
 uint16_t
 roc_plt_control_lmt_id_get(void)
 {
@@ -263,6 +266,7 @@ roc_plt_control_lmt_id_get(void)
 		return ROC_NUM_LMT_LINES - 1;
 }
 
+RTE_EXPORT_INTERNAL_SYMBOL(roc_plt_lmt_validate)
 uint16_t
 roc_plt_lmt_validate(void)
 {
@@ -277,6 +281,7 @@ roc_plt_lmt_validate(void)
 	return 1;
 }
 
+RTE_EXPORT_INTERNAL_SYMBOL(roc_plt_init)
 int
 roc_plt_init(void)
 {
@@ -316,17 +321,31 @@ roc_plt_init(void)
 	return 0;
 }
 
+RTE_EXPORT_INTERNAL_SYMBOL(cnxk_logtype_base)
 RTE_LOG_REGISTER_SUFFIX(cnxk_logtype_base, base, INFO);
+RTE_EXPORT_INTERNAL_SYMBOL(cnxk_logtype_mbox)
 RTE_LOG_REGISTER_SUFFIX(cnxk_logtype_mbox, mbox, NOTICE);
+RTE_EXPORT_INTERNAL_SYMBOL(cnxk_logtype_cpt)
 RTE_LOG_REGISTER_SUFFIX(cnxk_logtype_cpt, crypto, NOTICE);
+RTE_EXPORT_INTERNAL_SYMBOL(cnxk_logtype_ml)
 RTE_LOG_REGISTER_SUFFIX(cnxk_logtype_ml, ml, NOTICE);
+RTE_EXPORT_INTERNAL_SYMBOL(cnxk_logtype_npa)
 RTE_LOG_REGISTER_SUFFIX(cnxk_logtype_npa, mempool, NOTICE);
+RTE_EXPORT_INTERNAL_SYMBOL(cnxk_logtype_nix)
 RTE_LOG_REGISTER_SUFFIX(cnxk_logtype_nix, nix, NOTICE);
+RTE_EXPORT_INTERNAL_SYMBOL(cnxk_logtype_npc)
 RTE_LOG_REGISTER_SUFFIX(cnxk_logtype_npc, flow, NOTICE);
+RTE_EXPORT_INTERNAL_SYMBOL(cnxk_logtype_sso)
 RTE_LOG_REGISTER_SUFFIX(cnxk_logtype_sso, event, NOTICE);
+RTE_EXPORT_INTERNAL_SYMBOL(cnxk_logtype_tim)
 RTE_LOG_REGISTER_SUFFIX(cnxk_logtype_tim, timer, NOTICE);
+RTE_EXPORT_INTERNAL_SYMBOL(cnxk_logtype_tm)
 RTE_LOG_REGISTER_SUFFIX(cnxk_logtype_tm, tm, NOTICE);
+RTE_EXPORT_INTERNAL_SYMBOL(cnxk_logtype_dpi)
 RTE_LOG_REGISTER_SUFFIX(cnxk_logtype_dpi, dpi, NOTICE);
+RTE_EXPORT_INTERNAL_SYMBOL(cnxk_logtype_rep)
 RTE_LOG_REGISTER_SUFFIX(cnxk_logtype_rep, rep, NOTICE);
+RTE_EXPORT_INTERNAL_SYMBOL(cnxk_logtype_esw)
 RTE_LOG_REGISTER_SUFFIX(cnxk_logtype_esw, esw, NOTICE);
+RTE_EXPORT_INTERNAL_SYMBOL(cnxk_logtype_ree)
 RTE_LOG_REGISTER_SUFFIX(cnxk_logtype_ree, ree, NOTICE);
drivers/common/cnxk/roc_platform_symbols.c new file +545 -0

545 lines not on this page · raw message

drivers/common/cpt/cpt_fpm_tables.c +3 -0
index 15b665db01..4bc2612cda 100644
@@ -2,6 +2,7 @@
  * Copyright (C) 2019 Marvell International Ltd.
  */
 
+#include <eal_symbol_exports.h>
 #include <rte_common.h>
 #include <rte_malloc.h>
 
@@ -1081,6 +1082,7 @@ static rte_spinlock_t lock = RTE_SPINLOCK_INITIALIZER;
 static uint8_t *fpm_table;
 static int nb_devs;
 
+RTE_EXPORT_INTERNAL_SYMBOL(cpt_fpm_init)
 int cpt_fpm_init(uint64_t *fpm_table_iova)
 {
 	int i, len = 0;
@@ -1125,6 +1127,7 @@ int cpt_fpm_init(uint64_t *fpm_table_iova)
 	return 0;
 }
 
+RTE_EXPORT_INTERNAL_SYMBOL(cpt_fpm_clear)
 void cpt_fpm_clear(void)
 {
 	rte_spinlock_lock(&lock);
drivers/common/cpt/cpt_pmd_ops_helper.c +4 -0
index 2cddddf4ce..d2c8d43040 100644
@@ -2,6 +2,7 @@
  * Copyright(c) 2018 Cavium, Inc
  */
 
+#include <eal_symbol_exports.h>
 #include <rte_common.h>
 
 #include "cpt_common.h"
@@ -14,6 +15,7 @@
 #define CPT_MAX_ASYM_OP_NUM_PARAMS 5
 #define CPT_MAX_ASYM_OP_MOD_LEN 1024
 
+RTE_EXPORT_INTERNAL_SYMBOL(cpt_pmd_ops_helper_get_mlen_direct_mode)
 int32_t
 cpt_pmd_ops_helper_get_mlen_direct_mode(void)
 {
@@ -28,6 +30,7 @@ cpt_pmd_ops_helper_get_mlen_direct_mode(void)
 	return len;
 }
 
+RTE_EXPORT_INTERNAL_SYMBOL(cpt_pmd_ops_helper_get_mlen_sg_mode)
 int
 cpt_pmd_ops_helper_get_mlen_sg_mode(void)
 {
@@ -43,6 +46,7 @@ cpt_pmd_ops_helper_get_mlen_sg_mode(void)
 	return len;
 }
 
+RTE_EXPORT_INTERNAL_SYMBOL(cpt_pmd_ops_helper_asym_get_mlen)
 int
 cpt_pmd_ops_helper_asym_get_mlen(void)
 {
drivers/common/dpaax/caamflib.c +3 -0
index 55e20281ca..f28945a533 100644
@@ -6,6 +6,8 @@
 
 #include <rta.h>
 
+#include <eal_symbol_exports.h>
+
 /*
  * SEC HW block revision.
  *
@@ -13,4 +15,5 @@
  * - SEC HW block revision format is "v"
  * - SEC revision format is "x.y"
  */
+RTE_EXPORT_INTERNAL_SYMBOL(rta_sec_era)
 enum rta_sec_era rta_sec_era;
drivers/common/dpaax/dpaa_of.c +13 -0
index bb2c8fc66b..f1dea8cfe4 100644
@@ -7,6 +7,7 @@
 
 #include <dpaa_of.h>
 #include <assert.h>
+#include <eal_symbol_exports.h>
 #include <rte_string_fns.h>
 #include <dpaax_logs.h>
 
@@ -213,6 +214,7 @@ linear_dir(struct dt_dir *d)
 	}
 }
 
+RTE_EXPORT_INTERNAL_SYMBOL(of_init_path)
 int
 of_init_path(const char *dt_path)
 {
@@ -297,6 +299,7 @@ check_compatible(const struct dt_file *f, const char *compatible)
 	return 0;
 }
 
+RTE_EXPORT_INTERNAL_SYMBOL(of_find_compatible_node)
 const struct device_node *
 of_find_compatible_node(const struct device_node *from,
 			const char *type __rte_unused,
@@ -322,6 +325,7 @@ of_find_compatible_node(const struct device_node *from,
 	return NULL;
 }
 
+RTE_EXPORT_INTERNAL_SYMBOL(of_get_property)
 const void *
 of_get_property(const struct device_node *from, const char *name,
 		size_t *lenp)
@@ -341,6 +345,7 @@ of_get_property(const struct device_node *from, const char *name,
 	return NULL;
 }
 
+RTE_EXPORT_INTERNAL_SYMBOL(of_device_is_available)
 bool
 of_device_is_available(const struct device_node *dev_node)
 {
@@ -357,6 +362,7 @@ of_device_is_available(const struct device_node *dev_node)
 	return false;
 }
 
+RTE_EXPORT_INTERNAL_SYMBOL(of_find_node_by_phandle)
 const struct device_node *
 of_find_node_by_phandle(uint64_t ph)
 {
@@ -370,6 +376,7 @@ of_find_node_by_phandle(uint64_t ph)
 	return NULL;
 }
 
+RTE_EXPORT_INTERNAL_SYMBOL(of_get_parent)
 const struct device_node *
 of_get_parent(const struct device_node *dev_node)
 {
@@ -385,6 +392,7 @@ of_get_parent(const struct device_node *dev_node)
 	return &d->parent->node.node;
 }
 
+RTE_EXPORT_INTERNAL_SYMBOL(of_get_next_child)
 const struct device_node *
 of_get_next_child(const struct device_node *dev_node,
 		  const struct device_node *prev)
@@ -414,6 +422,7 @@ of_get_next_child(const struct device_node *dev_node,
 	return &c->node.node;
 }
 
+RTE_EXPORT_INTERNAL_SYMBOL(of_n_addr_cells)
 uint32_t
 of_n_addr_cells(const struct device_node *dev_node)
 {
@@ -458,6 +467,7 @@ of_n_size_cells(const struct device_node *dev_node)
 	return OF_DEFAULT_NS;
 }
 
+RTE_EXPORT_INTERNAL_SYMBOL(of_get_address)
 const uint32_t *
 of_get_address(const struct device_node *dev_node, size_t idx,
 	       uint64_t *size, uint32_t *flags __rte_unused)
@@ -487,6 +497,7 @@ of_get_address(const struct device_node *dev_node, size_t idx,
 	return (const uint32_t *)buf;
 }
 
+RTE_EXPORT_INTERNAL_SYMBOL(of_translate_address)
 uint64_t
 of_translate_address(const struct device_node *dev_node,
 		     const uint32_t *addr)
@@ -533,6 +544,7 @@ of_translate_address(const struct device_node *dev_node,
 	return phys_addr;
 }
 
+RTE_EXPORT_INTERNAL_SYMBOL(of_device_is_compatible)
 bool
 of_device_is_compatible(const struct device_node *dev_node,
 			const char *compatible)
@@ -573,6 +585,7 @@ static const void *of_get_mac_addr(const struct device_node *np,
  * this case, the real MAC is in 'local-mac-address', and 'mac-address' exists
  * but is all zeros.
  */
+RTE_EXPORT_INTERNAL_SYMBOL(of_get_mac_address)
 const void *of_get_mac_address(const struct device_node *np)
 {
 	const void *addr;
drivers/common/dpaax/dpaax_iova_table.c +7 -0
index 860e702333..4602c6a5a3 100644
@@ -2,12 +2,14 @@
  * Copyright 2018-2023 NXP
  */
 
+#include <eal_symbol_exports.h>
 #include <rte_memory.h>
 
 #include "dpaax_iova_table.h"
 #include "dpaax_logs.h"
 
 /* Global table reference */
+RTE_EXPORT_INTERNAL_SYMBOL(dpaax_iova_table_p)
 struct dpaax_iova_table *dpaax_iova_table_p;
 
 static int dpaax_handle_memevents(void);
@@ -153,6 +155,7 @@ read_memory_node(unsigned int *count)
 	return nodes;
 }
 
+RTE_EXPORT_INTERNAL_SYMBOL(dpaax_iova_table_populate)
 int
 dpaax_iova_table_populate(void)
 {
@@ -254,6 +257,7 @@ dpaax_iova_table_populate(void)
 	return 0;
 }
 
+RTE_EXPORT_INTERNAL_SYMBOL(dpaax_iova_table_depopulate)
 void
 dpaax_iova_table_depopulate(void)
 {
@@ -263,6 +267,7 @@ dpaax_iova_table_depopulate(void)
 	DPAAX_DEBUG("IOVA Table cleaned");
 }
 
+RTE_EXPORT_INTERNAL_SYMBOL(dpaax_iova_table_update)
 int
 dpaax_iova_table_update(phys_addr_t paddr, void *vaddr, size_t length)
 {
@@ -349,6 +354,7 @@ dpaax_iova_table_update(phys_addr_t paddr, void *vaddr, size_t length)
  * Dump the table, with its entries, on screen. Only works in Debug Mode
  * Not for weak hearted - the tables can get quite large
  */
+RTE_EXPORT_INTERNAL_SYMBOL(dpaax_iova_table_dump)
 void
 dpaax_iova_table_dump(void)
 {
@@ -461,4 +467,5 @@ dpaax_handle_memevents(void)
 					       dpaax_memevent_cb, NULL);
 }
 
+RTE_EXPORT_INTERNAL_SYMBOL(dpaax_logger)
 RTE_LOG_REGISTER_DEFAULT(dpaax_logger, ERR);
drivers/common/ionic/ionic_common_uio.c +5 -0
index c647b22eaf..0d5e4ee8c7 100644
@@ -15,6 +15,7 @@
 #include <fcntl.h>
 #include <stdbool.h>
 
+#include <eal_symbol_exports.h>
 #include <rte_common.h>
 #include <rte_eal.h>
 #include <rte_string_fns.h>
@@ -103,6 +104,7 @@ uio_get_idx_for_devname(struct uio_name *name_cache, char *devname)
 	return -1;
 }
 
+RTE_EXPORT_INTERNAL_SYMBOL(ionic_uio_scan_mnet_devices)
 void
 ionic_uio_scan_mnet_devices(void)
 {
@@ -146,6 +148,7 @@ ionic_uio_scan_mnet_devices(void)
 	}
 }
 
+RTE_EXPORT_INTERNAL_SYMBOL(ionic_uio_scan_mcrypt_devices)
 void
 ionic_uio_scan_mcrypt_devices(void)
 {
@@ -301,6 +304,7 @@ uio_get_map_res_addr(int uio_idx, int size, int res_idx)
 	return addr;
 }
 
+RTE_EXPORT_INTERNAL_SYMBOL(ionic_uio_get_rsrc)
 void
 ionic_uio_get_rsrc(const char *name, int idx, struct ionic_dev_bar *bar)
 {
@@ -319,6 +323,7 @@ ionic_uio_get_rsrc(const char *name, int idx, struct ionic_dev_bar *bar)
 	bar->vaddr = ((char *)bar->vaddr) + offs;
 }
 
+RTE_EXPORT_INTERNAL_SYMBOL(ionic_uio_rel_rsrc)
 void
 ionic_uio_rel_rsrc(const char *name, int idx, struct ionic_dev_bar *bar)
 {
drivers/common/mlx5/linux/mlx5_common_auxiliary.c +2 -0
index 33479ffd68..fd7519cdf9 100644
@@ -10,6 +10,7 @@
 #include <rte_errno.h>
 #include <bus_auxiliary_driver.h>
 #include <rte_common.h>
+#include <eal_symbol_exports.h>
 #include "eal_filesystem.h"
 
 #include "mlx5_common_utils.h"
@@ -18,6 +19,7 @@
 #define AUXILIARY_SYSFS_PATH "/sys/bus/auxiliary/devices"
 #define MLX5_AUXILIARY_PREFIX "mlx5_core.sf."
 
+RTE_EXPORT_INTERNAL_SYMBOL(mlx5_auxiliary_get_child_name)
 int
 mlx5_auxiliary_get_child_name(const char *dev, const char *node,
 			      char *child, size_t size)
drivers/common/mlx5/linux/mlx5_common_os.c +11 -0
index 2f5032f0da..035b61347e 100644
@@ -13,6 +13,7 @@
 #include <net/if.h>
 #include <fcntl.h>
 
+#include <eal_symbol_exports.h>
 #include <rte_errno.h>
 #include <rte_string_fns.h>
 #include <bus_pci_driver.h>
@@ -27,9 +28,11 @@
 #include "mlx5_glue.h"
 
 #ifdef MLX5_GLUE
+RTE_EXPORT_INTERNAL_SYMBOL(mlx5_glue)
 const struct mlx5_glue *mlx5_glue;
 #endif
 
+RTE_EXPORT_INTERNAL_SYMBOL(mlx5_get_pci_addr)
 int
 mlx5_get_pci_addr(const char *dev_path, struct rte_pci_addr *pci_addr)
 {
@@ -89,6 +92,7 @@ mlx5_get_pci_addr(const char *dev_path, struct rte_pci_addr *pci_addr)
  * @return
  *   port_name field set according to recognized name format.
  */
+RTE_EXPORT_INTERNAL_SYMBOL(mlx5_translate_port_name)
 void
 mlx5_translate_port_name(const char *port_name_in,
 			 struct mlx5_switch_info *port_info_out)
@@ -155,6 +159,7 @@ mlx5_translate_port_name(const char *port_name_in,
 	port_info_out->name_type = MLX5_PHYS_PORT_NAME_TYPE_UNKNOWN;
 }
 
+RTE_EXPORT_INTERNAL_SYMBOL(mlx5_get_ifname_sysfs)
 int
 mlx5_get_ifname_sysfs(const char *ibdev_path, char *ifname)
 {
@@ -888,6 +893,7 @@ mlx5_os_open_device(struct mlx5_common_device *cdev, uint32_t classes)
  * @return
  *   Pointer to an `ibv_context` on success, or NULL on failure, with `rte_errno` set.
  */
+RTE_EXPORT_INTERNAL_SYMBOL(mlx5_os_get_physical_device_ctx)
 void *
 mlx5_os_get_physical_device_ctx(struct mlx5_common_device *cdev)
 {
@@ -925,6 +931,7 @@ mlx5_os_get_physical_device_ctx(struct mlx5_common_device *cdev)
 	return (void *)ctx;
 }
 
+RTE_EXPORT_INTERNAL_SYMBOL(mlx5_get_device_guid)
 int
 mlx5_get_device_guid(const struct rte_pci_addr *dev, uint8_t *guid, size_t len)
 {
@@ -970,6 +977,7 @@ mlx5_get_device_guid(const struct rte_pci_addr *dev, uint8_t *guid, size_t len)
  * indirect mkey created by the DevX API.
  * This mkey should be used for DevX commands requesting mkey as a parameter.
  */
+RTE_EXPORT_INTERNAL_SYMBOL(mlx5_os_wrapped_mkey_create)
 int
 mlx5_os_wrapped_mkey_create(void *ctx, void *pd, uint32_t pdn, void *addr,
 			    size_t length, struct mlx5_pmd_wrapped_mr *pmd_mr)
@@ -1009,6 +1017,7 @@ mlx5_os_wrapped_mkey_create(void *ctx, void *pd, uint32_t pdn, void *addr,
 	return 0;
 }
 
+RTE_EXPORT_INTERNAL_SYMBOL(mlx5_os_wrapped_mkey_destroy)
 void
 mlx5_os_wrapped_mkey_destroy(struct mlx5_pmd_wrapped_mr *pmd_mr)
 {
@@ -1040,6 +1049,7 @@ mlx5_os_wrapped_mkey_destroy(struct mlx5_pmd_wrapped_mr *pmd_mr)
  *  - Interrupt handle on success.
  *  - NULL on failure, with rte_errno set.
  */
+RTE_EXPORT_INTERNAL_SYMBOL(mlx5_os_interrupt_handler_create)
 struct rte_intr_handle *
 mlx5_os_interrupt_handler_create(int mode, bool set_fd_nonblock, int fd,
 				 rte_intr_callback_fn cb, void *cb_arg)
@@ -1141,6 +1151,7 @@ mlx5_intr_callback_unregister(const struct rte_intr_handle *handle,
  *   Callback argument for cb.
  *
  */
+RTE_EXPORT_INTERNAL_SYMBOL(mlx5_os_interrupt_handler_destroy)
 void
 mlx5_os_interrupt_handler_destroy(struct rte_intr_handle *intr_handle,
 				  rte_intr_callback_fn cb, void *cb_arg)
drivers/common/mlx5/linux/mlx5_common_verbs.c +4 -0
index cf2f7ecbf3..d58ec2a716 100644
@@ -10,6 +10,7 @@
 #include <sys/mman.h>
 #include <inttypes.h>
 
+#include <eal_symbol_exports.h>
 #include <rte_errno.h>
 #include <rte_eal_paging.h>
 
@@ -105,6 +106,7 @@ mlx5_set_context_attr(struct rte_device *dev, struct ibv_context *ctx)
  * @return
  *   0 on successful registration, -1 otherwise
  */
+RTE_EXPORT_INTERNAL_SYMBOL(mlx5_common_verbs_reg_mr)
 int
 mlx5_common_verbs_reg_mr(void *pd, void *addr, size_t length,
 			 struct mlx5_pmd_mr *pmd_mr)
@@ -134,6 +136,7 @@ mlx5_common_verbs_reg_mr(void *pd, void *addr, size_t length,
  *   pmd_mr struct set with lkey, address, length and pointer to mr object
  *
  */
+RTE_EXPORT_INTERNAL_SYMBOL(mlx5_common_verbs_dereg_mr)
 void
 mlx5_common_verbs_dereg_mr(struct mlx5_pmd_mr *pmd_mr)
 {
@@ -151,6 +154,7 @@ mlx5_common_verbs_dereg_mr(struct mlx5_pmd_mr *pmd_mr)
  * @param[out] dereg_mr_cb
  *   Pointer to dereg_mr func
  */
+RTE_EXPORT_INTERNAL_SYMBOL(mlx5_os_set_reg_mr_cb)
 void
 mlx5_os_set_reg_mr_cb(mlx5_reg_mr_t *reg_mr_cb, mlx5_dereg_mr_t *dereg_mr_cb)
 {
drivers/common/mlx5/linux/mlx5_glue.c +3 -0
index 99761ea0b2..137db54919 100644
@@ -16,6 +16,8 @@
 
 #include "mlx5_glue.h"
 
+#include <eal_symbol_exports.h>
+
 static int
 mlx5_glue_fork_init(void)
 {
@@ -1578,6 +1580,7 @@ mlx5_glue_dv_destroy_steering_anchor(struct mlx5dv_steering_anchor *sa)
 #endif
 }
 
+RTE_EXPORT_INTERNAL_SYMBOL(mlx5_glue)
 alignas(RTE_CACHE_LINE_SIZE)
 const struct mlx5_glue *mlx5_glue = &(const struct mlx5_glue) {
 	.version = MLX5_GLUE_VERSION,
drivers/common/mlx5/linux/mlx5_nl.c +22 -0
index 12f1a620f3..09df162d26 100644
@@ -17,6 +17,7 @@
 #include <sys/socket.h>
 #include <unistd.h>
 
+#include <eal_symbol_exports.h>
 #include <rte_errno.h>
 
 #include "mlx5_nl.h"
@@ -195,6 +196,7 @@ RTE_ATOMIC(uint32_t) atomic_sn;
  *   A file descriptor on success, a negative errno value otherwise and
  *   rte_errno is set.
  */
+RTE_EXPORT_INTERNAL_SYMBOL(mlx5_nl_init)
 int
 mlx5_nl_init(int protocol, int groups)
 {
@@ -641,6 +643,7 @@ mlx5_nl_mac_addr_modify(int nlsk_fd, unsigned int iface_idx,
  * @return
  *    0 on success, a negative errno value otherwise and rte_errno is set.
  */
+RTE_EXPORT_INTERNAL_SYMBOL(mlx5_nl_vf_mac_addr_modify)
 int
 mlx5_nl_vf_mac_addr_modify(int nlsk_fd, unsigned int iface_idx,
 			   struct rte_ether_addr *mac, int vf_index)
@@ -728,6 +731,7 @@ mlx5_nl_vf_mac_addr_modify(int nlsk_fd, unsigned int iface_idx,
  * @return
  *   0 on success, a negative errno value otherwise and rte_errno is set.
  */
+RTE_EXPORT_INTERNAL_SYMBOL(mlx5_nl_mac_addr_add)
 int
 mlx5_nl_mac_addr_add(int nlsk_fd, unsigned int iface_idx,
 		     uint64_t *mac_own, struct rte_ether_addr *mac,
@@ -765,6 +769,7 @@ mlx5_nl_mac_addr_add(int nlsk_fd, unsigned int iface_idx,
  * @return
  *   0 on success, a negative errno value otherwise and rte_errno is set.
  */
+RTE_EXPORT_INTERNAL_SYMBOL(mlx5_nl_mac_addr_remove)
 int
 mlx5_nl_mac_addr_remove(int nlsk_fd, unsigned int iface_idx, uint64_t *mac_own,
 			struct rte_ether_addr *mac, uint32_t index)
@@ -789,6 +794,7 @@ mlx5_nl_mac_addr_remove(int nlsk_fd, unsigned int iface_idx, uint64_t *mac_own,
  * @param n
  *   @p mac_addrs array size.
  */
+RTE_EXPORT_INTERNAL_SYMBOL(mlx5_nl_mac_addr_sync)
 void
 mlx5_nl_mac_addr_sync(int nlsk_fd, unsigned int iface_idx,
 		      struct rte_ether_addr *mac_addrs, int n)
@@ -845,6 +851,7 @@ mlx5_nl_mac_addr_sync(int nlsk_fd, unsigned int iface_idx,
  * @param mac_own
  *   BITFIELD_DECLARE array to store the mac.
  */
+RTE_EXPORT_INTERNAL_SYMBOL(mlx5_nl_mac_addr_flush)
 void
 mlx5_nl_mac_addr_flush(int nlsk_fd, unsigned int iface_idx,
 		       struct rte_ether_addr *mac_addrs, int n,
@@ -923,6 +930,7 @@ mlx5_nl_device_flags(int nlsk_fd, unsigned int iface_idx, uint32_t flags,
  * @return
  *   0 on success, a negative errno value otherwise and rte_errno is set.
  */
+RTE_EXPORT_INTERNAL_SYMBOL(mlx5_nl_promisc)
 int
 mlx5_nl_promisc(int nlsk_fd, unsigned int iface_idx, int enable)
 {
@@ -949,6 +957,7 @@ mlx5_nl_promisc(int nlsk_fd, unsigned int iface_idx, int enable)
  * @return
  *   0 on success, a negative errno value otherwise and rte_errno is set.
  */
+RTE_EXPORT_INTERNAL_SYMBOL(mlx5_nl_allmulti)
 int
 mlx5_nl_allmulti(int nlsk_fd, unsigned int iface_idx, int enable)
 {
@@ -1138,6 +1147,7 @@ mlx5_nl_port_info(int nl, uint32_t pindex, struct mlx5_nl_port_info *data)
  *   A valid (nonzero) interface index on success, 0 otherwise and rte_errno
  *   is set.
  */
+RTE_EXPORT_INTERNAL_SYMBOL(mlx5_nl_ifindex)
 unsigned int
 mlx5_nl_ifindex(int nl, const char *name, uint32_t pindex, struct mlx5_dev_info *dev_info)
 {
@@ -1194,6 +1204,7 @@ mlx5_nl_ifindex(int nl, const char *name, uint32_t pindex, struct mlx5_dev_info
  *   Port state (ibv_port_state) on success, negative on error
  *   and rte_errno is set.
  */
+RTE_EXPORT_INTERNAL_SYMBOL(mlx5_nl_port_state)
 int
 mlx5_nl_port_state(int nl, const char *name, uint32_t pindex, struct mlx5_dev_info *dev_info)
 {
@@ -1229,6 +1240,7 @@ mlx5_nl_port_state(int nl, const char *name, uint32_t pindex, struct mlx5_dev_in
  *   A valid (nonzero) number of ports on success, 0 otherwise
  *   and rte_errno is set.
  */
+RTE_EXPORT_INTERNAL_SYMBOL(mlx5_nl_portnum)
 unsigned int
 mlx5_nl_portnum(int nl, const char *name, struct mlx5_dev_info *dev_info)
 {
@@ -1435,6 +1447,7 @@ mlx5_nl_switch_info_cb(struct nlmsghdr *nh, void *arg)
  * @return
  *   0 on success, a negative errno value otherwise and rte_errno is set.
  */
+RTE_EXPORT_INTERNAL_SYMBOL(mlx5_nl_switch_info)
 int
 mlx5_nl_switch_info(int nl, unsigned int ifindex,
[… more lines in the raw message]

Lines of this file are not shown. View the raw message.

drivers/common/mlx5/mlx5_common.c +10 -0
index 9abae4a374..857e1b2427 100644

Lines of this file are not shown. View the raw message.

drivers/common/mlx5/mlx5_common_devx.c +10 -0
index 431d8361ce..0ffc2b0647 100644

Lines of this file are not shown. View the raw message.

drivers/common/mlx5/mlx5_common_mp.c +9 -0
index a7a671b7c5..801928d5a5 100644

Lines of this file are not shown. View the raw message.

drivers/common/mlx5/mlx5_common_mr.c +12 -0
index 50922ad398..bcf377d542 100644

Lines of this file are not shown. View the raw message.

drivers/common/mlx5/mlx5_common_pci.c +3 -0
index 04aad0963c..a2669a3b2c 100644

Lines of this file are not shown. View the raw message.

drivers/common/mlx5/mlx5_common_utils.c +12 -0
index 4b95d35d35..ee267f50e0 100644

Lines of this file are not shown. View the raw message.

drivers/common/mlx5/mlx5_devx_cmds.c +52 -0

52 lines not on this page · raw message

drivers/common/mlx5/mlx5_malloc.c +5 -0
index ef6dabedbd..a2813357bd 100644

Lines of this file are not shown. View the raw message.

drivers/common/mlx5/windows/mlx5_common_os.c +7 -0
index 68f1981193..ead2f2ac2c 100644

Lines of this file are not shown. View the raw message.

drivers/common/mlx5/windows/mlx5_glue.c +2 -2
index 6935811bf4..756aa067f2 100644

Lines of this file are not shown. View the raw message.

drivers/common/mvep/mvep_common.c +3 -0
index 67fa65b574..70cadf62c9 100644

Lines of this file are not shown. View the raw message.

drivers/common/nfp/nfp_common.c +9 -0
index 0df8332dfb..2df131b981 100644

Lines of this file are not shown. View the raw message.

drivers/common/nfp/nfp_common_pci.c +2 -0
index 856f3917a2..651ae1a28b 100644

Lines of this file are not shown. View the raw message.

drivers/common/nfp/nfp_dev.c +2 -0
index f29b7e0711..91fd18f4ee 100644

Lines of this file are not shown. View the raw message.

drivers/common/nitrox/nitrox_device.c +2 -0
index 6cd57faaa4..68cdaa9422 100644

Lines of this file are not shown. View the raw message.

drivers/common/nitrox/nitrox_logs.c +2 -0
index 0e0a94648c..0fbc05a964 100644

Lines of this file are not shown. View the raw message.

drivers/common/nitrox/nitrox_qp.c +3 -0
index d6a5ddd641..c0673c06ef 100644

Lines of this file are not shown. View the raw message.

drivers/common/octeontx/octeontx_mbox.c +7 -0
index f98942c79c..cb0860329f 100644

Lines of this file are not shown. View the raw message.

drivers/common/sfc_efx/meson.build +1 -0
index 0cf0a23bf8..25061d58bf 100644

Lines of this file are not shown. View the raw message.

drivers/common/sfc_efx/sfc_efx.c +3 -0
index 458efacba5..dcda0af89c 100644

Lines of this file are not shown. View the raw message.

drivers/common/sfc_efx/sfc_efx_mcdi.c +3 -0
index 0d17616589..17a174fb33 100644

Lines of this file are not shown. View the raw message.

drivers/common/sfc_efx/sfc_symbols.c new file +275 -0

275 lines not on this page · raw message

drivers/crypto/cnxk/cn10k_cryptodev_ops.c +8 -0
index dbebc5aef1..3c58571cbd 100644

Lines of this file are not shown. View the raw message.

drivers/crypto/cnxk/cn9k_cryptodev_ops.c +3 -0
index 2b1bd70c6d..74e4423bd4 100644

Lines of this file are not shown. View the raw message.

drivers/crypto/cnxk/cnxk_cryptodev_ops.c +8 -0
index a82db13a8e..909182a378 100644

Lines of this file are not shown. View the raw message.

drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c +3 -0
index 7ad8fd47dd..7063d1a26f 100644

Lines of this file are not shown. View the raw message.

drivers/crypto/dpaa_sec/dpaa_sec.c +3 -0
index e117cd77a6..5941efb8a8 100644

Lines of this file are not shown. View the raw message.

drivers/crypto/octeontx/otx_cryptodev_ops.c +3 -0
index 9a758cd297..9944689700 100644

Lines of this file are not shown. View the raw message.

drivers/crypto/scheduler/rte_cryptodev_scheduler.c +11 -0
index 6013f66aa5..fc67f310d5 100644

Lines of this file are not shown. View the raw message.

drivers/dma/cnxk/cnxk_dmadev_fp.c +5 -0
index 36fc40c7e0..1b836ba4e9 100644

Lines of this file are not shown. View the raw message.

drivers/event/cnxk/cnxk_worker.c +3 -0
index a07c9185d9..f0aa83ada4 100644

Lines of this file are not shown. View the raw message.

drivers/event/dlb2/rte_pmd_dlb2.c +2 -0
index 43990e46ac..f6c06ae83a 100644

Lines of this file are not shown. View the raw message.

drivers/mempool/cnxk/cn10k_hwpool_ops.c +4 -0
index b234481ec1..73ed5a8846 100644

Lines of this file are not shown. View the raw message.

drivers/mempool/dpaa/dpaa_mempool.c +3 -0
index 74bfcab509..71933d69aa 100644

Lines of this file are not shown. View the raw message.

drivers/mempool/dpaa2/dpaa2_hw_mempool.c +6 -0
index c054988513..fdad38c9f5 100644

Lines of this file are not shown. View the raw message.

drivers/net/atlantic/rte_pmd_atlantic.c +7 -0
index 00fc2872e5..a603c4e9a7 100644

Lines of this file are not shown. View the raw message.

drivers/net/bnxt/rte_pmd_bnxt.c +17 -0
index e9b5739050..e72641148a 100644

Lines of this file are not shown. View the raw message.

drivers/net/bonding/rte_eth_bond_8023ad.c +13 -0
index 7f885ab521..599935d632 100644

Lines of this file are not shown. View the raw message.

drivers/net/bonding/rte_eth_bond_api.c +16 -0
index ffc1322047..56b67400f7 100644

Lines of this file are not shown. View the raw message.

drivers/net/cnxk/cnxk_ethdev.c +4 -0
index 289ae96afa..33c870ce54 100644

Lines of this file are not shown. View the raw message.

drivers/net/cnxk/cnxk_ethdev_sec.c +10 -0
index 6f0340ec0f..a697a25e2b 100644

Lines of this file are not shown. View the raw message.

drivers/net/dpaa/dpaa_ethdev.c +4 -0
index ce4bbbb8f0..24719c87d8 100644

Lines of this file are not shown. View the raw message.

drivers/net/dpaa2/dpaa2_ethdev.c +8 -0
index 8624bba0ce..abbe24e240 100644

Lines of this file are not shown. View the raw message.

drivers/net/dpaa2/dpaa2_mux.c +4 -0
index 2f124313fa..91f098a641 100644

Lines of this file are not shown. View the raw message.

drivers/net/dpaa2/dpaa2_rxtx.c +2 -0
index cad15d8f75..113528d186 100644

Lines of this file are not shown. View the raw message.

drivers/net/dpaa2/dpaa2_symbols.c new file +8 -0
new file mode 100644
index 0000000000..5954d81af4

Lines of this file are not shown. View the raw message.

drivers/net/dpaa2/meson.build +1 -0
index 89932b3037..146d079fb0 100644

Lines of this file are not shown. View the raw message.

drivers/net/intel/i40e/rte_pmd_i40e.c +40 -0
index 9d39984ea1..9bfadd7505 100644

Lines of this file are not shown. View the raw message.

drivers/net/intel/iavf/iavf_rxtx.c +9 -0
index a999073691..c67e3cd6ca 100644

Lines of this file are not shown. View the raw message.

drivers/net/intel/iavf/iavf_symbols.c new file +13 -0
new file mode 100644
index 0000000000..88f6547b4f

Lines of this file are not shown. View the raw message.

drivers/net/intel/iavf/meson.build +1 -0
index 7e03881529..561836c7af 100644

Lines of this file are not shown. View the raw message.

drivers/net/intel/ice/ice_diagnose.c +4 -0
index a50068441a..adeef0e46d 100644

Lines of this file are not shown. View the raw message.

drivers/net/intel/idpf/idpf_common_device.c +11 -0
index e9fa024850..37a3d64df5 100644

Lines of this file are not shown. View the raw message.

drivers/net/intel/idpf/idpf_common_rxtx.c +25 -0
index 7171e27b8d..3180d77538 100644

Lines of this file are not shown. View the raw message.

drivers/net/intel/idpf/idpf_common_rxtx_avx2.c +3 -0
index 43a95466ae..818be419ea 100644

Lines of this file are not shown. View the raw message.

drivers/net/intel/idpf/idpf_common_rxtx_avx512.c +6 -0
index b630d1fcd9..7a3bbe6e7c 100644

Lines of this file are not shown. View the raw message.

drivers/net/intel/idpf/idpf_common_virtchnl.c +31 -0
index 0ae1d55d79..cab624eb91 100644

Lines of this file are not shown. View the raw message.

drivers/net/intel/ipn3ke/ipn3ke_ethdev.c +2 -0
index c8f06a06cb..2d72c9cf05 100644

Lines of this file are not shown. View the raw message.

drivers/net/intel/ixgbe/rte_pmd_ixgbe.c +38 -0
index 5a7d66d9b9..3779f28693 100644

Lines of this file are not shown. View the raw message.

drivers/net/mlx5/mlx5.c +2 -0
index 646da8e846..e6a25c7d66 100644

Lines of this file are not shown. View the raw message.

drivers/net/mlx5/mlx5_flow.c +5 -0
index e2f4bd8cef..ac2794a212 100644

Lines of this file are not shown. View the raw message.

drivers/net/mlx5/mlx5_rx.c +3 -0
index 5e58eb8bc9..55b7d7311b 100644

Lines of this file are not shown. View the raw message.

drivers/net/mlx5/mlx5_rxq.c +3 -0
index 5cf7d4971b..cbc16fac14 100644

Lines of this file are not shown. View the raw message.

drivers/net/mlx5/mlx5_tx.c +2 -0
index 4286876e12..d7af38b7f9 100644

Lines of this file are not shown. View the raw message.

drivers/net/mlx5/mlx5_txq.c +4 -0
index 3e93517323..9ab0a30fec 100644

Lines of this file are not shown. View the raw message.

drivers/net/octeontx/octeontx_ethdev.c +2 -0
index 3b8d717797..d58b270c7e 100644

Lines of this file are not shown. View the raw message.

drivers/net/ring/rte_eth_ring.c +3 -0
index 146bdc8e02..b1f565ad35 100644

Lines of this file are not shown. View the raw message.

drivers/net/softnic/rte_eth_softnic.c +2 -0
index 2147ea35f6..ecb158ebb6 100644

Lines of this file are not shown. View the raw message.

drivers/net/softnic/rte_eth_softnic_thread.c +2 -0
index 888af6caf4..9fccd230a6 100644

Lines of this file are not shown. View the raw message.

drivers/net/vhost/rte_eth_vhost.c +3 -0
index 87c05caccd..997648a769 100644

Lines of this file are not shown. View the raw message.

drivers/power/kvm_vm/guest_channel.c +3 -0
index 35cd4cfe6f..db619f8a61 100644

Lines of this file are not shown. View the raw message.

drivers/raw/cnxk_rvu_lf/cnxk_rvu_lf.c +11 -0
index 54c58a8552..8700268624 100644

Lines of this file are not shown. View the raw message.

drivers/raw/ifpga/rte_pmd_ifpga.c +12 -0
index a47d5a0350..e9681bf6ce 100644

Lines of this file are not shown. View the raw message.

lib/acl/acl_bld.c +2 -0
index 56e3b31ed6..b6ef020943 100644

Lines of this file are not shown. View the raw message.

lib/acl/acl_run_scalar.c +3 -0
index 3d61e79409..f6e9a7fc43 100644

Lines of this file are not shown. View the raw message.

lib/acl/rte_acl.c +12 -0
index 245b9b6d7a..71a496e5d5 100644

Lines of this file are not shown. View the raw message.

lib/argparse/rte_argparse.c +3 -0
index e7007afc6a..138112a801 100644

Lines of this file are not shown. View the raw message.

lib/bbdev/bbdev_trace_points.c +3 -0
index 6f90e2aa65..4b0e394d76 100644

Lines of this file are not shown. View the raw message.

lib/bbdev/rte_bbdev.c +32 -0
index f341e6f3b9..bf9b58c62a 100644

Lines of this file are not shown. View the raw message.

lib/bitratestats/rte_bitrate.c +5 -0
index 1664e4863b..c1b69fb691 100644

Lines of this file are not shown. View the raw message.

lib/bpf/bpf.c +3 -0
index bbe75c8bfe..120ce24634 100644

Lines of this file are not shown. View the raw message.

lib/bpf/bpf_convert.c +2 -0
index e7e298c9cb..fda06c1268 100644

Lines of this file are not shown. View the raw message.

lib/bpf/bpf_dump.c +2 -0
index b86977b96d..8e01ade803 100644

Lines of this file are not shown. View the raw message.

lib/bpf/bpf_exec.c +3 -0
index 5d597ec170..5cf6f94d89 100644

Lines of this file are not shown. View the raw message.

lib/bpf/bpf_load.c +2 -0
index de43347405..70162754e2 100644

Lines of this file are not shown. View the raw message.

lib/bpf/bpf_load_elf.c +2 -0
index e0abd3c856..646166d48e 100644

Lines of this file are not shown. View the raw message.

lib/bpf/bpf_pkt.c +5 -0
index aaca935f2d..831e4b1ded 100644

Lines of this file are not shown. View the raw message.

lib/bpf/bpf_stub.c +3 -0
index 1babb16bde..103f8ce0a0 100644

Lines of this file are not shown. View the raw message.

lib/cfgfile/rte_cfgfile.c +18 -0
index 13ba3957bc..2ee43b9781 100644

Lines of this file are not shown. View the raw message.

lib/cmdline/cmdline.c +10 -0
index 08721ee919..3ae9d23972 100644

Lines of this file are not shown. View the raw message.

lib/cmdline/cmdline_cirbuf.c +21 -0
index 829a8af563..e4590332b4 100644

Lines of this file are not shown. View the raw message.

lib/cmdline/cmdline_parse.c +5 -0
index 76a212d001..351885830f 100644

Lines of this file are not shown. View the raw message.

lib/cmdline/cmdline_parse_bool.c +2 -0
index aa7bf88d5a..df7ab9cc6c 100644

Lines of this file are not shown. View the raw message.

lib/cmdline/cmdline_parse_etheraddr.c +4 -0
index 433b828a72..4e5a13a0d4 100644

Lines of this file are not shown. View the raw message.

lib/cmdline/cmdline_parse_ipaddr.c +4 -0
index 5e278c963f..c6bde1cae5 100644

Lines of this file are not shown. View the raw message.

lib/cmdline/cmdline_parse_num.c +4 -0
index 6dc325e6da..d76a17f5ae 100644

Lines of this file are not shown. View the raw message.

lib/cmdline/cmdline_parse_portlist.c +4 -0
index 2e2294553a..f3ba08f7c9 100644

Lines of this file are not shown. View the raw message.

lib/cmdline/cmdline_parse_string.c +6 -0
index d756638905..0b9b4e2ad5 100644

Lines of this file are not shown. View the raw message.

lib/cmdline/cmdline_rdline.c +17 -0
index 5cf723a012..97c030bba6 100644

Lines of this file are not shown. View the raw message.

lib/cmdline/cmdline_socket.c +5 -0
index 78fb67c474..36a780e1c9 100644

Lines of this file are not shown. View the raw message.

lib/cmdline/cmdline_vt100.c +4 -0
index 4c9a46c953..229e3ef2b1 100644

Lines of this file are not shown. View the raw message.

lib/compressdev/rte_comp.c +7 -0
index f060c68557..e3e2adde61 100644

Lines of this file are not shown. View the raw message.

lib/compressdev/rte_compressdev.c +26 -0
index 5bc7ea5250..79e9df33ec 100644

Lines of this file are not shown. View the raw message.

lib/compressdev/rte_compressdev_pmd.c +4 -0
index 762b44f03e..73ed342a44 100644

Lines of this file are not shown. View the raw message.

lib/cryptodev/cryptodev_pmd.c +8 -0
index 87ced122b4..19cfbf29a1 100644

Lines of this file are not shown. View the raw message.

lib/cryptodev/cryptodev_trace_points.c +4 -0
index 6f37780595..0de523ba8e 100644

Lines of this file are not shown. View the raw message.

lib/cryptodev/rte_cryptodev.c +84 -0

84 lines not on this page · raw message

lib/dispatcher/rte_dispatcher.c +14 -0
index 79349172bc..a6ec4333cc 100644

Lines of this file are not shown. View the raw message.

lib/distributor/rte_distributor.c +10 -0
index e58727cdc2..ae1e3bf469 100644

Lines of this file are not shown. View the raw message.

lib/dmadev/rte_dmadev.c +20 -0
index 4a075ee1c6..45c5cf4428 100644

Lines of this file are not shown. View the raw message.

lib/dmadev/rte_dmadev_trace_points.c +8 -0
index 4c74356346..7971532997 100644

Lines of this file are not shown. View the raw message.

lib/eal/arm/rte_cpuflags.c +4 -0
index 88e10c6da0..bcb0890183 100644

Lines of this file are not shown. View the raw message.

lib/eal/arm/rte_hypervisor.c +2 -0
index 08a1c97d10..2088000602 100644

Lines of this file are not shown. View the raw message.

lib/eal/arm/rte_power_intrinsics.c +5 -0
index 6475bbca04..6a0e32baa2 100644

Lines of this file are not shown. View the raw message.

lib/eal/common/eal_common_bus.c +11 -0
index 7cbd09c421..63b2e31201 100644

Lines of this file are not shown. View the raw message.

lib/eal/common/eal_common_class.c +5 -0
index 4938ec6707..afcd7e1f0a 100644

Lines of this file are not shown. View the raw message.

lib/eal/common/eal_common_config.c +8 -0
index d3494d6e21..3b0c943193 100644

Lines of this file are not shown. View the raw message.

lib/eal/common/eal_common_cpuflags.c +2 -0
index dc5f75d053..83c3a7760c 100644

Lines of this file are not shown. View the raw message.

lib/eal/common/eal_common_debug.c +3 -0
index bcfcd6df6f..75f5307028 100644

Lines of this file are not shown. View the raw message.

lib/eal/common/eal_common_dev.c +20 -0
index 70aa04dcd9..e17f822ca9 100644

Lines of this file are not shown. View the raw message.

lib/eal/common/eal_common_devargs.c +10 -0
index dd857fc839..be834b26b3 100644

Lines of this file are not shown. View the raw message.

lib/eal/common/eal_common_errno.c +3 -0
index fff8c1ffe4..64000316eb 100644

Lines of this file are not shown. View the raw message.

lib/eal/common/eal_common_fbarray.c +27 -0
index 22b43073c6..46eb87194e 100644

Lines of this file are not shown. View the raw message.

lib/eal/common/eal_common_hexdump.c +3 -0
index 6fd6e21e1e..57092d1847 100644

Lines of this file are not shown. View the raw message.

lib/eal/common/eal_common_hypervisor.c +2 -0
index 5388b81a51..1825c69c52 100644

Lines of this file are not shown. View the raw message.

lib/eal/common/eal_common_interrupts.c +28 -0
index b4d7b18fae..33de73f004 100644

Lines of this file are not shown. View the raw message.

lib/eal/common/eal_common_launch.c +6 -0
index 5320c3bd3c..d02a3f30b1 100644

Lines of this file are not shown. View the raw message.

lib/eal/common/eal_common_lcore.c +18 -0
index 820a6534b1..6ef32911bf 100644

Lines of this file are not shown. View the raw message.

lib/eal/common/eal_common_lcore_var.c +2 -0
index a1b2458839..cabedb80ec 100644

Lines of this file are not shown. View the raw message.

lib/eal/common/eal_common_mcfg.c +21 -0
index dabb80eaf5..d3370c9f89 100644

Lines of this file are not shown. View the raw message.

lib/eal/common/eal_common_memory.c +30 -0
index a185e0b580..1498520208 100644

Lines of this file are not shown. View the raw message.

lib/eal/common/eal_common_memzone.c +10 -0
index e7002f8447..c40b9dfe98 100644

Lines of this file are not shown. View the raw message.

lib/eal/common/eal_common_options.c +5 -0
index 79db9a47dd..c1fb883359 100644

Lines of this file are not shown. View the raw message.

lib/eal/common/eal_common_proc.c +9 -0
index 201973c5db..e6a7be2ba5 100644

Lines of this file are not shown. View the raw message.

lib/eal/common/eal_common_string_fns.c +4 -0
index 9ca2045b18..f6ca7320cb 100644

Lines of this file are not shown. View the raw message.

lib/eal/common/eal_common_tailqs.c +4 -0
index 56bb2bd91c..c54a4e8334 100644

Lines of this file are not shown. View the raw message.

lib/eal/common/eal_common_thread.c +15 -0
index a53bc639ae..34b44ee18d 100644

Lines of this file are not shown. View the raw message.

lib/eal/common/eal_common_timer.c +5 -0
index e00be0a5c8..22b01a3363 100644

Lines of this file are not shown. View the raw message.

lib/eal/common/eal_common_trace.c +16 -0
index 918f49bf4f..c3751245cc 100644

Lines of this file are not shown. View the raw message.

lib/eal/common/eal_common_trace_ctf.c +2 -0
index 04c4f71462..b75ce972fa 100644

Lines of this file are not shown. View the raw message.

lib/eal/common/eal_common_trace_points.c +19 -0
index 0f1240ea3a..b43c66d2c0 100644

Lines of this file are not shown. View the raw message.

lib/eal/common/eal_common_trace_utils.c +2 -0
index 7282715b11..16f6144779 100644

Lines of this file are not shown. View the raw message.

lib/eal/common/eal_common_uuid.c +5 -0
index 0a80bfbb38..379b1ba96a 100644

Lines of this file are not shown. View the raw message.

lib/eal/common/rte_bitset.c +2 -0
index e25008519e..8be97502cf 100644

Lines of this file are not shown. View the raw message.

lib/eal/common/rte_keepalive.c +7 -0
index 473d30dd13..68f17edc4a 100644

Lines of this file are not shown. View the raw message.

lib/eal/common/rte_malloc.c +23 -0
index 3eed4d4be6..afcdcc998b 100644

Lines of this file are not shown. View the raw message.

lib/eal/common/rte_random.c +5 -0
index 9354358818..f7d73623b5 100644

Lines of this file are not shown. View the raw message.

lib/eal/common/rte_reciprocal.c +3 -0
index 87c67e6d49..1bfbebb3a0 100644

Lines of this file are not shown. View the raw message.

lib/eal/common/rte_service.c +32 -0
index 1821746337..96ce2e0ceb 100644

Lines of this file are not shown. View the raw message.

lib/eal/common/rte_version.c +8 -0
index 4ae5d66c89..4e109db4da 100644

Lines of this file are not shown. View the raw message.

lib/eal/freebsd/eal.c +23 -0
index d07cff8651..50da2e36c6 100644

Lines of this file are not shown. View the raw message.

lib/eal/freebsd/eal_alarm.c +3 -0
index 3680f5caba..94288c58c1 100644

Lines of this file are not shown. View the raw message.

lib/eal/freebsd/eal_dev.c +5 -0
index d8659cc7fc..b792264986 100644

Lines of this file are not shown. View the raw message.

lib/eal/freebsd/eal_interrupts.c +20 -0
index 23747babc2..3e2ce3ed40 100644

Lines of this file are not shown. View the raw message.

lib/eal/freebsd/eal_memory.c +4 -0
index a6f3ba226e..33f6b74735 100644

Lines of this file are not shown. View the raw message.

lib/eal/freebsd/eal_thread.c +3 -0
index 77b7621908..1ff0ce9c42 100644

Lines of this file are not shown. View the raw message.

lib/eal/freebsd/eal_timer.c +2 -0
index 4eba66eadb..b0e38d6014 100644

Lines of this file are not shown. View the raw message.

lib/eal/linux/eal.c +8 -0
index b1e63e37fc..2efb4536f4 100644

Lines of this file are not shown. View the raw message.

lib/eal/linux/eal_alarm.c +3 -0
index 9fe14ade63..428e12d382 100644

Lines of this file are not shown. View the raw message.

lib/eal/linux/eal_dev.c +5 -0
index be97f56424..5f27b7fb33 100644

Lines of this file are not shown. View the raw message.

lib/eal/linux/eal_interrupts.c +20 -0
index 23039964fc..dd77c7e422 100644

Lines of this file are not shown. View the raw message.

lib/eal/linux/eal_memory.c +4 -0
index 9dda60c0e1..5985f213ed 100644

Lines of this file are not shown. View the raw message.

lib/eal/linux/eal_thread.c +3 -0
index 7051840cdf..ee36c71c8a 100644

Lines of this file are not shown. View the raw message.

lib/eal/linux/eal_timer.c +5 -0
index 489732c116..63703ba7c2 100644

Lines of this file are not shown. View the raw message.

lib/eal/linux/eal_vfio.c +17 -0
index 7132e24cba..a9e8e779b0 100644

Lines of this file are not shown. View the raw message.

lib/eal/loongarch/rte_cpuflags.c +4 -0
index db9e28ef20..3299253d52 100644

Lines of this file are not shown. View the raw message.

lib/eal/loongarch/rte_hypervisor.c +2 -0
index d044906f71..c9c6f19985 100644

Lines of this file are not shown. View the raw message.

lib/eal/loongarch/rte_power_intrinsics.c +5 -0
index a8969c260e..8f5f8a5a69 100644

Lines of this file are not shown. View the raw message.

lib/eal/ppc/rte_cpuflags.c +4 -0
index d276c2cf88..719e4cd920 100644

Lines of this file are not shown. View the raw message.

lib/eal/ppc/rte_hypervisor.c +2 -0
index 08a1c97d10..2088000602 100644

Lines of this file are not shown. View the raw message.

lib/eal/ppc/rte_power_intrinsics.c +5 -0
index d6bdc58911..11bbf7cc05 100644

Lines of this file are not shown. View the raw message.

lib/eal/riscv/rte_cpuflags.c +4 -0
index eb4105c18b..67a6a59dd3 100644

Lines of this file are not shown. View the raw message.

lib/eal/riscv/rte_hypervisor.c +2 -0
index 92b5435993..b647b4b147 100644

Lines of this file are not shown. View the raw message.

lib/eal/riscv/rte_power_intrinsics.c +5 -0
index 1c86573c19..b51aa2fd17 100644

Lines of this file are not shown. View the raw message.

lib/eal/unix/eal_debug.c +3 -0
index 69ba3758c2..c2f5fd0946 100644

Lines of this file are not shown. View the raw message.

lib/eal/unix/eal_filesystem.c +2 -0
index 6cd5f1492c..efd20134e3 100644

Lines of this file are not shown. View the raw message.

lib/eal/unix/eal_firmware.c +2 -0
index 0d69b1e3f0..381aa793a5 100644

Lines of this file are not shown. View the raw message.

lib/eal/unix/eal_unix_memory.c +5 -0
index 97969a401b..287c645464 100644

Lines of this file are not shown. View the raw message.

lib/eal/unix/eal_unix_timer.c +2 -0
index e71602b3a1..6917c0ed2c 100644

Lines of this file are not shown. View the raw message.

lib/eal/unix/rte_thread.c +14 -0
index ea629c2065..2177f3d400 100644

Lines of this file are not shown. View the raw message.

lib/eal/windows/eal.c +12 -0
index 5c7526f922..2b43e4a0ba 100644

Lines of this file are not shown. View the raw message.

lib/eal/windows/eal_alarm.c +3 -0
index 5cd7b254a1..c4706bc809 100644

Lines of this file are not shown. View the raw message.

lib/eal/windows/eal_debug.c +2 -0
index 4a6303a2a9..f294d98cf4 100644

Lines of this file are not shown. View the raw message.

lib/eal/windows/eal_dev.c +5 -0
index e0b8c54dc5..3e5c3a9a27 100644

Lines of this file are not shown. View the raw message.

lib/eal/windows/eal_interrupts.c +20 -0
index c97118d231..432d899ae9 100644

Lines of this file are not shown. View the raw message.

lib/eal/windows/eal_memory.c +8 -0
index 8de92d4089..8bd59a89aa 100644

Lines of this file are not shown. View the raw message.

lib/eal/windows/eal_mp.c +7 -0
index 76413f49a3..1f2c992421 100644

Lines of this file are not shown. View the raw message.

lib/eal/windows/eal_thread.c +2 -0
index 9e3df200b9..4a1dc422ec 100644

Lines of this file are not shown. View the raw message.

lib/eal/windows/eal_timer.c +2 -0
index 020035c4cc..7d2cfe3921 100644

Lines of this file are not shown. View the raw message.

lib/eal/windows/rte_thread.c +15 -0
index 6f991dfa5d..4f0c6adf76 100644

Lines of this file are not shown. View the raw message.

lib/eal/x86/rte_cpuflags.c +4 -0
index 90389c66fc..49a01d4e1d 100644

Lines of this file are not shown. View the raw message.

lib/eal/x86/rte_hypervisor.c +2 -0
index 04fe76751a..8447733fd7 100644

Lines of this file are not shown. View the raw message.

lib/eal/x86/rte_power_intrinsics.c +5 -0
index f7d558153e..73efc1ddc9 100644

Lines of this file are not shown. View the raw message.

lib/eal/x86/rte_spinlock.c +2 -0
index 34890ea87c..68553f0e24 100644

Lines of this file are not shown. View the raw message.

lib/efd/rte_efd.c +8 -0
index 3cbb3c2719..86117b2425 100644

Lines of this file are not shown. View the raw message.

lib/ethdev/ethdev_driver.c +25 -0
index e1976db05f..5d20de7289 100644

Lines of this file are not shown. View the raw message.

lib/ethdev/ethdev_linux_ethtool.c +4 -0
index e792204b01..f9fd09f44d 100644

Lines of this file are not shown. View the raw message.

lib/ethdev/ethdev_private.c +3 -0
index cc7fd97d4a..3a8d98ec6f 100644

Lines of this file are not shown. View the raw message.

lib/ethdev/ethdev_trace_points.c +7 -0
index cb99cf91fc..83e19e5c1a 100644

Lines of this file are not shown. View the raw message.

lib/ethdev/rte_ethdev.c +169 -0

169 lines not on this page · raw message

lib/ethdev/rte_ethdev_cman.c +5 -0
index 73262ffc5f..0fec1492f3 100644

Lines of this file are not shown. View the raw message.

lib/ethdev/rte_flow.c +65 -0

65 lines not on this page · raw message

lib/ethdev/rte_mtr.c +22 -0
index 900837bc09..33500cbf56 100644

Lines of this file are not shown. View the raw message.

lib/ethdev/rte_tm.c +32 -0
index 347dbb81f9..4be815d311 100644

Lines of this file are not shown. View the raw message.

lib/eventdev/eventdev_private.c +3 -0
index 6df129fc2d..a562f6ca24 100644

Lines of this file are not shown. View the raw message.

lib/eventdev/eventdev_trace_points.c +12 -0
index 8caf6353a1..8b58955774 100644

Lines of this file are not shown. View the raw message.

lib/eventdev/rte_event_crypto_adapter.c +16 -0
index fc43e056d7..6a95df7f00 100644

Lines of this file are not shown. View the raw message.

lib/eventdev/rte_event_dma_adapter.c +16 -0
index d9a02a30f2..e2fd916af7 100644

Lines of this file are not shown. View the raw message.

lib/eventdev/rte_event_eth_rx_adapter.c +24 -0
index ad832413d6..e347a5ac06 100644

Lines of this file are not shown. View the raw message.

lib/eventdev/rte_event_eth_tx_adapter.c +18 -0
index 67fff8b7d6..5466a12c52 100644

Lines of this file are not shown. View the raw message.

lib/eventdev/rte_event_ring.c +5 -0
index b965970cf9..879fd2836a 100644

Lines of this file are not shown. View the raw message.

lib/eventdev/rte_event_timer_adapter.c +12 -0
index 5886965d14..6bedf406f0 100644

Lines of this file are not shown. View the raw message.

lib/eventdev/rte_eventdev.c +47 -0

47 lines not on this page · raw message

lib/fib/rte_fib.c +11 -0
index 49211fe3fa..faa7368dc9 100644

Lines of this file are not shown. View the raw message.

lib/fib/rte_fib6.c +10 -0
index 9c7d4fde43..9fbd3c4696 100644

Lines of this file are not shown. View the raw message.

lib/gpudev/gpudev.c +33 -0
index 1c2011b856..30ea391dd4 100644

Lines of this file are not shown. View the raw message.

lib/graph/graph.c +17 -0
index dff8e690a8..bdac9692f6 100644

Lines of this file are not shown. View the raw message.

lib/graph/graph_debug.c +3 -0
index 37088ce2cf..306b62708c 100644

Lines of this file are not shown. View the raw message.

lib/graph/graph_stats.c +5 -0
index 0bbbd9fb7c..e0f12ad25c 100644

Lines of this file are not shown. View the raw message.

lib/graph/node.c +12 -0
index 63db629da8..a09cfba4e9 100644

Lines of this file are not shown. View the raw message.

lib/graph/rte_graph_model_mcore_dispatch.c +4 -0
index a590fc9497..4d8040dade 100644

Lines of this file are not shown. View the raw message.

lib/graph/rte_graph_worker.c +4 -0
index 7e2a918fae..e3f6172218 100644

Lines of this file are not shown. View the raw message.

lib/gro/rte_gro.c +7 -0
index 6d5aadf32a..7af123d192 100644

Lines of this file are not shown. View the raw message.

lib/gso/rte_gso.c +2 -0
index e29c7d884a..27d37c1065 100644

Lines of this file are not shown. View the raw message.

lib/hash/rte_cuckoo_hash.c +28 -0
index e55e6e1c81..65901cf26d 100644

Lines of this file are not shown. View the raw message.

lib/hash/rte_fbk_hash.c +4 -0
index dacb7e8b09..1773d77c7b 100644

Lines of this file are not shown. View the raw message.

lib/hash/rte_hash_crc.c +3 -0
index c037cdb0f0..3828ba0db1 100644

Lines of this file are not shown. View the raw message.

lib/hash/rte_thash.c +13 -0
index 1f9700258d..92ab0bcd94 100644

Lines of this file are not shown. View the raw message.

lib/hash/rte_thash_gf2_poly_math.c +2 -0
index 858884b4d4..8a01ce3de4 100644

Lines of this file are not shown. View the raw message.

lib/hash/rte_thash_gfni.c +3 -0
index c94640d30d..4982ed2a43 100644

Lines of this file are not shown. View the raw message.

lib/ip_frag/rte_ip_frag_common.c +6 -0
index 05f9e479c2..8f8f704288 100644

Lines of this file are not shown. View the raw message.

lib/ip_frag/rte_ipv4_fragmentation.c +3 -0
index e04cf5738e..098e94d70e 100644

Lines of this file are not shown. View the raw message.

lib/ip_frag/rte_ipv4_reassembly.c +2 -0
index 5818f50f40..a3e53c61f4 100644

Lines of this file are not shown. View the raw message.

lib/ip_frag/rte_ipv6_fragmentation.c +2 -0
index 56696f32f8..2e1f628335 100644

Lines of this file are not shown. View the raw message.

lib/ip_frag/rte_ipv6_reassembly.c +2 -0
index 9471ce5333..c5dcb00b6f 100644

Lines of this file are not shown. View the raw message.

lib/ipsec/ipsec_sad.c +7 -0
index 7e147e729c..d51f6fd38e 100644

Lines of this file are not shown. View the raw message.

lib/ipsec/ipsec_telemetry.c +3 -0
index 68a91108dd..0df08e3be1 100644

Lines of this file are not shown. View the raw message.

lib/ipsec/sa.c +5 -0
index 741e079831..c18e0e7f88 100644

Lines of this file are not shown. View the raw message.

lib/ipsec/ses.c +2 -0
index d9ab1e6d2b..5e0f74c11d 100644

Lines of this file are not shown. View the raw message.

lib/jobstats/rte_jobstats.c +15 -0
index af565a14ea..9c9f1210d4 100644

Lines of this file are not shown. View the raw message.

lib/kvargs/rte_kvargs.c +9 -0
index 1d355516bc..3935ebf1e0 100644

Lines of this file are not shown. View the raw message.

lib/latencystats/rte_latencystats.c +6 -0
index 6a261309f9..9143a2537e 100644

Lines of this file are not shown. View the raw message.

lib/log/log.c +23 -0
index e1c18a8e53..9edee5bd89 100644

Lines of this file are not shown. View the raw message.

lib/log/log_color.c +2 -0
index 04eb5aa485..8f9d837062 100644

Lines of this file are not shown. View the raw message.

lib/log/log_syslog.c +2 -0
index 6b34831bf3..a229bafb72 100644

Lines of this file are not shown. View the raw message.

lib/log/log_timestamp.c +2 -0
index b4b0bca6a8..296a926175 100644

Lines of this file are not shown. View the raw message.

lib/lpm/rte_lpm.c +9 -0
index a5c9e7c9fc..2a6fecf935 100644

Lines of this file are not shown. View the raw message.

lib/lpm/rte_lpm6.c +11 -0
index 8beb394c47..a0021ee531 100644

Lines of this file are not shown. View the raw message.

lib/mbuf/rte_mbuf.c +18 -0
index 559d5ad8a7..1f018f90ce 100644

Lines of this file are not shown. View the raw message.

lib/mbuf/rte_mbuf_dyn.c +10 -0
index 1cfb329c3a..85b67f180a 100644

Lines of this file are not shown. View the raw message.

lib/mbuf/rte_mbuf_pool_ops.c +6 -0
index 8e93c6acbd..89ec8a4a4f 100644

Lines of this file are not shown. View the raw message.

lib/mbuf/rte_mbuf_ptype.c +9 -0
index ab180b3dda..f7a57a5763 100644

Lines of this file are not shown. View the raw message.

lib/member/rte_member.c +14 -0
index 57eb7affab..6598701a30 100644

Lines of this file are not shown. View the raw message.

lib/mempool/mempool_trace_points.c +11 -0
index 307018094d..6eb9aa9aa2 100644

Lines of this file are not shown. View the raw message.

lib/mempool/rte_mempool.c +28 -0
index 1e4f24783c..e06979c95d 100644

Lines of this file are not shown. View the raw message.

lib/mempool/rte_mempool_ops.c +5 -0
index 1b33380259..35b8d1508c 100644

Lines of this file are not shown. View the raw message.

lib/mempool/rte_mempool_ops_default.c +5 -0
index 22fccf9d76..bbfde038ed 100644

Lines of this file are not shown. View the raw message.

lib/meter/rte_meter.c +7 -0
index 6545803d36..a0c0e44e44 100644

Lines of this file are not shown. View the raw message.

lib/metrics/rte_metrics.c +9 -0
index 0ccdbabc04..eaf4207a72 100644

Lines of this file are not shown. View the raw message.

lib/metrics/rte_metrics_telemetry.c +12 -0
index dc43611d29..8445686c03 100644

Lines of this file are not shown. View the raw message.

lib/mldev/mldev_utils.c +3 -0
index 13ac615e9f..bfd1f3ab25 100644

Lines of this file are not shown. View the raw message.

lib/mldev/mldev_utils_neon.c +20 -0
index 8751a40863..6d7d72ab4a 100644

Lines of this file are not shown. View the raw message.

lib/mldev/mldev_utils_neon_bfloat16.c +4 -0
index b8e6853266..65c50ab52d 100644

Lines of this file are not shown. View the raw message.

lib/mldev/mldev_utils_scalar.c +20 -0
index e1fefdec3b..422a8d4e46 100644

Lines of this file are not shown. View the raw message.

lib/mldev/mldev_utils_scalar_bfloat16.c +4 -0
index 3f93272518..2f7f3d42f9 100644

Lines of this file are not shown. View the raw message.

lib/mldev/rte_mldev.c +38 -0
index a81ece07b6..71892c4d91 100644

Lines of this file are not shown. View the raw message.

lib/mldev/rte_mldev_pmd.c +3 -0
index 3169e5d4fa..568a55ab0a 100644

Lines of this file are not shown. View the raw message.

lib/net/rte_arp.c +2 -0
index 22af519586..22375ba283 100644

Lines of this file are not shown. View the raw message.

lib/net/rte_ether.c +4 -0
index f59c20289d..f5153e01cf 100644

Lines of this file are not shown. View the raw message.

lib/net/rte_net.c +3 -0
index 0c32e78a13..3e2eb67236 100644

Lines of this file are not shown. View the raw message.

lib/net/rte_net_crc.c +2 -0
index b5a5dabd4f..4efb095bc4 100644

Lines of this file are not shown. View the raw message.

lib/node/ethdev_ctrl.c +3 -0
index cd52e8be08..6628c0ae37 100644

Lines of this file are not shown. View the raw message.

lib/node/ip4_lookup.c +2 -0
index 0b474cd2bc..d618119d65 100644

Lines of this file are not shown. View the raw message.

lib/node/ip4_reassembly.c +2 -0
index eb5f391114..437bf97f93 100644

Lines of this file are not shown. View the raw message.

lib/node/ip4_rewrite.c +2 -0
index 34a920df5e..0ec1943bbf 100644

Lines of this file are not shown. View the raw message.

lib/node/ip6_lookup.c +2 -0
index f378d2d064..654685a687 100644

Lines of this file are not shown. View the raw message.

lib/node/ip6_rewrite.c +2 -0
index 198d8d8820..750bef4838 100644

Lines of this file are not shown. View the raw message.

lib/node/udp4_input.c +3 -0
index bbcb2c70e7..d864e6b113 100644

Lines of this file are not shown. View the raw message.

lib/pcapng/rte_pcapng.c +8 -0
index 16485b27cb..e0676b417a 100644

Lines of this file are not shown. View the raw message.

lib/pci/rte_pci.c +4 -0
index 1c5ef951d3..0ab471a05b 100644

Lines of this file are not shown. View the raw message.

lib/pdcp/rte_pdcp.c +6 -0
index 1c076fb448..037d11b4ee 100644

Lines of this file are not shown. View the raw message.

lib/pdump/rte_pdump.c +10 -0
index 0e6ffc167b..545ba888d8 100644

Lines of this file are not shown. View the raw message.

lib/pipeline/rte_pipeline.c +24 -0
index a09a89f746..8677eb0805 100644

Lines of this file are not shown. View the raw message.

lib/pipeline/rte_port_in_action.c +9 -0
index 4127bd2cab..7ebe4a8b8d 100644

Lines of this file are not shown. View the raw message.

lib/pipeline/rte_swx_ctl.c +18 -0
index 857770d297..6b1e4116e9 100644

Lines of this file are not shown. View the raw message.

lib/pipeline/rte_swx_ipsec.c +8 -0
index 17a9d2b98b..5720045a5e 100644

Lines of this file are not shown. View the raw message.

lib/pipeline/rte_swx_pipeline.c +74 -0

74 lines not on this page · raw message

lib/pipeline/rte_table_action.c +17 -0
index 3a408e81b8..099e6e3994 100644

Lines of this file are not shown. View the raw message.

lib/port/rte_port_ethdev.c +4 -0
index d57f680e98..bcd01baed2 100644

Lines of this file are not shown. View the raw message.

lib/port/rte_port_eventdev.c +4 -0
index 6acf22998d..b5fcede557 100644

Lines of this file are not shown. View the raw message.

lib/port/rte_port_fd.c +4 -0
index 281cba20c2..4542a80414 100644

Lines of this file are not shown. View the raw message.

lib/port/rte_port_frag.c +3 -0
index 0940f945bd..c55c46e685 100644

Lines of this file are not shown. View the raw message.

lib/port/rte_port_ras.c +3 -0
index 42cf1ddf45..242980cb5f 100644

Lines of this file are not shown. View the raw message.

lib/port/rte_port_ring.c +7 -0
index 680d208f45..fff5a53245 100644

Lines of this file are not shown. View the raw message.

lib/port/rte_port_sched.c +3 -0
index da7a6240d7..a501172cf5 100644

Lines of this file are not shown. View the raw message.

lib/port/rte_port_source_sink.c +3 -0
index a4486a7199..db41fb3c5c 100644

Lines of this file are not shown. View the raw message.

lib/port/rte_port_sym_crypto.c +4 -0
index a68a2396a5..28b92565b6 100644

Lines of this file are not shown. View the raw message.

lib/port/rte_swx_port_ethdev.c +3 -0
index 7cb3c4dfb1..a6eb58beae 100644

Lines of this file are not shown. View the raw message.

lib/port/rte_swx_port_fd.c +3 -0
index 4bbad2eaa7..acc7c2078d 100644

Lines of this file are not shown. View the raw message.

lib/port/rte_swx_port_ring.c +3 -0
index af541a2fa2..74c641217a 100644

Lines of this file are not shown. View the raw message.

lib/port/rte_swx_port_source_sink.c +4 -0
index 757a2c4a2e..572a3af74a 100644

Lines of this file are not shown. View the raw message.

lib/power/power_common.c +9 -0
index e482f71c64..885c975b58 100644

Lines of this file are not shown. View the raw message.

lib/power/rte_power_cpufreq.c +19 -0
index 3576017239..d4a134f261 100644

Lines of this file are not shown. View the raw message.

lib/power/rte_power_pmd_mgmt.c +11 -0
index 8ec925bd65..15eed2ae6b 100644

Lines of this file are not shown. View the raw message.

lib/power/rte_power_qos.c +3 -0
index 4dd0532b36..4e3005b533 100644

Lines of this file are not shown. View the raw message.

lib/power/rte_power_uncore.c +15 -0
index 741e067932..cea60b04ed 100644

Lines of this file are not shown. View the raw message.

lib/rawdev/rte_rawdev.c +31 -0
index 810e95a440..19491257f0 100644

Lines of this file are not shown. View the raw message.

lib/rcu/rte_rcu_qsbr.c +12 -0
index dbf31501a6..58708952d5 100644

Lines of this file are not shown. View the raw message.

lib/regexdev/rte_regexdev.c +27 -0
index 431ed911a1..668f8ac82c 100644

Lines of this file are not shown. View the raw message.

lib/reorder/rte_reorder.c +12 -0
index ae97e1a34d..0274ffb859 100644

Lines of this file are not shown. View the raw message.

lib/rib/rte_rib.c +15 -0
index b95d329c8b..8fa90bc650 100644

Lines of this file are not shown. View the raw message.

lib/rib/rte_rib6.c +15 -0
index 84c47fed6d..421a2d891e 100644

Lines of this file are not shown. View the raw message.

lib/ring/rte_ring.c +12 -0
index a7d9d6b037..92c8261192 100644

Lines of this file are not shown. View the raw message.

lib/ring/rte_soring.c +4 -0
index 8cee926b11..b597550f18 100644

Lines of this file are not shown. View the raw message.

lib/ring/soring.c +18 -0
index 4fec7efae7..988c16197a 100644

Lines of this file are not shown. View the raw message.

lib/sched/rte_approx.c +2 -0
index edc8d9113b..5bf3f1a801 100644

Lines of this file are not shown. View the raw message.

lib/sched/rte_pie.c +3 -0
index a9f650e60f..6fbde3c5ca 100644

Lines of this file are not shown. View the raw message.

lib/sched/rte_red.c +7 -0
index fa27a141ed..1ba86a193b 100644

Lines of this file are not shown. View the raw message.

lib/sched/rte_sched.c +16 -0
index d8ee4e7e91..69dfc04ae5 100644

Lines of this file are not shown. View the raw message.

lib/security/rte_security.c +21 -0
index 1e980343fe..41d6f4433a 100644

Lines of this file are not shown. View the raw message.

lib/stack/rte_stack.c +4 -0
index 7261281dc1..ec9714c7d9 100644

Lines of this file are not shown. View the raw message.

lib/table/rte_swx_table_em.c +3 -0
index 2f042d74b3..8e7d03ddce 100644

Lines of this file are not shown. View the raw message.

lib/table/rte_swx_table_learner.c +11 -0
index 55a3645e06..59fc2162a5 100644

Lines of this file are not shown. View the raw message.

lib/table/rte_swx_table_selector.c +7 -0
index 18e021fe6f..c6310d411a 100644

Lines of this file are not shown. View the raw message.

lib/table/rte_swx_table_wm.c +2 -0
index 58afb35d46..c3b5968afd 100644

Lines of this file are not shown. View the raw message.

lib/table/rte_table_acl.c +2 -0
index 78779bbc4d..5029557955 100644

Lines of this file are not shown. View the raw message.

lib/table/rte_table_array.c +2 -0
index 84b5d67e90..6858daf840 100644

Lines of this file are not shown. View the raw message.

lib/table/rte_table_hash_cuckoo.c +2 -0
index 388eae918c..0f3221c57e 100644

Lines of this file are not shown. View the raw message.

lib/table/rte_table_hash_ext.c +2 -0
index 91e5037b41..4ebc13a6f6 100644

Lines of this file are not shown. View the raw message.

lib/table/rte_table_hash_key16.c +3 -0
index 67b77c16a0..f79eaa21d8 100644

Lines of this file are not shown. View the raw message.

lib/table/rte_table_hash_key32.c +3 -0
index 1aa86c6a49..a4d9a1c18a 100644

Lines of this file are not shown. View the raw message.

lib/table/rte_table_hash_key8.c +3 -0
index c8d72b333d..e09af09fe0 100644

Lines of this file are not shown. View the raw message.

lib/table/rte_table_hash_lru.c +2 -0
index 801e48f5ba..57aa777620 100644

Lines of this file are not shown. View the raw message.

lib/table/rte_table_lpm.c +2 -0
index 3e10c14d40..ad0d5560b7 100644

Lines of this file are not shown. View the raw message.

lib/table/rte_table_lpm_ipv6.c +2 -0
index dea11130d3..d1ab39960d 100644

Lines of this file are not shown. View the raw message.

lib/table/rte_table_stub.c +2 -0
index 7147f7146e..52b2f9b189 100644

Lines of this file are not shown. View the raw message.

lib/telemetry/telemetry.c +4 -0
index 31a2c91c06..1755922379 100644

Lines of this file are not shown. View the raw message.

lib/telemetry/telemetry_data.c +18 -0
index 3b1a2408df..e8285c1d7d 100644

Lines of this file are not shown. View the raw message.

lib/telemetry/telemetry_legacy.c +2 -0
index 578230732c..f37c1fe9a7 100644

Lines of this file are not shown. View the raw message.

lib/timer/rte_timer.c +19 -0
index bb8b6a651d..e3973fe728 100644

Lines of this file are not shown. View the raw message.

lib/vhost/socket.c +17 -0
index 4c6c551c3d..26829296b2 100644

Lines of this file are not shown. View the raw message.

lib/vhost/vdpa.c +12 -0
index 329dd572b7..a9db812c11 100644

Lines of this file are not shown. View the raw message.

lib/vhost/vhost.c +42 -0

42 lines not on this page · raw message

lib/vhost/vhost_crypto.c +7 -0
index 3c6c5dc114..aaa18be107 100644

Lines of this file are not shown. View the raw message.

lib/vhost/vhost_user.c +3 -0
index 26dc0bde97..1745570564 100644

Lines of this file are not shown. View the raw message.

lib/vhost/virtio_net.c +8 -0
index 0348e8dac3..3ae26fc9a2 100644

Lines of this file are not shown. View the raw message.

The rest of this diff is not shown. View the raw message.

Signature · 1 line
2.48.1

Part of the diff is not shown here. View the raw message.

#79 lore raw

Re: [PATCH v6 5/8] build: mark exported symbols

28/03/2025 11:52, David Marchand:

drivers/bus/dpaa/dpaa_bus_symbols.c

Quoted 2 lines
drivers/bus/dpaa/dpaa_bus_symbols.c new file +0 -0

This is a special case for base drivers,
so we should mention "base" in the filename.

drivers/bus/dpaa/dpaa_bus_symbols.c line 6

Quoted 7 lines
drivers/bus/dpaa/dpaa_bus_symbols.c new file +6 -0
@@ -0,0 +1,99 @@
+/* SPDX-License-Identifier: BSD-3-Clause
+ * Copyright (c) 2025 Red Hat, Inc.
+ */
+
+#include <eal_symbol_exports.h>
+

Please add a comment here to explain this long list of exports:
/* Symbols from the base driver are exported separately below. */

Quoted 12 lines
drivers/bus/dpaa/dpaa_bus_symbols.c new file +12 -0
+RTE_EXPORT_INTERNAL_SYMBOL(fman_ip_rev)
+RTE_EXPORT_INTERNAL_SYMBOL(fman_dealloc_bufs_mask_hi)
+RTE_EXPORT_INTERNAL_SYMBOL(fman_dealloc_bufs_mask_lo)
+RTE_EXPORT_INTERNAL_SYMBOL(fman_if_set_mcast_filter_table)
+RTE_EXPORT_INTERNAL_SYMBOL(fman_if_reset_mcast_filter_table)
+RTE_EXPORT_INTERNAL_SYMBOL(fman_if_clear_mac_addr)
+RTE_EXPORT_INTERNAL_SYMBOL(fman_if_add_mac_addr)
+RTE_EXPORT_INTERNAL_SYMBOL(fman_if_stats_get)
+RTE_EXPORT_INTERNAL_SYMBOL(fman_if_stats_get_all)
+RTE_EXPORT_INTERNAL_SYMBOL(fman_if_stats_reset)
+RTE_EXPORT_INTERNAL_SYMBOL(fman_if_bmi_stats_enable)
+RTE_EXPORT_INTERNAL_SYMBOL(fman_if_bmi_stats_disable)
#80 lore raw

Re: [PATCH v6 5/8] build: mark exported symbols

Quoted 8 lines · Thomas Monjalon

28/03/2025 11:52, David Marchand:

drivers/bus/dpaa/dpaa_bus_symbols.c

Quoted 2 lines
drivers/bus/dpaa/dpaa_bus_symbols.c new file +0 -0

This is a special case for base drivers,
so we should mention "base" in the filename.

Quoted 10 lines

drivers/bus/dpaa/dpaa_bus_symbols.c line 6

Quoted 7 lines
drivers/bus/dpaa/dpaa_bus_symbols.c new file +6 -0
@@ -0,0 +1,99 @@
+/* SPDX-License-Identifier: BSD-3-Clause
+ * Copyright (c) 2025 Red Hat, Inc.
+ */
+
+#include <eal_symbol_exports.h>
+

Please add a comment here to explain this long list of exports:
/* Symbols from the base driver are exported separately below. */

Ack.

Signature · 1 line
David Marchand
#81 lore raw

PATCH v6 6/8 build: use dynamically generated version maps

In reply to David Marchand

Switch to dynamically generated version maps.

As the map files get generated, tooling around checking, converting, updating etc.. static version maps can be removed.

---
 .github/workflows/build.yml                   |   1 -
 MAINTAINERS                                   |   7 -
 buildtools/check-symbols.sh                   |  33 +-
 buildtools/map-list-symbol.sh                 |   7 +-
 buildtools/map_to_win.py                      |  41 ---
 buildtools/meson.build                        |   1 -
 devtools/check-symbol-change.sh               | 186 -----------
 devtools/check-symbol-maps.sh                 | 101 ------
 devtools/checkpatches.sh                      |   2 +-
 devtools/update-abi.sh                        |  46 ---
 devtools/update_version_map_abi.py            | 210 ------------
 doc/guides/contributing/abi_policy.rst        |  21 +-
 doc/guides/contributing/coding_style.rst      |   7 -
 .../contributing/img/patch_cheatsheet.svg     | 303 ++++++++----------
 doc/guides/contributing/patches.rst           |   6 +-
 drivers/meson.build                           |  74 ++---
 lib/meson.build                               |  73 ++---
 17 files changed, 188 insertions(+), 931 deletions(-)
 delete mode 100644 buildtools/map_to_win.py
 delete mode 100755 devtools/check-symbol-change.sh
 delete mode 100755 devtools/check-symbol-maps.sh
 delete mode 100755 devtools/update-abi.sh
 delete mode 100755 devtools/update_version_map_abi.py
.github/workflows/build.yml +0 -1
index 0cc4d12b0b..7a6b679fe5 100644
@@ -31,7 +31,6 @@ jobs:
         failed=
         devtools/check-doc-vs-code.sh upstream/${{ env.REF_GIT_BRANCH }} || failed=true
         devtools/check-meson.py || failed=true
-        devtools/check-symbol-maps.sh || failed=true
         [ -z "$failed" ]
   ubuntu-vm-builds:
     name: ${{ join(matrix.config.*, '-') }}
MAINTAINERS +0 -7
index 42ea07854b..480972ef1e 100644
@@ -88,7 +88,6 @@ M: Thomas Monjalon <[email protected]>
 F: MAINTAINERS
 F: devtools/build-dict.sh
 F: devtools/check-abi.sh
-F: devtools/check-abi-version.sh
 F: devtools/check-doc-vs-code.sh
 F: devtools/check-dup-includes.sh
 F: devtools/check-maintainers.sh
@@ -96,17 +95,13 @@ F: devtools/check-forbidden-tokens.awk
 F: devtools/check-git-log.sh
 F: devtools/check-spdx-tag.sh
 F: devtools/check-symbol-change.py
-F: devtools/check-symbol-change.sh
-F: devtools/check-symbol-maps.sh
 F: devtools/checkpatches.sh
 F: devtools/get-maintainer.sh
 F: devtools/git-log-fixes.sh
 F: devtools/load-devel-config
 F: devtools/parse-flow-support.sh
 F: devtools/process-iwyu.py
-F: devtools/update-abi.sh
 F: devtools/update-patches.py
-F: devtools/update_version_map_abi.py
 F: devtools/libabigail.abignore
 F: devtools/words-case.txt
 F: license/
@@ -166,7 +161,6 @@ M: Tyler Retzlaff <[email protected]>
 F: lib/eal/common/
 F: lib/eal/unix/
 F: lib/eal/include/
-F: lib/eal/version.map
 F: doc/guides/prog_guide/env_abstraction_layer.rst
 F: app/test/test_alarm.c
 F: app/test/test_atomic.c
@@ -396,7 +390,6 @@ Windows support
 M: Dmitry Kozlyuk <[email protected]>
 M: Tyler Retzlaff <[email protected]>
 F: lib/eal/windows/
-F: buildtools/map_to_win.py
 F: doc/guides/windows_gsg/
 
 Windows memory allocation
buildtools/check-symbols.sh +6 -27
index b8ac24391e..0d6745ec14 100755
@@ -7,29 +7,12 @@ OBJFILE=$2
 
 ROOTDIR=$(readlink -f $(dirname $(readlink -f $0))/..)
 LIST_SYMBOL=$ROOTDIR/buildtools/map-list-symbol.sh
-CHECK_SYMBOL_MAPS=$ROOTDIR/devtools/check-symbol-maps.sh
-
-# added check for "make -C test/" usage
-if [ ! -e $MAPFILE ] || [ ! -f $OBJFILE ]
-then
-	exit 0
-fi
-
-if [ -d $MAPFILE ]
-then
-	exit 0
-fi
-
 DUMPFILE=$(mktemp -t dpdk.${0##*/}.objdump.XXXXXX)
 trap 'rm -f "$DUMPFILE"' EXIT
 objdump -t $OBJFILE >$DUMPFILE
 
 ret=0
 
-if ! $CHECK_SYMBOL_MAPS $MAPFILE; then
-	ret=1
-fi
-
 for SYM in `$LIST_SYMBOL -S EXPERIMENTAL $MAPFILE |cut -d ' ' -f 3`
 do
 	if grep -q "\.text.*[[:space:]]$SYM$" $DUMPFILE &&
@@ -37,8 +20,7 @@ do
 		$LIST_SYMBOL -s $SYM $MAPFILE | grep -q EXPERIMENTAL
 	then
 		cat >&2 <<- END_OF_MESSAGE
-		$SYM is not flagged as experimental
-		but is listed in version map
+		$SYM is not flagged as experimental but is exported as an experimental symbol
 		Please add __rte_experimental to the definition of $SYM
 		END_OF_MESSAGE
 		ret=1
@@ -53,9 +35,8 @@ for SYM in `awk '{
 do
 	$LIST_SYMBOL -S EXPERIMENTAL -s $SYM -q $MAPFILE || {
 		cat >&2 <<- END_OF_MESSAGE
-		$SYM is flagged as experimental
-		but is not listed in version map
-		Please add $SYM to the version map
+		$SYM is flagged as experimental but is not exported as an experimental symbol
+		Please add RTE_EXPORT_EXPERIMENTAL_SYMBOL to the definition of $SYM
 		END_OF_MESSAGE
 		ret=1
 	}
@@ -67,8 +48,7 @@ do
 		! grep -q "\.text\.internal.*[[:space:]]$SYM$" $DUMPFILE
 	then
 		cat >&2 <<- END_OF_MESSAGE
-		$SYM is not flagged as internal
-		but is listed in version map
+		$SYM is not flagged as internal but is exported as an internal symbol
 		Please add __rte_internal to the definition of $SYM
 		END_OF_MESSAGE
 		ret=1
@@ -83,9 +63,8 @@ for SYM in `awk '{
 do
 	$LIST_SYMBOL -S INTERNAL -s $SYM -q $MAPFILE || {
 		cat >&2 <<- END_OF_MESSAGE
-		$SYM is flagged as internal
-		but is not listed in version map
-		Please add $SYM to the version map
+		$SYM is flagged as internal but is not exported as an internal symbol
+		Please add RTE_EXPORT_INTERNAL_SYMBOL to the definition of $SYM
 		END_OF_MESSAGE
 		ret=1
 	}
buildtools/map-list-symbol.sh +1 -6
index 0829df4be5..962d5f3271 100755
@@ -42,7 +42,6 @@ for file in $@; do
 	cat "$file" |awk '
 	BEGIN {
 		current_section = "";
-		current_version = "";
 		if ("'$section'" == "all" && "'$symbol'" == "all" && "'$version'" == "") {
 			ret = 0;
 		} else {
@@ -54,15 +53,11 @@ for file in $@; do
 			current_section = $1;
 		}
 	}
-	/.*}/ { current_section = ""; current_version = ""; }
-	/^\t# added in / {
-		current_version=$4;
-	}
+	/.*}/ { current_section = ""; }
 	/^[^}].*[^:*];/ {
 		if (current_section == "") {
 			next;
 		}
-		symbol_version = current_version
 		if (/^[^}].*[^:*]; # added in /) {
 			symbol_version = $5
 		}
buildtools/map_to_win.py deleted +0 -41

41 lines not on this page · raw message

buildtools/meson.build +0 -1
index b745e9afa4..1cd1ce02fd 100644
@@ -18,7 +18,6 @@ endif
 echo = py3 + ['-c', 'import sys; print(*sys.argv[1:])']
 gen_version_map = py3 + files('gen-version-map.py')
 list_dir_globs = py3 + files('list-dir-globs.py')
-map_to_win_cmd = py3 + files('map_to_win.py')
 sphinx_wrapper = py3 + files('call-sphinx-build.py')
 get_cpu_count_cmd = py3 + files('get-cpu-count.py')
 get_numa_count_cmd = py3 + files('get-numa-count.py')
devtools/check-symbol-change.sh deleted +0 -186

186 lines not on this page · raw message

devtools/check-symbol-maps.sh deleted +0 -101

101 lines not on this page · raw message

devtools/checkpatches.sh +1 -1
index 9180c2b070..c111b0fef3 100755
@@ -9,7 +9,7 @@
 # - DPDK_CHECKPATCH_OPTIONS
 . $(dirname $(readlink -f $0))/load-devel-config
 
-VALIDATE_NEW_API=$(dirname $(readlink -f $0))/check-symbol-change.sh
+VALIDATE_NEW_API=$(dirname $(readlink -f $0))/check-symbol-change.py
 
 # Enable codespell by default. This can be overwritten from a config file.
 # Codespell can also be enabled by setting DPDK_CHECKPATCH_CODESPELL to a valid path
devtools/update-abi.sh deleted +0 -46

46 lines not on this page · raw message

devtools/update_version_map_abi.py deleted +0 -210

210 lines not on this page · raw message

doc/guides/contributing/abi_policy.rst +2 -19
index d96153c6b2..f03a7467ac 100644
@@ -330,31 +330,14 @@ become part of a tracked ABI version.
 
 Note that marking an API as experimental is a multi step process.
 To mark an API as experimental, the symbols which are desired to be exported
-must be placed in an EXPERIMENTAL version block in the corresponding libraries'
-version map script.
+must be annotated with a RTE_EXPORT_EXPERIMENTAL_SYMBOL call in the corresponding libraries'
+sources.
 Experimental symbols must be commented so that it is clear in which DPDK
 version they were introduced.
 
-.. code-block:: none
-
-   EXPERIMENTAL {
-           global:
-
-           # added in 20.11
-           rte_foo_init;
-           rte_foo_configure;
-
-           # added in 21.02
-           rte_foo_cleanup;
-   ...
-
 Secondly, the corresponding prototypes of those exported functions (in the
 development header files), must be marked with the ``__rte_experimental`` tag
 (see ``rte_compat.h``).
-The DPDK build makefiles perform a check to ensure that the map file and the
-C code reflect the same list of symbols.
-This check can be circumvented by defining ``ALLOW_EXPERIMENTAL_API``
-during compilation in the corresponding library Makefile.
 
 In addition to tagging the code with ``__rte_experimental``,
 the doxygen markup must also contain the EXPERIMENTAL string,
doc/guides/contributing/coding_style.rst +0 -7
index 1ebc79ca3c..43e27bbd0a 100644
@@ -1018,13 +1018,6 @@ name
 	sources are stored in a directory ``lib/xyz``, this value should
 	never be needed for new libraries.
 
-.. note::
-
-	The name value also provides the name used to find the function version
-	map file, as part of the build process, so if the directory name and
-	library names differ, the ``version.map`` file should be named
-	consistently with the library, not the directory
-
 objs
 	**Default Value = []**.
 	This variable can be used to pass to the library build some pre-built
doc/guides/contributing/img/patch_cheatsheet.svg +136 -167

368 lines not on this page · raw message

doc/guides/contributing/patches.rst +3 -3
index d21ee288b2..8ad6b6e715 100644
@@ -160,9 +160,9 @@ Make your planned changes in the cloned ``dpdk`` repo. Here are some guidelines
 
   * For other PMDs and more info, refer to the ``MAINTAINERS`` file.
 
-* New external functions should be added to the local ``version.map`` file. See
-  the :doc:`ABI policy <abi_policy>` and :ref:`ABI versioning <abi_versioning>`
-  guides. New external functions should also be added in alphabetical order.
+* New external functions should be exported.
+  See the :doc:`ABI policy <abi_policy>` and :ref:`ABI versioning <abi_versioning>`
+  guides.
 
 * Any new API function should be used in ``/app`` test directory.
 
drivers/meson.build +20 -54

96 lines not on this page · raw message

lib/meson.build +19 -54

96 lines not on this page · raw message

Signature · 1 line
2.48.1
Acked-by on v6 6/8
#82 lore raw

Re: [PATCH v6 6/8] build: use dynamically generated version maps

Quoted 7 lines · David Marchand

Switch to dynamically generated version maps.

As the map files get generated, tooling around checking, converting, updating etc.. static version maps can be removed.

---

Ugh. replied to the wrong one. Anyway, my previous note still applies.

Quoted 1,487 lines
 .github/workflows/build.yml                   |   1 -
 MAINTAINERS                                   |   7 -
 buildtools/check-symbols.sh                   |  33 +-
 buildtools/map-list-symbol.sh                 |   7 +-
 buildtools/map_to_win.py                      |  41 ---
 buildtools/meson.build                        |   1 -
 devtools/check-symbol-change.sh               | 186 -----------
 devtools/check-symbol-maps.sh                 | 101 ------
 devtools/checkpatches.sh                      |   2 +-
 devtools/update-abi.sh                        |  46 ---
 devtools/update_version_map_abi.py            | 210 ------------
 doc/guides/contributing/abi_policy.rst        |  21 +-
 doc/guides/contributing/coding_style.rst      |   7 -
 .../contributing/img/patch_cheatsheet.svg     | 303 ++++++++----------
 doc/guides/contributing/patches.rst           |   6 +-
 drivers/meson.build                           |  74 ++---
 lib/meson.build                               |  73 ++---
 17 files changed, 188 insertions(+), 931 deletions(-)
 delete mode 100644 buildtools/map_to_win.py
 delete mode 100755 devtools/check-symbol-change.sh
 delete mode 100755 devtools/check-symbol-maps.sh
 delete mode 100755 devtools/update-abi.sh
 delete mode 100755 devtools/update_version_map_abi.py
.github/workflows/build.yml +0 -1
index 0cc4d12b0b..7a6b679fe5 100644
@@ -31,7 +31,6 @@ jobs:
         failed=
         devtools/check-doc-vs-code.sh upstream/${{ env.REF_GIT_BRANCH }} || failed=true
         devtools/check-meson.py || failed=true
-        devtools/check-symbol-maps.sh || failed=true
         [ -z "$failed" ]
   ubuntu-vm-builds:
     name: ${{ join(matrix.config.*, '-') }}
MAINTAINERS +0 -7
index 42ea07854b..480972ef1e 100644
@@ -88,7 +88,6 @@ M: Thomas Monjalon <[email protected]>
 F: MAINTAINERS
 F: devtools/build-dict.sh
 F: devtools/check-abi.sh
-F: devtools/check-abi-version.sh
 F: devtools/check-doc-vs-code.sh
 F: devtools/check-dup-includes.sh
 F: devtools/check-maintainers.sh
@@ -96,17 +95,13 @@ F: devtools/check-forbidden-tokens.awk
 F: devtools/check-git-log.sh
 F: devtools/check-spdx-tag.sh
 F: devtools/check-symbol-change.py
-F: devtools/check-symbol-change.sh
-F: devtools/check-symbol-maps.sh
 F: devtools/checkpatches.sh
 F: devtools/get-maintainer.sh
 F: devtools/git-log-fixes.sh
 F: devtools/load-devel-config
 F: devtools/parse-flow-support.sh
 F: devtools/process-iwyu.py
-F: devtools/update-abi.sh
 F: devtools/update-patches.py
-F: devtools/update_version_map_abi.py
 F: devtools/libabigail.abignore
 F: devtools/words-case.txt
 F: license/
@@ -166,7 +161,6 @@ M: Tyler Retzlaff <[email protected]>
 F: lib/eal/common/
 F: lib/eal/unix/
 F: lib/eal/include/
-F: lib/eal/version.map
 F: doc/guides/prog_guide/env_abstraction_layer.rst
 F: app/test/test_alarm.c
 F: app/test/test_atomic.c
@@ -396,7 +390,6 @@ Windows support
 M: Dmitry Kozlyuk <[email protected]>
 M: Tyler Retzlaff <[email protected]>
 F: lib/eal/windows/
-F: buildtools/map_to_win.py
 F: doc/guides/windows_gsg/
 
 Windows memory allocation
buildtools/check-symbols.sh +6 -27
index b8ac24391e..0d6745ec14 100755
@@ -7,29 +7,12 @@ OBJFILE=$2
 
 ROOTDIR=$(readlink -f $(dirname $(readlink -f $0))/..)
 LIST_SYMBOL=$ROOTDIR/buildtools/map-list-symbol.sh
-CHECK_SYMBOL_MAPS=$ROOTDIR/devtools/check-symbol-maps.sh
-
-# added check for "make -C test/" usage
-if [ ! -e $MAPFILE ] || [ ! -f $OBJFILE ]
-then
-	exit 0
-fi
-
-if [ -d $MAPFILE ]
-then
-	exit 0
-fi
-
 DUMPFILE=$(mktemp -t dpdk.${0##*/}.objdump.XXXXXX)
 trap 'rm -f "$DUMPFILE"' EXIT
 objdump -t $OBJFILE >$DUMPFILE
 
 ret=0
 
-if ! $CHECK_SYMBOL_MAPS $MAPFILE; then
-	ret=1
-fi
-
 for SYM in `$LIST_SYMBOL -S EXPERIMENTAL $MAPFILE |cut -d ' ' -f 3`
 do
 	if grep -q "\.text.*[[:space:]]$SYM$" $DUMPFILE &&
@@ -37,8 +20,7 @@ do
 		$LIST_SYMBOL -s $SYM $MAPFILE | grep -q EXPERIMENTAL
 	then
 		cat >&2 <<- END_OF_MESSAGE
-		$SYM is not flagged as experimental
-		but is listed in version map
+		$SYM is not flagged as experimental but is exported as an experimental symbol
 		Please add __rte_experimental to the definition of $SYM
 		END_OF_MESSAGE
 		ret=1
@@ -53,9 +35,8 @@ for SYM in `awk '{
 do
 	$LIST_SYMBOL -S EXPERIMENTAL -s $SYM -q $MAPFILE || {
 		cat >&2 <<- END_OF_MESSAGE
-		$SYM is flagged as experimental
-		but is not listed in version map
-		Please add $SYM to the version map
+		$SYM is flagged as experimental but is not exported as an experimental symbol
+		Please add RTE_EXPORT_EXPERIMENTAL_SYMBOL to the definition of $SYM
 		END_OF_MESSAGE
 		ret=1
 	}
@@ -67,8 +48,7 @@ do
 		! grep -q "\.text\.internal.*[[:space:]]$SYM$" $DUMPFILE
 	then
 		cat >&2 <<- END_OF_MESSAGE
-		$SYM is not flagged as internal
-		but is listed in version map
+		$SYM is not flagged as internal but is exported as an internal symbol
 		Please add __rte_internal to the definition of $SYM
 		END_OF_MESSAGE
 		ret=1
@@ -83,9 +63,8 @@ for SYM in `awk '{
 do
 	$LIST_SYMBOL -S INTERNAL -s $SYM -q $MAPFILE || {
 		cat >&2 <<- END_OF_MESSAGE
-		$SYM is flagged as internal
-		but is not listed in version map
-		Please add $SYM to the version map
+		$SYM is flagged as internal but is not exported as an internal symbol
+		Please add RTE_EXPORT_INTERNAL_SYMBOL to the definition of $SYM
 		END_OF_MESSAGE
 		ret=1
 	}
buildtools/map-list-symbol.sh +1 -6
index 0829df4be5..962d5f3271 100755
@@ -42,7 +42,6 @@ for file in $@; do
 	cat "$file" |awk '
 	BEGIN {
 		current_section = "";
-		current_version = "";
 		if ("'$section'" == "all" && "'$symbol'" == "all" && "'$version'" == "") {
 			ret = 0;
 		} else {
@@ -54,15 +53,11 @@ for file in $@; do
 			current_section = $1;
 		}
 	}
-	/.*}/ { current_section = ""; current_version = ""; }
-	/^\t# added in / {
-		current_version=$4;
-	}
+	/.*}/ { current_section = ""; }
 	/^[^}].*[^:*];/ {
 		if (current_section == "") {
 			next;
 		}
-		symbol_version = current_version
 		if (/^[^}].*[^:*]; # added in /) {
 			symbol_version = $5
 		}
buildtools/map_to_win.py deleted +0 -41
deleted file mode 100644
index aa1752cacd..0000000000
@@ -1,41 +0,0 @@
-#!/usr/bin/env python3
-# SPDX-License-Identifier: BSD-3-Clause
-# Copyright(c) 2019 Intel Corporation
-
-import sys
-
-
-def is_function_line(ln):
-    return ln.startswith('\t') and ln.endswith(';\n') and ":" not in ln and "# WINDOWS_NO_EXPORT" not in ln
-
-# MinGW keeps the original .map file but replaces per_lcore* to __emutls_v.per_lcore*
-def create_mingw_map_file(input_map, output_map):
-    with open(input_map) as f_in, open(output_map, 'w') as f_out:
-        f_out.writelines([lines.replace('per_lcore', '__emutls_v.per_lcore') for lines in f_in.readlines()])
-
-def main(args):
-    if not args[1].endswith('version.map') or \
-            not args[2].endswith('exports.def') and \
-            not args[2].endswith('mingw.map'):
-        return 1
-
-    if args[2].endswith('mingw.map'):
-        create_mingw_map_file(args[1], args[2])
-        return 0
-
-# generate def file from map file.
-# This works taking indented lines only which end with a ";" and which don't
-# have a colon in them, i.e. the lines defining functions only.
-    else:
-        with open(args[1]) as f_in:
-            functions = [ln[:-2] + '\n' for ln in sorted(f_in.readlines())
-                         if is_function_line(ln)]
-            functions = ["EXPORTS\n"] + functions
-
-    with open(args[2], 'w') as f_out:
-        f_out.writelines(functions)
-    return 0
-
-
-if __name__ == "__main__":
-    sys.exit(main(sys.argv))
buildtools/meson.build +0 -1
index b745e9afa4..1cd1ce02fd 100644
@@ -18,7 +18,6 @@ endif
 echo = py3 + ['-c', 'import sys; print(*sys.argv[1:])']
 gen_version_map = py3 + files('gen-version-map.py')
 list_dir_globs = py3 + files('list-dir-globs.py')
-map_to_win_cmd = py3 + files('map_to_win.py')
 sphinx_wrapper = py3 + files('call-sphinx-build.py')
 get_cpu_count_cmd = py3 + files('get-cpu-count.py')
 get_numa_count_cmd = py3 + files('get-numa-count.py')
devtools/check-symbol-change.sh deleted +0 -186
deleted file mode 100755
index 8992214ac8..0000000000
@@ -1,186 +0,0 @@
-#!/bin/sh
-# SPDX-License-Identifier: BSD-3-Clause
-# Copyright(c) 2018 Neil Horman <[email protected]>
-
-build_map_changes()
-{
-	local fname="$1"
-	local mapdb="$2"
-
-	cat "$fname" | awk '
-		# Initialize our variables
-		BEGIN {map="";sym="";ar="";sec=""; in_sec=0; in_map=0}
-
-		# Anything that starts with + or -, followed by an a
-		# and ends in the string .map is the name of our map file
-		# This may appear multiple times in a patch if multiple
-		# map files are altered, and all section/symbol names
-		# appearing between a triggering of this rule and the
-		# next trigger of this rule are associated with this file
-		/[-+] [ab]\/.*\.map/ {map=$2; in_map=1; next}
-
-		# The previous rule catches all .map files, anything else
-		# indicates we left the map chunk.
-		/[-+] [ab]\// {in_map=0}
-
-		# Triggering this rule, which starts a line and ends it
-		# with a { identifies a versioned section.  The section name is
-		# the rest of the line with the + and { symbols removed.
-		# Triggering this rule sets in_sec to 1, which actives the
-		# symbol rule below
-		/^.*{/ {
-			gsub("+", "");
-			if (in_map == 1) {
-				sec=$(NF-1); in_sec=1;
-			}
-		}
-
-		# This rule identifies the end of a section, and disables the
-		# symbol rule
-		/.*}/ {in_sec=0}
-
-		# This rule matches on a + followed by any characters except a :
-		# (which denotes a global vs local segment), and ends with a ;.
-		# The semicolon is removed and the symbol is printed with its
-		# association file name and version section, along with an
-		# indicator that the symbol is a new addition.  Note this rule
-		# only works if we have found a version section in the rule
-		# above (hence the in_sec check) And found a map file (the
-		# in_map check).  If we are not in a map chunk, do nothing.  If
-		# we are in a map chunk but not a section chunk, record it as
-		# unknown.
-		/^+[^}].*[^:*];/ {gsub(";","");sym=$2;
-			if (in_map == 1) {
-				if (in_sec == 1) {
-					print map " " sym " " sec " add"
-				} else {
-					print map " " sym " unknown add"
-				}
-			}
-		}
-
-		# This is the same rule as above, but the rule matches on a
-		# leading - rather than a +, denoting that the symbol is being
-		# removed.
-		/^-[^}].*[^:*];/ {gsub(";","");sym=$2;
-			if (in_map == 1) {
-				if (in_sec == 1) {
-					print map " " sym " " sec " del"
-				} else {
-					print map " " sym " unknown del"
-				}
-			}
-		}' > "$mapdb"
-
-		sort -u "$mapdb" > "$mapdb.2"
-		mv -f "$mapdb.2" "$mapdb"
-
-}
-
-is_stable_section() {
-	[ "$1" != 'EXPERIMENTAL' ] && [ "$1" != 'INTERNAL' ]
-}
-
-check_for_rule_violations()
-{
-	local mapdb="$1"
-	local mname
-	local symname
-	local secname
-	local ar
-	local ret=0
-
-	while read mname symname secname ar
-	do
-		if [ "$ar" = "add" ]
-		then
-
-			if [ "$secname" = "unknown" ]
-			then
-				# Just inform the user of this occurrence, but
-				# don't flag it as an error
-				echo -n "INFO: symbol $symname is added but "
-				echo -n "patch has insufficient context "
-				echo -n "to determine the section name "
-				echo -n "please ensure the version is "
-				echo "EXPERIMENTAL"
-				continue
-			fi
-
-			oldsecname=$(sed -n \
-			"s#$mname $symname \(.*\) del#\1#p" "$mapdb")
-
-			# A symbol can not enter a stable section directly
-			if [ -z "$oldsecname" ]
-			then
-				if ! is_stable_section $secname
-				then
-					echo -n "INFO: symbol $symname has "
-					echo -n "been added to the "
-					echo -n "$secname section of the "
-					echo "version map"
-					continue
-				else
-					echo -n "ERROR: symbol $symname "
-					echo -n "is added in the $secname "
-					echo -n "section, but is expected to "
-					echo -n "be added in the EXPERIMENTAL "
-					echo "section of the version map"
-					ret=1
-					continue
-				fi
-			fi
-
-			# This symbol is moving inside a section, nothing to do
-			if [ "$oldsecname" = "$secname" ]
-			then
-				continue
-			fi
-
-			# This symbol is moving between two sections (the
-			# original section is a stable section).
-			# This can be legit, just warn.
-			if is_stable_section $oldsecname
-			then
-				echo -n "INFO: symbol $symname is being "
-				echo -n "moved from $oldsecname to $secname. "
-				echo -n "Ensure that it has gone through the "
-				echo "deprecation process"
-				continue
-			fi
-		else
-
-			if ! grep -q "$mname $symname .* add" "$mapdb" && \
-			   is_stable_section $secname
-			then
-				# Just inform users that stable
-				# symbols need to go through a deprecation
-				# process
-				echo -n "INFO: symbol $symname is being "
-				echo -n "removed, ensure that it has "
-				echo "gone through the deprecation process"
-			fi
-		fi
-	done < "$mapdb"
-
-	return $ret
-}
-
-trap clean_and_exit_on_sig EXIT
-
-mapfile=`mktemp -t dpdk.mapdb.XXXXXX`
-patch=$1
-exit_code=1
-
-clean_and_exit_on_sig()
-{
-	rm -f "$mapfile"
-	exit $exit_code
-}
-
-build_map_changes "$patch" "$mapfile"
-check_for_rule_violations "$mapfile"
-exit_code=$?
-rm -f "$mapfile"
-
-exit $exit_code
devtools/check-symbol-maps.sh deleted +0 -101
deleted file mode 100755
index fcd3931e5d..0000000000
@@ -1,101 +0,0 @@
-#! /bin/sh -e
-# SPDX-License-Identifier: BSD-3-Clause
-# Copyright 2018 Mellanox Technologies, Ltd
-
-cd $(dirname $0)/..
-
-# speed up by ignoring Unicode details
-export LC_ALL=C
-
-if [ $# = 0 ] ; then
-    set -- $(find lib drivers -name '*.map' -a ! -path drivers/version.map)
-fi
-
-ret=0
-
-find_orphan_symbols ()
-{
-    for map in $@ ; do
-        for sym in $(sed -rn 's,^([^}]*_.*);.*$,\1,p' $map) ; do
-            if echo $sym | grep -q '^per_lcore_' ; then
-                symsrc=${sym#per_lcore_}
-            elif echo $sym | grep -q '^__rte_.*_trace_' ; then
-                symsrc=${sym#__}
-            else
-                symsrc=$sym
-            fi
-            if [ -z "$(grep -rlw $symsrc $(dirname $map) | grep -v $map)" ] ; then
-                echo "$map: $sym"
-            fi
-        done
-    done
-}
-
-orphan_symbols=$(find_orphan_symbols $@)
-if [ -n "$orphan_symbols" ] ; then
-    echo "Found only in symbol map file:"
-    echo "$orphan_symbols" | sed 's,^,\t,'
-    ret=1
-fi
-
-find_duplicate_symbols ()
-{
-    for map in $@ ; do
-        buildtools/map-list-symbol.sh $map | \
-            sort | uniq -c | grep -v " 1 $map" || true
-    done
-}
-
-duplicate_symbols=$(find_duplicate_symbols $@)
-if [ -n "$duplicate_symbols" ] ; then
-    echo "Found duplicates in symbol map file:"
-    echo "$duplicate_symbols"
-    ret=1
-fi
-
-local_miss_maps=$(grep -L 'local: \*;' $@ || true)
-if [ -n "$local_miss_maps" ] ; then
-    echo "Found maps without local catch-all:"
-    echo "$local_miss_maps"
-    ret=1
-fi
-
-find_bad_format_maps ()
-{
-    abi_version=$(cut -d'.' -f 1 ABI_VERSION)
-    next_abi_version=$((abi_version + 1))
-    for map in $@ ; do
-        cat $map | awk '
-            /^(DPDK_('$abi_version'|'$next_abi_version')|EXPERIMENTAL|INTERNAL) \{$/ { next; } # start of a section
-            /^}( DPDK_'$abi_version')?;$/ { next; } # end of a section
-            /^$/ { next; } # empty line
-            /^\t(global:|local: \*;)$/ { next; } # qualifiers
-            /^\t[a-zA-Z_0-9]*;( # WINDOWS_NO_EXPORT)?$/ { next; } # symbols
-            /^\t# added in [0-9]*\.[0-9]*$/ { next; } # version comments
-            { print $0; }' || echo $map
-    done
-}
-
-bad_format_maps=$(find_bad_format_maps $@)
-if [ -n "$bad_format_maps" ] ; then
-    echo "Found badly formatted maps:"
-    echo "$bad_format_maps"
-    ret=1
-fi
-
-find_non_versioned_maps ()
-{
-    for map in $@ ; do
-        [ $(buildtools/map-list-symbol.sh -S EXPERIMENTAL -V unset $map | wc -l) = '0' ] ||
-            echo $map
-    done
-}
-
-non_versioned_maps=$(find_non_versioned_maps $@)
-if [ -n "$non_versioned_maps" ] ; then
-    echo "Found non versioned maps:"
-    echo "$non_versioned_maps"
-    ret=1
-fi
-
-exit $ret
devtools/checkpatches.sh +1 -1
index 9180c2b070..c111b0fef3 100755
@@ -9,7 +9,7 @@
 # - DPDK_CHECKPATCH_OPTIONS
 . $(dirname $(readlink -f $0))/load-devel-config
 
-VALIDATE_NEW_API=$(dirname $(readlink -f $0))/check-symbol-change.sh
+VALIDATE_NEW_API=$(dirname $(readlink -f $0))/check-symbol-change.py
 
 # Enable codespell by default. This can be overwritten from a config file.
 # Codespell can also be enabled by setting DPDK_CHECKPATCH_CODESPELL to a valid path
devtools/update-abi.sh deleted +0 -46
deleted file mode 100755
index 45437f3c3b..0000000000
@@ -1,46 +0,0 @@
-#!/bin/sh -e
-# SPDX-License-Identifier: BSD-3-Clause
-# Copyright(c) 2019 Intel Corporation
-
-abi_version=$1
-abi_version_file="./ABI_VERSION"
-update_path="lib drivers"
-
-# check ABI version format string
-check_abi_version() {
-      echo $1 | grep -q -e "^[[:digit:]]\{1,2\}\.[[:digit:]]\{1,2\}$"
-}
-
-if [ -z "$1" ]; then
-      # output to stderr
-      >&2 echo "Please provide ABI version"
-      exit 1
-fi
-
-# check version string format
-if ! check_abi_version $abi_version ; then
-      # output to stderr
-      >&2 echo "ABI version must be formatted as MAJOR.MINOR version"
-      exit 1
-fi
-
-if [ -n "$2" ]; then
-      abi_version_file=$2
-fi
-
-if [ -n "$3" ]; then
-      # drop $1 and $2
-      shift 2
-      # assign all other arguments as update paths
-      update_path=$@
-fi
-
-echo "New ABI version:" $abi_version
-echo "ABI_VERSION path:" $abi_version_file
-echo "Path to update:" $update_path
-
-echo $abi_version > $abi_version_file
-
-find $update_path -name version.map -exec \
-      devtools/update_version_map_abi.py {} \
-      $abi_version \; -print
devtools/update_version_map_abi.py deleted +0 -210
deleted file mode 100755
index d17b02a327..0000000000
@@ -1,210 +0,0 @@
-#!/usr/bin/env python3
-# SPDX-License-Identifier: BSD-3-Clause
-# Copyright(c) 2019 Intel Corporation
-
-"""
-A Python program that updates and merges all available stable ABI versions into
-one ABI version, while leaving experimental ABI exactly as it is. The intended
-ABI version is supplied via command-line parameter. This script is to be called
-from the devtools/update-abi.sh utility.
-"""
-
-import argparse
-import sys
-import re
-
-
-def __parse_map_file(f_in):
-    # match function name, followed by semicolon, followed by EOL or comments,
-    # optionally with whitespace in between each item
-    func_line_regex = re.compile(r"\s*"
-                                 r"(?P<line>"
-                                 r"(?P<func>[a-zA-Z_0-9]+)"
-                                 r"\s*"
-                                 r";"
-                                 r"\s*"
-                                 r"(?P<comment>#.+)?"
-                                 r")"
-                                 r"\s*"
-                                 r"$")
-    # match section name, followed by opening bracked, followed by EOL,
-    # optionally with whitespace in between each item
-    section_begin_regex = re.compile(r"\s*"
-                                     r"(?P<version>[a-zA-Z0-9_\.]+)"
-                                     r"\s*"
-                                     r"{"
-                                     r"\s*"
-                                     r"$")
-    # match closing bracket, optionally followed by section name (for when we
-    # inherit from another ABI version), followed by semicolon, followed by
-    # EOL, optionally with whitespace in between each item
-    section_end_regex = re.compile(r"\s*"
-                                   r"}"
-                                   r"\s*"
-                                   r"(?P<parent>[a-zA-Z0-9_\.]+)?"
-                                   r"\s*"
-                                   r";"
-                                   r"\s*"
-                                   r"$")
-
-    # for stable ABI, we don't care about which version introduced which
-    # function, we just flatten the list. there are dupes in certain files, so
-    # use a set instead of a list
-    stable_lines = set()
-    # copy experimental section as is
-    experimental_lines = []
-    # copy internal section as is
-    internal_lines = []
-    in_experimental = False
-    in_internal = False
-    has_stable = False
-
-    # gather all functions
-    for line in f_in:
-        # clean up the line
-        line = line.strip('\n').strip()
-
-        # is this an end of section?
-        match = section_end_regex.match(line)
-        if match:
-            # whatever section this was, it's not active any more
-            in_experimental = False
-            in_internal = False
-            continue
-
-        # if we're in the middle of experimental section, we need to copy
-        # the section verbatim, so just add the line
-        if in_experimental:
-            experimental_lines += [line]
-            continue
-
-        # if we're in the middle of internal section, we need to copy
-        # the section verbatim, so just add the line
-        if in_internal:
-            internal_lines += [line]
-            continue
-
-        # skip empty lines
-        if not line:
-            continue
-
-        # is this a beginning of a new section?
-        match = section_begin_regex.match(line)
-        if match:
-            cur_section = match.group("version")
-            # is it experimental?
-            in_experimental = cur_section == "EXPERIMENTAL"
-            # is it internal?
-            in_internal = cur_section == "INTERNAL"
-            if not in_experimental and not in_internal:
-                has_stable = True
-            continue
-
-        # is this a function?
-        match = func_line_regex.match(line)
-        if match:
-            stable_lines.add(match.group("line"))
-
-    return has_stable, stable_lines, experimental_lines, internal_lines
-
-
-def __generate_stable_abi(f_out, abi_major, lines):
-    # print ABI version header
-    print("DPDK_{} {{".format(abi_major), file=f_out)
-
-    # print global section if it exists
-    if lines:
-        print("\tglobal:", file=f_out)
-        # blank line
-        print(file=f_out)
-
-        # print all stable lines, alphabetically sorted
-        for line in sorted(lines):
-            print("\t{}".format(line), file=f_out)
-
-        # another blank line
-        print(file=f_out)
-
-    # print local section
-    print("\tlocal: *;", file=f_out)
-
-    # end stable version
-    print("};", file=f_out)
-
-
-def __generate_experimental_abi(f_out, lines):
-    # start experimental section
-    print("EXPERIMENTAL {", file=f_out)
-
-    # print all experimental lines as they were
-    for line in lines:
-        # don't print empty whitespace
-        if not line:
-            print("", file=f_out)
-        else:
-            print("\t{}".format(line), file=f_out)
-
-    # end section
-    print("};", file=f_out)
-
-def __generate_internal_abi(f_out, lines):
-    # start internal section
-    print("INTERNAL {", file=f_out)
-
-    # print all internal lines as they were
-    for line in lines:
-        # don't print empty whitespace
-        if not line:
-            print("", file=f_out)
-        else:
-            print("\t{}".format(line), file=f_out)
-
-    # end section
-    print("};", file=f_out)
-
-def __main():
-    arg_parser = argparse.ArgumentParser(
-        description='Merge versions in linker version script.')
-
-    arg_parser.add_argument("map_file", type=str,
-                            help='path to linker version script file '
-                                 '(pattern: version.map)')
-    arg_parser.add_argument("abi_version", type=str,
-                            help='target ABI version (pattern: MAJOR.MINOR)')
-
-    parsed = arg_parser.parse_args()
-
-    if not parsed.map_file.endswith('version.map'):
-        print("Invalid input file: {}".format(parsed.map_file),
-              file=sys.stderr)
-        arg_parser.print_help()
-        sys.exit(1)
-
-    if not re.match(r"\d{1,2}\.\d{1,2}", parsed.abi_version):
-        print("Invalid ABI version: {}".format(parsed.abi_version),
-              file=sys.stderr)
-        arg_parser.print_help()
-        sys.exit(1)
-    abi_major = parsed.abi_version.split('.')[0]
-
-    with open(parsed.map_file) as f_in:
-        has_stable, stable_lines, experimental_lines, internal_lines = __parse_map_file(f_in)
-
-    with open(parsed.map_file, 'w') as f_out:
-        need_newline = has_stable and experimental_lines
-        if has_stable:
-            __generate_stable_abi(f_out, abi_major, stable_lines)
-        if need_newline:
-            # separate sections with a newline
-            print(file=f_out)
-        if experimental_lines:
-            __generate_experimental_abi(f_out, experimental_lines)
-        if internal_lines:
-            if has_stable or experimental_lines:
-              # separate sections with a newline
-              print(file=f_out)
-            __generate_internal_abi(f_out, internal_lines)
-
-
-if __name__ == "__main__":
-    __main()
doc/guides/contributing/abi_policy.rst +2 -19
index d96153c6b2..f03a7467ac 100644
@@ -330,31 +330,14 @@ become part of a tracked ABI version.
 
 Note that marking an API as experimental is a multi step process.
 To mark an API as experimental, the symbols which are desired to be exported
-must be placed in an EXPERIMENTAL version block in the corresponding libraries'
-version map script.
+must be annotated with a RTE_EXPORT_EXPERIMENTAL_SYMBOL call in the corresponding libraries'
+sources.
 Experimental symbols must be commented so that it is clear in which DPDK
 version they were introduced.
 
-.. code-block:: none
-
-   EXPERIMENTAL {
-           global:
-
-           # added in 20.11
-           rte_foo_init;
-           rte_foo_configure;
-
-           # added in 21.02
-           rte_foo_cleanup;
-   ...
-
 Secondly, the corresponding prototypes of those exported functions (in the
 development header files), must be marked with the ``__rte_experimental`` tag
 (see ``rte_compat.h``).
-The DPDK build makefiles perform a check to ensure that the map file and the
-C code reflect the same list of symbols.
-This check can be circumvented by defining ``ALLOW_EXPERIMENTAL_API``
-during compilation in the corresponding library Makefile.
 
 In addition to tagging the code with ``__rte_experimental``,
 the doxygen markup must also contain the EXPERIMENTAL string,
doc/guides/contributing/coding_style.rst +0 -7
index 1ebc79ca3c..43e27bbd0a 100644
@@ -1018,13 +1018,6 @@ name
 	sources are stored in a directory ``lib/xyz``, this value should
 	never be needed for new libraries.
 
-.. note::
-
-	The name value also provides the name used to find the function version
-	map file, as part of the build process, so if the directory name and
-	library names differ, the ``version.map`` file should be named
-	consistently with the library, not the directory
-
 objs
 	**Default Value = []**.
 	This variable can be used to pass to the library build some pre-built
doc/guides/contributing/img/patch_cheatsheet.svg +136 -167
index 4debb07b98..a06d8a2a3b 100644
@@ -1,18 +1,18 @@
 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
 <svg
-   xmlns:dc="http://purl.org/dc/elements/1.1/"
-   xmlns:cc="http://creativecommons.org/ns#"
-   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
-   xmlns:svg="http://www.w3.org/2000/svg"
-   xmlns="http://www.w3.org/2000/svg"
-   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
-   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
    version="1.1"
    width="210mm"
    height="297mm"
    id="svg2985"
-   inkscape:version="1.0.1 (3bc2e813f5, 2020-09-07)"
-   sodipodi:docname="patch_cheatsheet.svg">
+   inkscape:version="1.4 (e7c3feb100, 2024-10-09)"
+   sodipodi:docname="patch_cheatsheet.svg"
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+   xmlns="http://www.w3.org/2000/svg"
+   xmlns:svg="http://www.w3.org/2000/svg"
+   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+   xmlns:cc="http://creativecommons.org/ns#"
+   xmlns:dc="http://purl.org/dc/elements/1.1/">
   <sodipodi:namedview
      pagecolor="#ffffff"
      bordercolor="#666666"
@@ -23,18 +23,22 @@
      inkscape:pageopacity="0"
      inkscape:pageshadow="2"
      inkscape:window-width="1920"
-     inkscape:window-height="1017"
+     inkscape:window-height="975"
      id="namedview274"
      showgrid="false"
      inkscape:zoom="0.89702958"
-     inkscape:cx="246.07409"
-     inkscape:cy="416.76022"
-     inkscape:window-x="1072"
-     inkscape:window-y="-8"
+     inkscape:cx="546.24732"
+     inkscape:cy="385.71749"
+     inkscape:window-x="0"
+     inkscape:window-y="0"
      inkscape:window-maximized="1"
      inkscape:current-layer="layer1"
      inkscape:document-rotation="0"
-     inkscape:snap-grids="false" />
+     inkscape:snap-grids="false"
+     inkscape:showpageshadow="2"
+     inkscape:pagecheckerboard="0"
+     inkscape:deskcolor="#d1d1d1"
+     inkscape:document-units="mm" />
   <defs
      id="defs3">
     <linearGradient
@@ -906,7 +910,7 @@
              style="font-style:normal;font-variant:normal;font-weight:300;font-stretch:normal;font-size:11.5613px;line-height:125%;font-family:monospace;-inkscape-font-specification:'Monospace Bold';text-align:start;writing-mode:lr-tb;text-anchor:start"
              id="tspan4092-8-7-6-9-7"
              y="855.79816"
-             x="460.18405">****</tspan></text>
+             x="460.18405">***</tspan></text>
       </g>
     </g>
     <text
@@ -1132,161 +1136,126 @@
            id="tspan4092-8-6-3-1-8-4-4-55-7"
            style="font-style:normal;font-variant:normal;font-weight:300;font-stretch:normal;font-size:13px;line-height:125%;font-family:monospace;-inkscape-font-specification:'Monospace Bold';text-align:start;writing-mode:lr-tb;text-anchor:start">*</tspan></text>
     </g>
+    <text
+       x="424.10629"
+       y="363.21423"
+       id="text4090-8"
+       xml:space="preserve"
+       style="font-style:normal;font-weight:normal;font-size:40.4213px;line-height:0%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1.01053"
+       transform="scale(1.0105317,0.98957807)"><tspan
+         x="424.10629"
+         y="363.21423"
+         id="tspan4092-8"
+         style="font-style:normal;font-variant:normal;font-weight:300;font-stretch:normal;font-size:21.2212px;line-height:125%;font-family:monospace;-inkscape-font-specification:'Monospace Bold';text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:1.01053">+ Rebase to git  </tspan></text>
+    <text
+       x="424.10629"
+       y="393.60123"
+       id="text4090-8-5"
+       xml:space="preserve"
+       style="font-style:normal;font-weight:normal;font-size:40.4213px;line-height:0%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1.01053"
+       transform="scale(1.0105317,0.98957807)"><tspan
+         x="424.10629"
+         y="393.60123"
+         id="tspan4092-8-5"
+         style="font-style:normal;font-variant:normal;font-weight:300;font-stretch:normal;font-size:21.2212px;line-height:125%;font-family:monospace;-inkscape-font-specification:'Monospace Bold';text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:1.01053">+ Checkpatch </tspan></text>
+    <text
+       x="424.10629"
+       y="424.20575"
+       id="text4090-8-5-6"
+       xml:space="preserve"
+       style="font-style:normal;font-weight:normal;font-size:40.4213px;line-height:0%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1.01053"
+       transform="scale(1.0105317,0.98957807)"><tspan
+         x="424.10629"
+         y="424.20575"
+         id="tspan4092-8-5-5"
+         style="font-style:normal;font-variant:normal;font-weight:300;font-stretch:normal;font-size:21.2212px;line-height:125%;font-family:monospace;-inkscape-font-specification:'Monospace Bold';text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:1.01053">+ ABI breakage </tspan></text>
+    <text
+       x="424.10629"
+       y="453.10339"
+       id="text4090-8-5-6-9-4"
+       xml:space="preserve"
+       style="font-style:normal;font-weight:normal;font-size:40.4213px;line-height:0%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1.01053"
+       transform="scale(1.0105317,0.98957807)"><tspan
+         x="424.10629"
+         y="453.10339"
+         id="tspan4092-8-5-5-3-4"
+         style="font-style:normal;font-variant:normal;font-weight:300;font-stretch:normal;font-size:21.2212px;line-height:125%;font-family:monospace;-inkscape-font-specification:'Monospace Bold';text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:1.01053">+ Maintainers file</tspan></text>
+    <text
+       x="424.10629"
+       y="514.09497"
+       id="text4090-8-5-6-9-4-6"
+       xml:space="preserve"
+       style="font-style:normal;font-weight:normal;font-size:40.4213px;line-height:0%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1.01053"
+       transform="scale(1.0105317,0.98957807)"><tspan
+         x="424.10629"
+         y="514.09497"
+         id="tspan4092-8-5-5-3-4-0"
+         style="font-style:normal;font-variant:normal;font-weight:300;font-stretch:normal;font-size:21.2212px;line-height:125%;font-family:monospace;-inkscape-font-specification:'Monospace Bold';text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:1.01053">+ Release notes</tspan></text>
+    <text
+       x="425.12708"
+       y="544.91718"
+       id="text4090-8-5-6-9-4-6-6"
+       xml:space="preserve"
+       style="font-style:normal;font-weight:normal;font-size:40.4213px;line-height:0%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1.01053"
+       transform="scale(1.0105317,0.98957807)"><tspan
+         x="425.12708"
+         y="544.91718"
+         id="tspan4092-8-5-5-3-4-0-6"
+         style="font-style:normal;font-variant:normal;font-weight:300;font-stretch:normal;font-size:21.2212px;line-height:125%;font-family:monospace;-inkscape-font-specification:'Monospace Bold';text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:1.01053">+ Documentation</tspan></text>
     <g
-       transform="translate(1.0962334,-2.7492248)"
-       id="g3605">
-      <text
-         x="42.176418"
-         y="1020.4383"
-         id="text4090-8-7-8-7-6-3-8-4"
-         xml:space="preserve"
-         style="font-style:normal;font-variant:normal;font-weight:300;font-stretch:normal;font-size:13px;line-height:0%;font-family:monospace;-inkscape-font-specification:'Monospace Bold';text-align:start;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none"><tspan
-           x="42.176418"
-           y="1020.4383"
-           id="tspan4092-8-6-3-1-8-4-4-55"
-           style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:125%;font-family:monospace;-inkscape-font-specification:Monospace;text-align:start;writing-mode:lr-tb;text-anchor:start">The version.map function names must be in alphabetical order.</tspan></text>
-      <text
-         x="30.942892"
-         y="1024.2014"
-         id="text4090-8-7-8-7-6-3-8-4-1-5"
-         xml:space="preserve"
-         style="font-style:normal;font-variant:normal;font-weight:300;font-stretch:normal;font-size:13px;line-height:0%;font-family:monospace;-inkscape-font-specification:'Monospace Bold';text-align:start;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none"><tspan
-           x="30.942892"
-           y="1024.2014"
-           id="tspan4092-8-6-3-1-8-4-4-55-7-2"
-           style="font-style:normal;font-variant:normal;font-weight:300;font-stretch:normal;font-size:13px;line-height:125%;font-family:monospace;-inkscape-font-specification:'Monospace Bold';text-align:start;writing-mode:lr-tb;text-anchor:start">*</tspan></text>
-      <text
-         x="25.247679"
-         y="1024.2014"
-         id="text4090-8-7-8-7-6-3-8-4-1-5-6"
-         xml:space="preserve"
-         style="font-style:normal;font-variant:normal;font-weight:300;font-stretch:normal;font-size:13px;line-height:0%;font-family:monospace;-inkscape-font-specification:'Monospace Bold';text-align:start;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none"><tspan
-           x="25.247679"
-           y="1024.2014"
-           id="tspan4092-8-6-3-1-8-4-4-55-7-2-8"
-           style="font-style:normal;font-variant:normal;font-weight:300;font-stretch:normal;font-size:13px;line-height:125%;font-family:monospace;-inkscape-font-specification:'Monospace Bold';text-align:start;writing-mode:lr-tb;text-anchor:start">*</tspan></text>
-    </g>
-    <g
-       transform="matrix(1.0211743,0,0,1,25.427515,-30.749225)"
-       id="g3275">
+       transform="matrix(1.0211743,0,0,1,25.427515,-31.583927)"
+       id="g3334">
       <g
-         id="g3341">
+         id="g3267"
+         transform="translate(-13.517932,3.1531035)">
         <text
-           x="394.78601"
-           y="390.17807"
-           id="text4090-8"
-           xml:space="preserve"
-           style="font-style:normal;font-weight:normal;font-size:40px;line-height:0%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none"><tspan
-             x="394.78601"
-             y="390.17807"
-             id="tspan4092-8"
-             style="font-style:normal;font-variant:normal;font-weight:300;font-stretch:normal;font-size:21px;line-height:125%;font-family:monospace;-inkscape-font-specification:'Monospace Bold';text-align:start;writing-mode:lr-tb;text-anchor:start">+ Rebase to git  </tspan></text>
-        <text
-           x="394.78601"
-           y="420.24835"
-           id="text4090-8-5"
+           x="660.46729"
+           y="468.01297"
+           id="text4090-8-1-8-9-1-4-1"
            xml:space="preserve"
-           style="font-style:normal;font-weight:normal;font-size:40px;line-height:0%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none"><tspan
-             x="394.78601"
-             y="420.24835"
-             id="tspan4092-8-5"
-             style="font-style:normal;font-variant:normal;font-weight:300;font-stretch:normal;font-size:21px;line-height:125%;font-family:monospace;-inkscape-font-specification:'Monospace Bold';text-align:start;writing-mode:lr-tb;text-anchor:start">+ Checkpatch </tspan></text>
-        <text
-           x="394.78601"
-           y="450.53394"
-           id="text4090-8-5-6"
-           xml:space="preserve"
-           style="font-style:normal;font-weight:normal;font-size:40px;line-height:0%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none"><tspan
-             x="394.78601"
-             y="450.53394"
-             id="tspan4092-8-5-5"
-             style="font-style:normal;font-variant:normal;font-weight:300;font-stretch:normal;font-size:21px;line-height:125%;font-family:monospace;-inkscape-font-specification:'Monospace Bold';text-align:start;writing-mode:lr-tb;text-anchor:start">+ ABI breakage </tspan></text>
-        <text
+           style="font-style:normal;font-weight:normal;font-size:25.6917px;line-height:0%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none"><tspan
+             x="660.46729"
+             y="468.01297"
+             id="tspan4092-8-7-6-9-7-0-7"
+             style="font-style:normal;font-variant:normal;font-weight:300;font-stretch:normal;font-size:11.5613px;line-height:125%;font-family:monospace;-inkscape-font-specification:'Monospace Bold';text-align:start;writing-mode:lr-tb;text-anchor:start" /></text>
+      </g>
+      <text
+         x="394.78601"
+         y="483.59955"
+         id="text4090-8-5-6-9"
+         xml:space="preserve"
+         style="font-style:normal;font-weight:normal;font-size:40px;line-height:0%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none"><tspan
            x="394.78601"
-           y="513.13031"
-           id="text4090-8-5-6-9-4"
-           xml:space="preserve"
-           style="font-style:normal;font-weight:normal;font-size:40px;line-height:0%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none"><tspan
-             x="394.78601"
-             y="513.13031"
-             id="tspan4092-8-5-5-3-4"
-             style="font-style:normal;font-variant:normal;font-weight:300;font-stretch:normal;font-size:21px;line-height:125%;font-family:monospace;-inkscape-font-specification:'Monospace Bold';text-align:start;writing-mode:lr-tb;text-anchor:start">+ Maintainers file</tspan></text>
-        <text
+           y="483.59955"
+           id="tspan4092-8-5-5-3"
+           style="font-style:normal;font-variant:normal;font-weight:300;font-stretch:normal;font-size:21px;line-height:125%;font-family:monospace;-inkscape-font-specification:'Monospace Bold';text-align:start;writing-mode:lr-tb;text-anchor:start" /></text>
+    </g>
+    <g
+       id="g3428"
+       transform="matrix(1.0211743,0,0,1,25.427515,-63.867847)">
+      <text
+         x="394.78601"
+         y="541.38928"
+         id="text4090-8-5-6-9-4-6-1"
+         xml:space="preserve"
+         style="font-style:normal;font-weight:normal;font-size:40px;line-height:0%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none"><tspan
            x="394.78601"
-           y="573.48621"
-           id="text4090-8-5-6-9-4-6"
-           xml:space="preserve"
-           style="font-style:normal;font-weight:normal;font-size:40px;line-height:0%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none"><tspan
-             x="394.78601"
-             y="573.48621"
-             id="tspan4092-8-5-5-3-4-0"
-             style="font-style:normal;font-variant:normal;font-weight:300;font-stretch:normal;font-size:21px;line-height:125%;font-family:monospace;-inkscape-font-specification:'Monospace Bold';text-align:start;writing-mode:lr-tb;text-anchor:start">+ Release notes</tspan></text>
+           y="541.38928"
+           id="tspan4092-8-5-5-3-4-0-7"
+           style="font-style:normal;font-variant:normal;font-weight:300;font-stretch:normal;font-size:21px;line-height:125%;font-family:monospace;-inkscape-font-specification:'Monospace Bold';text-align:start;writing-mode:lr-tb;text-anchor:start">+ Doxygen</tspan></text>
+      <g
+         transform="translate(-119.92979,57.949844)"
+         id="g3267-9">
         <text
-           x="395.79617"
-           y="603.98718"
-           id="text4090-8-5-6-9-4-6-6"
+           x="628.93628"
+           y="473.13675"
+           id="text4090-8-1-8-9-1-4-1-4"
            xml:space="preserve"
-           style="font-style:normal;font-weight:normal;font-size:40px;line-height:0%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none"><tspan
-             x="395.79617"
-             y="603.98718"
-             id="tspan4092-8-5-5-3-4-0-6"
-             style="font-style:normal;font-variant:normal;font-weight:300;font-stretch:normal;font-size:21px;line-height:125%;font-family:monospace;-inkscape-font-specification:'Monospace Bold';text-align:start;writing-mode:lr-tb;text-anchor:start">+ Documentation</tspan></text>
-        <g
-           transform="translate(0,-0.83470152)"
-           id="g3334">
-          <g
-             id="g3267"
-             transform="translate(-13.517932,3.1531035)">
-            <text
-               x="660.46729"
-               y="468.01297"
-               id="text4090-8-1-8-9-1-4-1"
-               xml:space="preserve"
-               style="font-style:normal;font-weight:normal;font-size:25.6917px;line-height:0%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none"><tspan
-                 x="660.46729"
-                 y="468.01297"
-                 id="tspan4092-8-7-6-9-7-0-7"
-                 style="font-style:normal;font-variant:normal;font-weight:300;font-stretch:normal;font-size:11.5613px;line-height:125%;font-family:monospace;-inkscape-font-specification:'Monospace Bold';text-align:start;writing-mode:lr-tb;text-anchor:start">**</tspan></text>
-          </g>
-          <text
-             x="394.78601"
-             y="483.59955"
-             id="text4090-8-5-6-9"
-             xml:space="preserve"
-             style="font-style:normal;font-weight:normal;font-size:40px;line-height:0%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none"><tspan
-               x="394.78601"
-               y="483.59955"
-               id="tspan4092-8-5-5-3"
-               style="font-style:normal;font-variant:normal;font-weight:300;font-stretch:normal;font-size:21px;line-height:125%;font-family:monospace;-inkscape-font-specification:'Monospace Bold';text-align:start;writing-mode:lr-tb;text-anchor:start">+ Update version.map</tspan></text>
-        </g>
-        <g
-           id="g3428"
-           transform="translate(0,0.88137813)">
-          <text
-             x="394.78601"
-             y="541.38928"
-             id="text4090-8-5-6-9-4-6-1"
-             xml:space="preserve"
-             style="font-style:normal;font-weight:normal;font-size:40px;line-height:0%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none"><tspan
-               x="394.78601"
-               y="541.38928"
-               id="tspan4092-8-5-5-3-4-0-7"
-               style="font-style:normal;font-variant:normal;font-weight:300;font-stretch:normal;font-size:21px;line-height:125%;font-family:monospace;-inkscape-font-specification:'Monospace Bold';text-align:start;writing-mode:lr-tb;text-anchor:start">+ Doxygen</tspan></text>
-          <g
-             transform="translate(-119.92979,57.949844)"
-             id="g3267-9">
-            <text
-               x="628.93628"
-               y="473.13675"
-               id="text4090-8-1-8-9-1-4-1-4"
-               xml:space="preserve"
-               style="font-style:normal;font-weight:normal;font-size:25.6917px;line-height:0%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none"><tspan
-                 x="628.93628"
-                 y="473.13675"
-                 id="tspan4092-8-7-6-9-7-0-7-8"
-                 style="font-style:normal;font-variant:normal;font-weight:300;font-stretch:normal;font-size:11.5613px;line-height:125%;font-family:monospace;-inkscape-font-specification:'Monospace Bold';text-align:start;writing-mode:lr-tb;text-anchor:start">***</tspan></text>
-          </g>
-        </g>
+           style="font-style:normal;font-weight:normal;font-size:25.6917px;line-height:0%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none"><tspan
+             x="628.93628"
+             y="473.13675"
+             id="tspan4092-8-7-6-9-7-0-7-8"
+             style="font-style:normal;font-variant:normal;font-weight:300;font-stretch:normal;font-size:11.5613px;line-height:125%;font-family:monospace;-inkscape-font-specification:'Monospace Bold';text-align:start;writing-mode:lr-tb;text-anchor:start">**</tspan></text>
       </g>
     </g>
     <text
@@ -1301,7 +1270,7 @@
          id="tspan4092-8-5-5-3-4-0-6-2-11-0"
          style="font-style:normal;font-variant:normal;font-weight:300;font-stretch:normal;font-size:21px;line-height:125%;font-family:monospace;-inkscape-font-specification:'Monospace Bold';text-align:start;writing-mode:lr-tb;text-anchor:start">+</tspan></text>
     <g
-       transform="translate(1.0962334,-2.7492248)"
+       transform="translate(1.0962334,-14.749225)"
        id="g3595">
       <text
          x="30.942892"
@@ -1332,7 +1301,7 @@
            x="19.552465"
            y="1037.0271"
            id="tspan4092-8-6-3-1-8-4-4-55-7-3-9"
-           style="font-style:normal;font-variant:normal;font-weight:300;font-stretch:normal;font-size:13px;line-height:125%;font-family:monospace;-inkscape-font-specification:'Monospace Bold';text-align:start;writing-mode:lr-tb;text-anchor:start">*</tspan></text>
+           style="font-style:normal;font-variant:normal;font-weight:300;font-stretch:normal;font-size:13px;line-height:125%;font-family:monospace;-inkscape-font-specification:'Monospace Bold';text-align:start;writing-mode:lr-tb;text-anchor:start" /></text>
       <text
          x="42.830166"
          y="1033.2393"
@@ -1345,7 +1314,7 @@
            style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:125%;font-family:monospace;-inkscape-font-specification:Monospace;text-align:start;writing-mode:lr-tb;text-anchor:start">New header files must get a new page in the API docs.</tspan></text>
     </g>
     <g
-       transform="translate(1.0962334,-2.7492248)"
+       transform="translate(1.0962334,-14.749225)"
        id="g3619">
       <text
          x="42.212418"
@@ -1396,7 +1365,7 @@
            x="14.016749"
            y="1049.8527"
            id="tspan4092-8-6-3-1-8-4-4-55-7-3-9-6-5"
-           style="font-style:normal;font-variant:normal;font-weight:300;font-stretch:normal;font-size:13px;line-height:125%;font-family:monospace;-inkscape-font-specification:'Monospace Bold';text-align:start;writing-mode:lr-tb;text-anchor:start">*</tspan></text>
+           style="font-style:normal;font-variant:normal;font-weight:300;font-stretch:normal;font-size:13px;line-height:125%;font-family:monospace;-inkscape-font-specification:'Monospace Bold';text-align:start;writing-mode:lr-tb;text-anchor:start" /></text>
     </g>
     <rect
        width="196.44218"
doc/guides/contributing/patches.rst +3 -3
index d21ee288b2..8ad6b6e715 100644
@@ -160,9 +160,9 @@ Make your planned changes in the cloned ``dpdk`` repo. Here are some guidelines
 
   * For other PMDs and more info, refer to the ``MAINTAINERS`` file.
 
-* New external functions should be added to the local ``version.map`` file. See
-  the :doc:`ABI policy <abi_policy>` and :ref:`ABI versioning <abi_versioning>`
-  guides. New external functions should also be added in alphabetical order.
+* New external functions should be exported.
+  See the :doc:`ABI policy <abi_policy>` and :ref:`ABI versioning <abi_versioning>`
+  guides.
 
 * Any new API function should be used in ``/app`` test directory.
 
drivers/meson.build +20 -54
index 5368d38363..15a4991abf 100644
@@ -5,8 +5,6 @@ if is_ms_compiler
     subdir_done()
 endif
 
-fs = import('fs')
-
 # Defines the order of dependencies evaluation
 subdirs = [
         'common',
@@ -290,57 +288,25 @@ foreach subpath:subdirs
                 install: true)
 
         # now build the shared driver
-        version_map = '@0@/@1@/version.map'.format(meson.current_source_dir(), drv_path)
-
-        if not fs.is_file(version_map)
-            if is_ms_linker
-                link_mode = 'mslinker'
-            elif is_windows
-                link_mode = 'mingw'
-            else
-                link_mode = 'gnu'
-            endif
-            version_map = custom_target(lib_name + '_map',
-                    command: [gen_version_map, link_mode, abi_version_file, '@OUTPUT@', '@INPUT@'],
-                    input: sources + sources_avx2 + sources_avx512,
-                    output: '_'.join([class, name, 'exports.map']))
-            version_map_path = version_map.full_path()
-            version_map_dep = [version_map]
-            lk_deps = [version_map]
-
-            if is_ms_linker and is_ms_compiler
-                lk_args = ['/def:' + version_map.full_path()]
-            elif is_ms_linker
-                lk_args = ['-Wl,/def:' + version_map.full_path()]
-            else
-                lk_args = ['-Wl,--version-script=' + version_map.full_path()]
-            endif
+        if is_ms_linker
+            link_mode = 'mslinker'
+        elif is_windows
+            link_mode = 'mingw'
         else
-            version_map_path = version_map
-            version_map_dep = []
-            lk_deps = [version_map]
-
-            if is_windows
-                if is_ms_linker
-                    def_file = custom_target(lib_name + '_def',
-                            command: [map_to_win_cmd, '@INPUT@', '@OUTPUT@'],
-                            input: version_map,
-                            output: '@0@_exports.def'.format(lib_name))
-                    lk_deps += [def_file]
-
-                    lk_args = ['-Wl,/def:' + def_file.full_path()]
-                else
-                    mingw_map = custom_target(lib_name + '_mingw',
-                            command: [map_to_win_cmd, '@INPUT@', '@OUTPUT@'],
-                            input: version_map,
-                            output: '@0@_mingw.map'.format(lib_name))
-                    lk_deps += [mingw_map]
-
-                    lk_args = ['-Wl,--version-script=' + mingw_map.full_path()]
-                endif
-            else
-                lk_args = ['-Wl,--version-script=' + version_map]
-            endif
+            link_mode = 'gnu'
+        endif
+        version_map = custom_target(lib_name + '_map',
+                command: [gen_version_map, link_mode, abi_version_file, '@OUTPUT@', '@INPUT@'],
+                input: sources + sources_avx2 + sources_avx512,
+                output: '_'.join([class, name, 'exports.map']))
+        lk_deps = [version_map]
+
+        if is_ms_linker and is_ms_compiler
+            lk_args = ['/def:' + version_map.full_path()]
+        elif is_ms_linker
+            lk_args = ['-Wl,/def:' + version_map.full_path()]
+        else
+            lk_args = ['-Wl,--version-script=' + version_map.full_path()]
         endif
 
         if not is_windows and developer_mode
@@ -348,11 +314,11 @@ foreach subpath:subdirs
             # check-symbols.sh script, using it as a
             # dependency of the .so build
             lk_deps += custom_target(lib_name + '.sym_chk',
-                    command: [check_symbols, version_map_path, '@INPUT@'],
+                    command: [check_symbols, version_map.full_path(), '@INPUT@'],
                     capture: true,
                     input: static_lib,
                     output: lib_name + '.sym_chk',
-                    depends: version_map_dep)
+                    depends: [version_map])
         endif
 
         shared_lib = shared_library(lib_name, sources_pmd_info,
lib/meson.build +19 -54
index a9cbea5fea..6157d0e13e 100644
@@ -1,7 +1,6 @@
 # SPDX-License-Identifier: BSD-3-Clause
 # Copyright(c) 2017-2019 Intel Corporation
 
-fs = import('fs')
 
 # process all libraries equally, as far as possible
 # "core" libs first, then others alphabetically as far as possible
@@ -289,59 +288,25 @@ foreach l:libraries
             include_directories: includes,
             dependencies: static_deps)
 
-    if not fs.is_file('@0@/@1@/version.map'.format(meson.current_source_dir(), l))
-        if is_ms_linker
-            link_mode = 'mslinker'
-        elif is_windows
-            link_mode = 'mingw'
-        else
-            link_mode = 'gnu'
-        endif
-        version_map = custom_target(libname + '_map',
-                command: [gen_version_map, link_mode, abi_version_file, '@OUTPUT@', '@INPUT@'],
-                input: sources,
-                output: '_'.join([name, 'exports.map']))
-        version_map_path = version_map.full_path()
-        version_map_dep = [version_map]
-        lk_deps = [version_map]
-
-        if is_ms_linker and is_ms_compiler
-            lk_args = ['/def:' + version_map.full_path()]
-        elif is_ms_linker
-            lk_args = ['-Wl,/def:' + version_map.full_path()]
-        else
-            lk_args = ['-Wl,--version-script=' + version_map.full_path()]
-        endif
+    if is_ms_linker
+        link_mode = 'mslinker'
+    elif is_windows
+        link_mode = 'mingw'
     else
-        version_map = '@0@/@1@/version.map'.format(meson.current_source_dir(), l)
-        version_map_path = version_map
-        version_map_dep = []
-        lk_deps = [version_map]
-        if is_ms_linker
-            def_file = custom_target(libname + '_def',
-                    command: [map_to_win_cmd, '@INPUT@', '@OUTPUT@'],
-                    input: version_map,
-                    output: '@0@_exports.def'.format(libname))
-            lk_deps += [def_file]
-
-            if is_ms_compiler
-                lk_args = ['/def:' + def_file.full_path()]
-            else
-                lk_args = ['-Wl,/def:' + def_file.full_path()]
-            endif
-        else
-            if is_windows
-                mingw_map = custom_target(libname + '_mingw',
-                        command: [map_to_win_cmd, '@INPUT@', '@OUTPUT@'],
-                        input: version_map,
-                        output: '@0@_mingw.map'.format(libname))
-                lk_deps += [mingw_map]
+        link_mode = 'gnu'
+    endif
+    version_map = custom_target(libname + '_map',
+            command: [gen_version_map, link_mode, abi_version_file, '@OUTPUT@', '@INPUT@'],
+            input: sources,
+            output: '_'.join([name, 'exports.map']))
+    lk_deps = [version_map]
 
-                lk_args = ['-Wl,--version-script=' + mingw_map.full_path()]
-            else
-                lk_args = ['-Wl,--version-script=' + version_map]
-            endif
-        endif
+    if is_ms_linker and is_ms_compiler
+        lk_args = ['/def:' + version_map.full_path()]
+    elif is_ms_linker
+        lk_args = ['-Wl,/def:' + version_map.full_path()]
+    else
+        lk_args = ['-Wl,--version-script=' + version_map.full_path()]
     endif
 
     if developer_mode and not is_windows
@@ -349,11 +314,11 @@ foreach l:libraries
         # check-symbols.sh script, using it as a
         # dependency of the .so build
         lk_deps += custom_target(name + '.sym_chk',
-                command: [check_symbols, version_map_path, '@INPUT@'],
+                command: [check_symbols, version_map.full_path(), '@INPUT@'],
                 capture: true,
                 input: static_lib,
                 output: name + '.sym_chk',
-                depends: version_map_dep)
+                depends: [version_map])
     endif
 
     if not use_function_versioning or is_windows
#83 lore raw

PATCH v6 7/8 build: remove static version maps

In reply to David Marchand

Now that all version map files get generated, we can delete all committed files.

---
Changes since RFC v3:
- fixed devtools/check-spdx-tag.sh,

---
 devtools/check-spdx-tag.sh                 |   2 +-
 drivers/baseband/acc/version.map           |  10 -
 drivers/baseband/fpga_5gnr_fec/version.map |  11 -
 drivers/baseband/fpga_lte_fec/version.map  |  10 -
 drivers/bus/auxiliary/version.map          |   8 -
 drivers/bus/cdx/version.map                |  14 -
 drivers/bus/dpaa/version.map               | 108 ----
 drivers/bus/fslmc/version.map              | 127 -----
 drivers/bus/ifpga/version.map              |   9 -
 drivers/bus/pci/version.map                |  43 --
 drivers/bus/platform/version.map           |  10 -
 drivers/bus/uacce/version.map              |  15 -
 drivers/bus/vdev/version.map               |  17 -
 drivers/bus/vmbus/version.map              |  33 --
 drivers/common/cnxk/version.map            | 576 ---------------------
 drivers/common/cpt/version.map             |  11 -
 drivers/common/dpaax/version.map           |  25 -
 drivers/common/ionic/version.map           |  10 -
 drivers/common/mlx5/version.map            | 175 -------
 drivers/common/mvep/version.map            |   8 -
 drivers/common/nfp/version.map             |  16 -
 drivers/common/nitrox/version.map          |  10 -
 drivers/common/octeontx/version.map        |  12 -
 drivers/common/sfc_efx/version.map         | 302 -----------
 drivers/crypto/cnxk/version.map            |  30 --
 drivers/crypto/dpaa2_sec/version.map       |   8 -
 drivers/crypto/dpaa_sec/version.map        |   8 -
 drivers/crypto/octeontx/version.map        |  12 -
 drivers/crypto/scheduler/version.map       |  16 -
 drivers/dma/cnxk/version.map               |  10 -
 drivers/event/cnxk/version.map             |  11 -
 drivers/event/dlb2/version.map             |  10 -
 drivers/mempool/cnxk/version.map           |  12 -
 drivers/mempool/dpaa/version.map           |   8 -
 drivers/mempool/dpaa2/version.map          |  16 -
 drivers/net/atlantic/version.map           |  15 -
 drivers/net/bnxt/version.map               |  22 -
 drivers/net/bonding/version.map            |  33 --
 drivers/net/cnxk/version.map               |  27 -
 drivers/net/dpaa/version.map               |  14 -
 drivers/net/dpaa2/version.map              |  35 --
 drivers/net/intel/i40e/version.map         |  55 --
 drivers/net/intel/iavf/version.map         |  33 --
 drivers/net/intel/ice/version.map          |  16 -
 drivers/net/intel/idpf/version.map         |  80 ---
 drivers/net/intel/ipn3ke/version.map       |   9 -
 drivers/net/intel/ixgbe/version.map        |  49 --
 drivers/net/mlx5/version.map               |  28 -
 drivers/net/octeontx/version.map           |   7 -
 drivers/net/ring/version.map               |   8 -
 drivers/net/softnic/version.map            |   8 -
 drivers/net/vhost/version.map              |   8 -
 drivers/power/kvm_vm/version.map           |   8 -
 drivers/raw/cnxk_rvu_lf/version.map        |  16 -
 drivers/raw/ifpga/version.map              |  17 -
 lib/acl/version.map                        |  19 -
 lib/argparse/version.map                   |   9 -
 lib/bbdev/version.map                      |  47 --
 lib/bitratestats/version.map               |  10 -
 lib/bpf/version.map                        |  18 -
 lib/cfgfile/version.map                    |  23 -
 lib/cmdline/version.map                    |  82 ---
 lib/compressdev/version.map                |  40 --
 lib/cryptodev/version.map                  | 114 ----
 lib/dispatcher/version.map                 |  20 -
 lib/distributor/version.map                |  15 -
 lib/dmadev/version.map                     |  47 --
 lib/eal/version.map                        | 451 ----------------
 lib/efd/version.map                        |  13 -
 lib/ethdev/version.map                     | 378 --------------
 lib/eventdev/version.map                   | 167 ------
 lib/fib/version.map                        |  31 --
 lib/gpudev/version.map                     |  44 --
 lib/graph/version.map                      |  44 --
 lib/gro/version.map                        |  12 -
 lib/gso/version.map                        |   7 -
 lib/hash/version.map                       |  66 ---
 lib/ip_frag/version.map                    |  16 -
 lib/ipsec/version.map                      |  19 -
 lib/jobstats/version.map                   |  20 -
 lib/kvargs/version.map                     |  14 -
 lib/latencystats/version.map               |  11 -
 lib/log/version.map                        |  36 --
 lib/lpm/version.map                        |  24 -
 lib/mbuf/version.map                       |  45 --
 lib/member/version.map                     |  19 -
 lib/mempool/version.map                    |  65 ---
 lib/meter/version.map                      |  12 -
 lib/metrics/version.map                    |  26 -
 lib/mldev/version.map                      |  74 ---
 lib/net/version.map                        |  23 -
 lib/node/version.map                       |  25 -
 lib/pcapng/version.map                     |  13 -
 lib/pci/version.map                        |   9 -
 lib/pdcp/version.map                       |  12 -
 lib/pdump/version.map                      |  15 -
 lib/pipeline/version.map                   | 172 ------
 lib/port/version.map                       |  50 --
 lib/power/version.map                      |  71 ---
 lib/rawdev/version.map                     |  36 --
 lib/rcu/version.map                        |  17 -
 lib/regexdev/version.map                   |  38 --
 lib/reorder/version.map                    |  27 -
 lib/rib/version.map                        |  34 --
 lib/ring/version.map                       |  42 --
 lib/sched/version.map                      |  30 --
 lib/security/version.map                   |  37 --
 lib/stack/version.map                      |   9 -
 lib/table/version.map                      |  53 --
 lib/telemetry/version.map                  |  40 --
 lib/timer/version.map                      |  24 -
 lib/vhost/version.map                      | 110 ----
 112 files changed, 1 insertion(+), 5115 deletions(-)
 delete mode 100644 drivers/baseband/acc/version.map
 delete mode 100644 drivers/baseband/fpga_5gnr_fec/version.map
 delete mode 100644 drivers/baseband/fpga_lte_fec/version.map
 delete mode 100644 drivers/bus/auxiliary/version.map
 delete mode 100644 drivers/bus/cdx/version.map
 delete mode 100644 drivers/bus/dpaa/version.map
 delete mode 100644 drivers/bus/fslmc/version.map
 delete mode 100644 drivers/bus/ifpga/version.map
 delete mode 100644 drivers/bus/pci/version.map
 delete mode 100644 drivers/bus/platform/version.map
 delete mode 100644 drivers/bus/uacce/version.map
 delete mode 100644 drivers/bus/vdev/version.map
 delete mode 100644 drivers/bus/vmbus/version.map
 delete mode 100644 drivers/common/cnxk/version.map
 delete mode 100644 drivers/common/cpt/version.map
 delete mode 100644 drivers/common/dpaax/version.map
 delete mode 100644 drivers/common/ionic/version.map
 delete mode 100644 drivers/common/mlx5/version.map
 delete mode 100644 drivers/common/mvep/version.map
 delete mode 100644 drivers/common/nfp/version.map
 delete mode 100644 drivers/common/nitrox/version.map
 delete mode 100644 drivers/common/octeontx/version.map
 delete mode 100644 drivers/common/sfc_efx/version.map
 delete mode 100644 drivers/crypto/cnxk/version.map
 delete mode 100644 drivers/crypto/dpaa2_sec/version.map
 delete mode 100644 drivers/crypto/dpaa_sec/version.map
 delete mode 100644 drivers/crypto/octeontx/version.map
 delete mode 100644 drivers/crypto/scheduler/version.map
 delete mode 100644 drivers/dma/cnxk/version.map
 delete mode 100644 drivers/event/cnxk/version.map
 delete mode 100644 drivers/event/dlb2/version.map
 delete mode 100644 drivers/mempool/cnxk/version.map
 delete mode 100644 drivers/mempool/dpaa/version.map
 delete mode 100644 drivers/mempool/dpaa2/version.map
 delete mode 100644 drivers/net/atlantic/version.map
 delete mode 100644 drivers/net/bnxt/version.map
 delete mode 100644 drivers/net/bonding/version.map
 delete mode 100644 drivers/net/cnxk/version.map
 delete mode 100644 drivers/net/dpaa/version.map
 delete mode 100644 drivers/net/dpaa2/version.map
 delete mode 100644 drivers/net/intel/i40e/version.map
 delete mode 100644 drivers/net/intel/iavf/version.map
 delete mode 100644 drivers/net/intel/ice/version.map
 delete mode 100644 drivers/net/intel/idpf/version.map
 delete mode 100644 drivers/net/intel/ipn3ke/version.map
 delete mode 100644 drivers/net/intel/ixgbe/version.map
 delete mode 100644 drivers/net/mlx5/version.map
 delete mode 100644 drivers/net/octeontx/version.map
 delete mode 100644 drivers/net/ring/version.map
 delete mode 100644 drivers/net/softnic/version.map
 delete mode 100644 drivers/net/vhost/version.map
 delete mode 100644 drivers/power/kvm_vm/version.map
 delete mode 100644 drivers/raw/cnxk_rvu_lf/version.map
 delete mode 100644 drivers/raw/ifpga/version.map
 delete mode 100644 lib/acl/version.map
 delete mode 100644 lib/argparse/version.map
 delete mode 100644 lib/bbdev/version.map
 delete mode 100644 lib/bitratestats/version.map
 delete mode 100644 lib/bpf/version.map
 delete mode 100644 lib/cfgfile/version.map
 delete mode 100644 lib/cmdline/version.map
 delete mode 100644 lib/compressdev/version.map
 delete mode 100644 lib/cryptodev/version.map
 delete mode 100644 lib/dispatcher/version.map
 delete mode 100644 lib/distributor/version.map
 delete mode 100644 lib/dmadev/version.map
 delete mode 100644 lib/eal/version.map
 delete mode 100644 lib/efd/version.map
 delete mode 100644 lib/ethdev/version.map
 delete mode 100644 lib/eventdev/version.map
 delete mode 100644 lib/fib/version.map
 delete mode 100644 lib/gpudev/version.map
 delete mode 100644 lib/graph/version.map
 delete mode 100644 lib/gro/version.map
 delete mode 100644 lib/gso/version.map
 delete mode 100644 lib/hash/version.map
 delete mode 100644 lib/ip_frag/version.map
 delete mode 100644 lib/ipsec/version.map
 delete mode 100644 lib/jobstats/version.map
 delete mode 100644 lib/kvargs/version.map
 delete mode 100644 lib/latencystats/version.map
 delete mode 100644 lib/log/version.map
 delete mode 100644 lib/lpm/version.map
 delete mode 100644 lib/mbuf/version.map
 delete mode 100644 lib/member/version.map
 delete mode 100644 lib/mempool/version.map
 delete mode 100644 lib/meter/version.map
 delete mode 100644 lib/metrics/version.map
 delete mode 100644 lib/mldev/version.map
 delete mode 100644 lib/net/version.map
 delete mode 100644 lib/node/version.map
 delete mode 100644 lib/pcapng/version.map
 delete mode 100644 lib/pci/version.map
 delete mode 100644 lib/pdcp/version.map
 delete mode 100644 lib/pdump/version.map
 delete mode 100644 lib/pipeline/version.map
 delete mode 100644 lib/port/version.map
 delete mode 100644 lib/power/version.map
 delete mode 100644 lib/rawdev/version.map
 delete mode 100644 lib/rcu/version.map
 delete mode 100644 lib/regexdev/version.map
 delete mode 100644 lib/reorder/version.map
 delete mode 100644 lib/rib/version.map
 delete mode 100644 lib/ring/version.map
 delete mode 100644 lib/sched/version.map
 delete mode 100644 lib/security/version.map
 delete mode 100644 lib/stack/version.map
 delete mode 100644 lib/table/version.map
 delete mode 100644 lib/telemetry/version.map
 delete mode 100644 lib/timer/version.map
 delete mode 100644 lib/vhost/version.map
devtools/check-spdx-tag.sh +1 -1
index a76c17bc3a..1fd0d579d3 100755
@@ -19,7 +19,7 @@ no_license_list=\
 ':^.git* :^.mailmap :^.ci/* :^README :^*/README* :^MAINTAINERS :^VERSION :^ABI_VERSION '\
 ':^license/ :^config/ :^buildtools/ :^*.abignore :^*.cocci :^*/poetry.lock '\
 ':^*/Kbuild :^kernel/linux/uapi/version '\
-':^*.map :^*.ini :^*.data :^*.json :^*.cfg :^*.txt :^*.svg :^*.png'
+':^*.ini :^*.data :^*.json :^*.cfg :^*.txt :^*.svg :^*.png'
 
 check_spdx() {
     if $verbose ; then
drivers/baseband/acc/version.map deleted +0 -10
deleted file mode 100644
index 3f427caf67..0000000000
@@ -1,10 +0,0 @@
-DPDK_25 {
-	local: *;
-};
-
-EXPERIMENTAL {
-	global:
-
-	# added in 22.11
-	rte_acc_configure;
-};
drivers/baseband/fpga_5gnr_fec/version.map deleted +0 -11
deleted file mode 100644
index fb32805028..0000000000
@@ -1,11 +0,0 @@
-DPDK_25 {
-	local: *;
-};
-
-EXPERIMENTAL {
-	global:
-
-	# added in 20.11
-	rte_fpga_5gnr_fec_configure;
-
-};
drivers/baseband/fpga_lte_fec/version.map deleted +0 -10
deleted file mode 100644
index f6b2961ba2..0000000000
@@ -1,10 +0,0 @@
-DPDK_25 {
-	local: *;
-};
-
-EXPERIMENTAL {
-	global:
-
-	# added in 20.11
-	rte_fpga_lte_fec_configure;
-};
drivers/bus/auxiliary/version.map deleted +0 -8
deleted file mode 100644
index e9322e0b11..0000000000
@@ -1,8 +0,0 @@
-INTERNAL {
-	global:
-
-	rte_auxiliary_register;
-	rte_auxiliary_unregister;
-
-	local: *;
-};
drivers/bus/cdx/version.map deleted +0 -14
deleted file mode 100644
index 7a22cf5b4b..0000000000
@@ -1,14 +0,0 @@
-INTERNAL {
-	global:
-
-	rte_cdx_map_device;
-	rte_cdx_register;
-	rte_cdx_unmap_device;
-	rte_cdx_unregister;
-	rte_cdx_vfio_bm_disable;
-	rte_cdx_vfio_bm_enable;
-	rte_cdx_vfio_intr_disable;
-	rte_cdx_vfio_intr_enable;
-
-	local: *;
-};
drivers/bus/dpaa/version.map deleted +0 -108

108 lines not on this page · raw message

drivers/bus/fslmc/version.map deleted +0 -127

127 lines not on this page · raw message

drivers/bus/ifpga/version.map deleted +0 -9
deleted file mode 100644
index 3d1943afe4..0000000000
@@ -1,9 +0,0 @@
-INTERNAL {
-	global:
-
-	rte_ifpga_driver_register;
-	rte_ifpga_driver_unregister;
-	rte_ifpga_find_afu_by_name;
-
-	local: *;
-};
drivers/bus/pci/version.map deleted +0 -43

43 lines not on this page · raw message

drivers/bus/platform/version.map deleted +0 -10
deleted file mode 100644
index 37c4a74f82..0000000000
@@ -1,10 +0,0 @@
-DPDK_25 {
-	local: *;
-};
-
-INTERNAL {
-	global:
-
-	rte_platform_register;
-	rte_platform_unregister;
-};
drivers/bus/uacce/version.map deleted +0 -15
deleted file mode 100644
index 533b2ea0d8..0000000000
@@ -1,15 +0,0 @@
-INTERNAL {
-	global:
-
-	rte_uacce_avail_queues;
-	rte_uacce_queue_alloc;
-	rte_uacce_queue_free;
-	rte_uacce_queue_ioctl;
-	rte_uacce_queue_mmap;
-	rte_uacce_queue_start;
-	rte_uacce_queue_unmap;
-	rte_uacce_register;
-	rte_uacce_unregister;
-
-	local: *;
-};
drivers/bus/vdev/version.map deleted +0 -17
deleted file mode 100644
index 51a0f1d5e1..0000000000
@@ -1,17 +0,0 @@
-DPDK_25 {
-	global:
-
-	rte_vdev_add_custom_scan;
-	rte_vdev_init;
-	rte_vdev_remove_custom_scan;
-	rte_vdev_uninit;
-
-	local: *;
-};
-
-INTERNAL {
-	global:
-
-	rte_vdev_register;
-	rte_vdev_unregister;
-};
drivers/bus/vmbus/version.map deleted +0 -33
deleted file mode 100644
index 365f71529f..0000000000
@@ -1,33 +0,0 @@
-DPDK_25 {
-	global:
-
-	rte_vmbus_chan_close;
-	rte_vmbus_chan_open;
-	rte_vmbus_chan_recv;
-	rte_vmbus_chan_recv_raw;
-	rte_vmbus_chan_rx_empty;
-	rte_vmbus_chan_send;
-	rte_vmbus_chan_send_sglist;
-	rte_vmbus_chan_signal_read;
-	rte_vmbus_chan_signal_tx;
-	rte_vmbus_irq_mask;
-	rte_vmbus_irq_read;
-	rte_vmbus_irq_unmask;
-	rte_vmbus_map_device;
-	rte_vmbus_max_channels;
-	rte_vmbus_probe;
-	rte_vmbus_scan;
-	rte_vmbus_set_latency;
-	rte_vmbus_sub_channel_index;
-	rte_vmbus_subchan_open;
-	rte_vmbus_unmap_device;
-
-	local: *;
-};
-
-INTERNAL {
-	global:
-
-	rte_vmbus_register;
-	rte_vmbus_unregister;
-};
drivers/common/cnxk/version.map deleted +0 -576

576 lines not on this page · raw message

drivers/common/cpt/version.map deleted +0 -11
deleted file mode 100644
index b4080e0f8c..0000000000
@@ -1,11 +0,0 @@
-INTERNAL {
-	global:
-
-	cpt_fpm_clear;
-	cpt_fpm_init;
-	cpt_pmd_ops_helper_asym_get_mlen;
-	cpt_pmd_ops_helper_get_mlen_direct_mode;
-	cpt_pmd_ops_helper_get_mlen_sg_mode;
-
-	local: *;
-};
drivers/common/dpaax/version.map deleted +0 -25
deleted file mode 100644
index d48a6b6f37..0000000000
@@ -1,25 +0,0 @@
-INTERNAL {
-	global:
-
-	dpaax_iova_table_depopulate;
-	dpaax_iova_table_dump;
-	dpaax_iova_table_p;
-	dpaax_iova_table_populate;
-	dpaax_iova_table_update;
-	dpaax_logger;
-	of_device_is_available;
-	of_device_is_compatible;
-	of_find_compatible_node;
-	of_find_node_by_phandle;
-	of_get_address;
-	of_get_mac_address;
-	of_get_next_child;
-	of_get_parent;
-	of_get_property;
-	of_init_path;
-	of_n_addr_cells;
-	of_translate_address;
-	rta_sec_era;
-
-	local: *;
-};
drivers/common/ionic/version.map deleted +0 -10
deleted file mode 100644
index db532d4ffc..0000000000
@@ -1,10 +0,0 @@
-INTERNAL {
-	global:
-
-	ionic_uio_scan_mnet_devices;
-	ionic_uio_scan_mcrypt_devices;
-	ionic_uio_get_rsrc;
-	ionic_uio_rel_rsrc;
-
-	local: *;
-};
drivers/common/mlx5/version.map deleted +0 -175

175 lines not on this page · raw message

drivers/common/mvep/version.map deleted +0 -8
deleted file mode 100644
index cbac7bfa8d..0000000000
@@ -1,8 +0,0 @@
-INTERNAL {
-	global:
-
-	rte_mvep_deinit;
-	rte_mvep_init;
-
-	local: *;
-};
drivers/common/nfp/version.map deleted +0 -16
deleted file mode 100644
index c8a04b1b95..0000000000
@@ -1,16 +0,0 @@
-INTERNAL {
-	global:
-
-	nfp_class_driver_register;
-
-	nfp_reconfig;
-	nfp_ext_reconfig;
-	nfp_reconfig_real;
-	nfp_read_mac;
-	nfp_write_mac;
-	nfp_enable_queues;
-	nfp_disable_queues;
-	nfp_dev_info_get;
-
-	local: *;
-};
drivers/common/nitrox/version.map deleted +0 -10
deleted file mode 100644
index f58c044fc5..0000000000
@@ -1,10 +0,0 @@
-INTERNAL {
-	global:
-
-	nitrox_logtype;
-	nitrox_qp_release;
-	nitrox_qp_setup;
-	nitrox_register_driver;
-
-	local: *;
-};
drivers/common/octeontx/version.map deleted +0 -12
deleted file mode 100644
index 049f66b331..0000000000
@@ -1,12 +0,0 @@
-INTERNAL {
-	global:
-
-	octeontx_get_global_domain;
-	octeontx_logtype_mbox;
-	octeontx_mbox_init;
-	octeontx_mbox_send;
-	octeontx_mbox_set_ram_mbox_base;
-	octeontx_mbox_set_reg;
-
-	local: *;
-};
drivers/common/sfc_efx/version.map deleted +0 -302

302 lines not on this page · raw message

drivers/crypto/cnxk/version.map deleted +0 -30
deleted file mode 100644
index 05724e69e4..0000000000
@@ -1,30 +0,0 @@
-EXPERIMENTAL {
-	global:
-
-	# added in 24.03
-	rte_pmd_cnxk_crypto_submit;
-	rte_pmd_cnxk_crypto_qptr_get;
-
-	# added in 24.07
-	rte_pmd_cnxk_crypto_cptr_flush;
-	rte_pmd_cnxk_crypto_cptr_get;
-	rte_pmd_cnxk_crypto_cptr_read;
-	rte_pmd_cnxk_crypto_cptr_write;
-	rte_pmd_cnxk_crypto_qp_stats_get;
-};
-
-INTERNAL {
-	global:
-
-	cn9k_cpt_crypto_adapter_enqueue;
-	cn9k_cpt_crypto_adapter_dequeue;
-	cn10k_cpt_sg_ver1_crypto_adapter_enqueue;
-	cn10k_cpt_sg_ver2_crypto_adapter_enqueue;
-	cn10k_cpt_crypto_adapter_dequeue;
-	cn10k_cpt_crypto_adapter_vector_dequeue;
-
-	cn10k_cryptodev_sec_inb_rx_inject;
-	cn10k_cryptodev_sec_rx_inject_configure;
-
-	local: *;
-};
drivers/crypto/dpaa2_sec/version.map deleted +0 -8
deleted file mode 100644
index 1352f576e5..0000000000
@@ -1,8 +0,0 @@
-INTERNAL {
-	global:
-
-	dpaa2_sec_eventq_attach;
-	dpaa2_sec_eventq_detach;
-
-	local: *;
-};
drivers/crypto/dpaa_sec/version.map deleted +0 -8
deleted file mode 100644
index 731ea593ad..0000000000
@@ -1,8 +0,0 @@
-INTERNAL {
-	global:
-
-	dpaa_sec_eventq_attach;
-	dpaa_sec_eventq_detach;
-
-	local: *;
-};
drivers/crypto/octeontx/version.map deleted +0 -12
deleted file mode 100644
index 8803f974b2..0000000000
@@ -1,12 +0,0 @@
-DPDK_25 {
-	local: *;
-};
-
-INTERNAL {
-	global:
-
-	otx_crypto_adapter_enqueue;
-	otx_crypto_adapter_dequeue;
-
-	local: *;
-};
drivers/crypto/scheduler/version.map deleted +0 -16
deleted file mode 100644
index d7ba3874f2..0000000000
@@ -1,16 +0,0 @@
-DPDK_25 {
-	global:
-
-	rte_cryptodev_scheduler_load_user_scheduler;
-	rte_cryptodev_scheduler_mode_get;
-	rte_cryptodev_scheduler_mode_set;
-	rte_cryptodev_scheduler_option_get;
-	rte_cryptodev_scheduler_option_set;
-	rte_cryptodev_scheduler_ordering_get;
-	rte_cryptodev_scheduler_ordering_set;
-	rte_cryptodev_scheduler_worker_attach;
-	rte_cryptodev_scheduler_worker_detach;
-	rte_cryptodev_scheduler_workers_get;
-
-	local: *;
-};
drivers/dma/cnxk/version.map deleted +0 -10
deleted file mode 100644
index a1490abf97..0000000000
@@ -1,10 +0,0 @@
-INTERNAL {
-	global:
-
-	cn10k_dma_adapter_enqueue;
-	cn9k_dma_adapter_enqueue;
-	cn9k_dma_adapter_dual_enqueue;
-	cnxk_dma_adapter_dequeue;
-
-	local: *;
-};
drivers/event/cnxk/version.map deleted +0 -11
deleted file mode 100644
index a275ec2977..0000000000
@@ -1,11 +0,0 @@
-DPDK_25 {
-	local: *;
-};
-
-EXPERIMENTAL {
-	global:
-
-	# added in 23.11
-	rte_pmd_cnxk_eventdev_is_head;
-	rte_pmd_cnxk_eventdev_wait_head;
-};
drivers/event/dlb2/version.map deleted +0 -10
deleted file mode 100644
index c37d2302cd..0000000000
@@ -1,10 +0,0 @@
-DPDK_25 {
-	local: *;
-};
-
-EXPERIMENTAL {
-	global:
-
-	# added in 20.11
-	rte_pmd_dlb2_set_token_pop_mode;
-};
drivers/mempool/cnxk/version.map deleted +0 -12
deleted file mode 100644
index c2905a610e..0000000000
@@ -1,12 +0,0 @@
-DPDK_25 {
-	local: *;
-};
-
-EXPERIMENTAL {
-	global:
-
-	# added in 23.07
-	rte_pmd_cnxk_mempool_is_hwpool;
-	rte_pmd_cnxk_mempool_mbuf_exchange;
-	rte_pmd_cnxk_mempool_range_check_disable;
-};
drivers/mempool/dpaa/version.map deleted +0 -8
deleted file mode 100644
index 142547ee38..0000000000
@@ -1,8 +0,0 @@
-INTERNAL {
-	global:
-
-	rte_dpaa_bpid_info;
-	rte_dpaa_memsegs;
-
-	local: *;
-};
drivers/mempool/dpaa2/version.map deleted +0 -16
deleted file mode 100644
index c1acfc0c64..0000000000
@@ -1,16 +0,0 @@
-DPDK_25 {
-	global:
-
-	rte_dpaa2_mbuf_from_buf_addr;
-	rte_dpaa2_mbuf_pool_bpid;
-
-	local: *;
-};
-
-INTERNAL {
-	global:
-
-	rte_dpaa2_bpid_info;
-	rte_dpaa2_bpid_info_init;
-	rte_dpaa2_mbuf_alloc_bulk;
-};
drivers/net/atlantic/version.map deleted +0 -15
deleted file mode 100644
index 5644e150ac..0000000000
@@ -1,15 +0,0 @@
-DPDK_25 {
-	local: *;
-};
-
-EXPERIMENTAL {
-	global:
-
-	# added in 19.05
-	rte_pmd_atl_macsec_enable;
-	rte_pmd_atl_macsec_disable;
-	rte_pmd_atl_macsec_config_txsc;
-	rte_pmd_atl_macsec_config_rxsc;
-	rte_pmd_atl_macsec_select_txsa;
-	rte_pmd_atl_macsec_select_rxsa;
-};
drivers/net/bnxt/version.map deleted +0 -22
deleted file mode 100644
index d29521f990..0000000000
@@ -1,22 +0,0 @@
-DPDK_25 {
-	global:
-
-	rte_pmd_bnxt_get_vf_rx_status;
-	rte_pmd_bnxt_get_vf_stats;
-	rte_pmd_bnxt_get_vf_tx_drop_count;
-	rte_pmd_bnxt_mac_addr_add;
-	rte_pmd_bnxt_reset_vf_stats;
-	rte_pmd_bnxt_set_all_queues_drop_en;
-	rte_pmd_bnxt_set_tx_loopback;
-	rte_pmd_bnxt_set_vf_mac_addr;
-	rte_pmd_bnxt_set_vf_mac_anti_spoof;
-	rte_pmd_bnxt_set_vf_persist_stats;
-	rte_pmd_bnxt_set_vf_rate_limit;
-	rte_pmd_bnxt_set_vf_rxmode;
-	rte_pmd_bnxt_set_vf_vlan_anti_spoof;
-	rte_pmd_bnxt_set_vf_vlan_filter;
-	rte_pmd_bnxt_set_vf_vlan_insert;
-	rte_pmd_bnxt_set_vf_vlan_stripq;
-
-	local: *;
-};
drivers/net/bonding/version.map deleted +0 -33
deleted file mode 100644
index eb37dadf76..0000000000
@@ -1,33 +0,0 @@
-DPDK_25 {
-	global:
-
-	rte_eth_bond_8023ad_agg_selection_get;
-	rte_eth_bond_8023ad_agg_selection_set;
-	rte_eth_bond_8023ad_conf_get;
-	rte_eth_bond_8023ad_dedicated_queues_disable;
-	rte_eth_bond_8023ad_dedicated_queues_enable;
-	rte_eth_bond_8023ad_ext_collect;
-	rte_eth_bond_8023ad_ext_collect_get;
-	rte_eth_bond_8023ad_ext_distrib;
-	rte_eth_bond_8023ad_ext_distrib_get;
-	rte_eth_bond_8023ad_ext_slowtx;
-	rte_eth_bond_8023ad_member_info;
-	rte_eth_bond_8023ad_setup;
-	rte_eth_bond_active_members_get;
-	rte_eth_bond_create;
-	rte_eth_bond_free;
-	rte_eth_bond_link_monitoring_set;
-	rte_eth_bond_mac_address_reset;
-	rte_eth_bond_mac_address_set;
-	rte_eth_bond_member_add;
-	rte_eth_bond_member_remove;
-	rte_eth_bond_members_get;
-	rte_eth_bond_mode_get;
-	rte_eth_bond_mode_set;
-	rte_eth_bond_primary_get;
-	rte_eth_bond_primary_set;
-	rte_eth_bond_xmit_policy_get;
-	rte_eth_bond_xmit_policy_set;
-
-	local: *;
-};
drivers/net/cnxk/version.map deleted +0 -27
deleted file mode 100644
index edb0a1c059..0000000000
@@ -1,27 +0,0 @@
-DPDK_25 {
-	local: *;
-};
-
-EXPERIMENTAL {
-	global:
-
-	# added in 22.07
-	rte_pmd_cnxk_hw_sa_read;
-	rte_pmd_cnxk_hw_sa_write;
-
-	# added in 23.11
-	rte_pmd_cnxk_cpt_q_stats_get;
-	rte_pmd_cnxk_hw_inline_inb_cfg_set;
-	rte_pmd_cnxk_hw_session_base_get;
-	rte_pmd_cnxk_inl_dev_qptr_get;
-	rte_pmd_cnxk_inl_dev_submit;
-	rte_pmd_cnxk_inl_ipsec_res;
-	rte_pmd_cnxk_model_str_get;
-	rte_pmd_cnxk_sa_flush;
-};
-
-INTERNAL {
-	global:
-	cnxk_nix_inb_mode_set;
-	cnxk_ethdev_rx_offload_cb_register;
-};
drivers/net/dpaa/version.map deleted +0 -14
deleted file mode 100644
index 3fdb63caf3..0000000000
@@ -1,14 +0,0 @@
-DPDK_25 {
-	global:
-
-	rte_pmd_dpaa_set_tx_loopback;
-
-	local: *;
-};
-
-INTERNAL {
-	global:
-
-	dpaa_eth_eventq_attach;
-	dpaa_eth_eventq_detach;
-};
drivers/net/dpaa2/version.map deleted +0 -35
deleted file mode 100644
index 35815f7777..0000000000
@@ -1,35 +0,0 @@
-DPDK_25 {
-	global:
-
-	rte_pmd_dpaa2_mux_flow_create;
-	rte_pmd_dpaa2_set_custom_hash;
-
-	local: *;
-};
-
-EXPERIMENTAL {
-	global:
-
-	# added in 21.05
-	rte_pmd_dpaa2_mux_rx_frame_len;
-	# added in 21.08
-	rte_pmd_dpaa2_thread_init;
-	# added in 21.11
-	rte_pmd_dpaa2_get_tlu_hash;
-	# added in 24.11
-	rte_pmd_dpaa2_dev_is_dpaa2;
-	rte_pmd_dpaa2_ep_name;
-	rte_pmd_dpaa2_set_one_step_ts;
-	rte_pmd_dpaa2_get_one_step_ts;
-	rte_pmd_dpaa2_mux_dump_counter;
-};
-
-INTERNAL {
-	global:
-
-	dpaa2_dev_tx_multi_txq_ordered;
-	dpaa2_eth_eventq_attach;
-	dpaa2_eth_eventq_detach;
-
-	local: *;
-};
drivers/net/intel/i40e/version.map deleted +0 -55

55 lines not on this page · raw message

drivers/net/intel/iavf/version.map deleted +0 -33
deleted file mode 100644
index d18dea64dd..0000000000
@@ -1,33 +0,0 @@
-DPDK_25 {
-	local: *;
-};
-
-EXPERIMENTAL {
-	global:
-
-	# added in 20.11
-	rte_pmd_ifd_dynfield_proto_xtr_metadata_offs;
-	rte_pmd_ifd_dynflag_proto_xtr_vlan_mask;
-	rte_pmd_ifd_dynflag_proto_xtr_ipv4_mask;
-	rte_pmd_ifd_dynflag_proto_xtr_ipv6_mask;
-	rte_pmd_ifd_dynflag_proto_xtr_ipv6_flow_mask;
-	rte_pmd_ifd_dynflag_proto_xtr_tcp_mask;
-	rte_pmd_ifd_dynflag_proto_xtr_ip_offset_mask;
-
-	# added in 21.11
-	rte_pmd_ifd_dynflag_proto_xtr_ipsec_crypto_said_mask;
-};
-
-INTERNAL {
-	global:
-
-	iavf_aq_send_msg_to_pf;
-	iavf_clean_arq_element;
-	iavf_init_adminq;
-	iavf_set_mac_type;
-	iavf_shutdown_adminq;
-	iavf_vf_parse_hw_config;
-	iavf_vf_reset;
-
-	local: *;
-};
drivers/net/intel/ice/version.map deleted +0 -16
deleted file mode 100644
index 0052043264..0000000000
@@ -1,16 +0,0 @@
-DPDK_25 {
-	local: *;
-};
-
-EXPERIMENTAL {
-	global:
-
-	# added in 19.11
-	rte_pmd_ice_dump_package;
-
-	# added in 22.11
-	rte_pmd_ice_dump_switch;
-
-	# added in 24.03
-	rte_pmd_ice_dump_txsched;
-};
drivers/net/intel/idpf/version.map deleted +0 -80

80 lines not on this page · raw message

drivers/net/intel/ipn3ke/version.map deleted +0 -9
deleted file mode 100644
index e10d44858f..0000000000
@@ -1,9 +0,0 @@
-DPDK_25 {
-	local: *;
-};
-
-INTERNAL {
-	global:
-
-	ipn3ke_bridge_func;
-};
drivers/net/intel/ixgbe/version.map deleted +0 -49

49 lines not on this page · raw message

drivers/net/mlx5/version.map deleted +0 -28
deleted file mode 100644
index 560f7ef79b..0000000000
@@ -1,28 +0,0 @@
-DPDK_25 {
-	local: *;
-};
-
-EXPERIMENTAL {
-	global:
-
-	# added in 20.02
-	rte_pmd_mlx5_get_dyn_flag_names;
-	# added in 20.11
-	rte_pmd_mlx5_sync_flow;
-	# added in 22.03
-	rte_pmd_mlx5_external_rx_queue_id_map;
-	rte_pmd_mlx5_external_rx_queue_id_unmap;
-	# added in 22.07
-	rte_pmd_mlx5_host_shaper_config;
-	rte_pmd_mlx5_external_sq_enable;
-	# added in 23.03
-	rte_pmd_mlx5_flow_engine_set_mode;
-	# added in 24.03
-	rte_pmd_mlx5_create_geneve_tlv_parser;
-	rte_pmd_mlx5_destroy_geneve_tlv_parser;
-	# added in 24.07
-	rte_pmd_mlx5_external_tx_queue_id_map;
-	rte_pmd_mlx5_external_tx_queue_id_unmap;
-	rte_pmd_mlx5_txq_dump_contexts;
-	rte_pmd_mlx5_rxq_dump_contexts;
-};
drivers/net/octeontx/version.map deleted +0 -7
deleted file mode 100644
index 861dd3450e..0000000000
@@ -1,7 +0,0 @@
-DPDK_25 {
-	global:
-
-	rte_octeontx_pchan_map;
-
-	local: *;
-};
drivers/net/ring/version.map deleted +0 -8
deleted file mode 100644
index 3b408c8ba5..0000000000
@@ -1,8 +0,0 @@
-DPDK_25 {
-	global:
-
-	rte_eth_from_ring;
-	rte_eth_from_rings;
-
-	local: *;
-};
drivers/net/softnic/version.map deleted +0 -8
deleted file mode 100644
index 15daeceb73..0000000000
@@ -1,8 +0,0 @@
-DPDK_25 {
-	global:
-
-	rte_pmd_softnic_manage;
-	rte_pmd_softnic_run;
-
-	local: *;
-};
drivers/net/vhost/version.map deleted +0 -8
deleted file mode 100644
index 63890911d8..0000000000
@@ -1,8 +0,0 @@
-DPDK_25 {
-	global:
-
-	rte_eth_vhost_get_queue_event;
-	rte_eth_vhost_get_vid_from_port_id;
-
-	local: *;
-};
drivers/power/kvm_vm/version.map deleted +0 -8
deleted file mode 100644
index ffa676624b..0000000000
@@ -1,8 +0,0 @@
-DPDK_25 {
-	global:
-
-	rte_power_guest_channel_receive_msg;
-	rte_power_guest_channel_send_msg;
-
-	local: *;
-};
drivers/raw/cnxk_rvu_lf/version.map deleted +0 -16
deleted file mode 100644
index 012f05d1e4..0000000000
@@ -1,16 +0,0 @@
-INTERNAL {
-	global:
-
-	rte_pmd_rvu_lf_bar_get;
-	rte_pmd_rvu_lf_irq_register;
-	rte_pmd_rvu_lf_irq_unregister;
-	rte_pmd_rvu_lf_msg_handler_register;
-	rte_pmd_rvu_lf_msg_handler_unregister;
-	rte_pmd_rvu_lf_msg_id_range_set;
-	rte_pmd_rvu_lf_msg_process;
-	rte_pmd_rvu_lf_npa_pf_func_get;
-	rte_pmd_rvu_lf_pf_func_get;
-	rte_pmd_rvu_lf_sso_pf_func_get;
-
-	local: *;
-};
drivers/raw/ifpga/version.map deleted +0 -17
deleted file mode 100644
index ebe50925a8..0000000000
@@ -1,17 +0,0 @@
-DPDK_25 {
-	global:
-
-	rte_pmd_ifpga_cleanup;
-	rte_pmd_ifpga_get_dev_id;
-	rte_pmd_ifpga_get_phy_info;
-	rte_pmd_ifpga_get_property;
-	rte_pmd_ifpga_get_rsu_status;
-	rte_pmd_ifpga_partial_reconfigure;
-	rte_pmd_ifpga_reboot_try;
-	rte_pmd_ifpga_reload;
-	rte_pmd_ifpga_set_rsu_status;
-	rte_pmd_ifpga_stop_update;
-	rte_pmd_ifpga_update_flash;
-
-	local: *;
-};
lib/acl/version.map deleted +0 -19
deleted file mode 100644
index 782b1fe464..0000000000
@@ -1,19 +0,0 @@
-DPDK_25 {
-	global:
-
-	rte_acl_add_rules;
-	rte_acl_build;
-	rte_acl_classify;
-	rte_acl_classify_alg;
-	rte_acl_classify_scalar;
-	rte_acl_create;
-	rte_acl_dump;
-	rte_acl_find_existing;
-	rte_acl_free;
-	rte_acl_list_dump;
-	rte_acl_reset;
-	rte_acl_reset_rules;
-	rte_acl_set_ctx_classify;
-
-	local: *;
-};
lib/argparse/version.map deleted +0 -9
deleted file mode 100644
index 46da99a3e2..0000000000
@@ -1,9 +0,0 @@
-EXPERIMENTAL {
-	global:
-
-	# added in 24.03
-	rte_argparse_parse;
-	rte_argparse_parse_type;
-
-	local: *;
-};
lib/bbdev/version.map deleted +0 -47

47 lines not on this page · raw message

lib/bitratestats/version.map deleted +0 -10
deleted file mode 100644
index edda26d552..0000000000
@@ -1,10 +0,0 @@
-DPDK_25 {
-	global:
-
-	rte_stats_bitrate_calc;
-	rte_stats_bitrate_create;
-	rte_stats_bitrate_free;
-	rte_stats_bitrate_reg;
-
-	local: *;
-};
lib/bpf/version.map deleted +0 -18
deleted file mode 100644
index 239c62a96c..0000000000
@@ -1,18 +0,0 @@
-DPDK_25 {
-	global:
-
-	rte_bpf_convert;
-	rte_bpf_destroy;
-	rte_bpf_dump;
-	rte_bpf_elf_load;
-	rte_bpf_eth_rx_elf_load;
-	rte_bpf_eth_rx_unload;
-	rte_bpf_eth_tx_elf_load;
-	rte_bpf_eth_tx_unload;
-	rte_bpf_exec;
-	rte_bpf_exec_burst;
-	rte_bpf_get_jit;
-	rte_bpf_load;
-
-	local: *;
-};
lib/cfgfile/version.map deleted +0 -23
deleted file mode 100644
index 927b4822fe..0000000000
@@ -1,23 +0,0 @@
-DPDK_25 {
-	global:
-
-	rte_cfgfile_add_entry;
-	rte_cfgfile_add_section;
-	rte_cfgfile_close;
-	rte_cfgfile_create;
-	rte_cfgfile_get_entry;
-	rte_cfgfile_has_entry;
-	rte_cfgfile_has_section;
-	rte_cfgfile_load;
-	rte_cfgfile_load_with_params;
-	rte_cfgfile_num_sections;
-	rte_cfgfile_save;
-	rte_cfgfile_section_entries;
-	rte_cfgfile_section_entries_by_index;
-	rte_cfgfile_section_num_entries;
-	rte_cfgfile_section_num_entries_by_index;
-	rte_cfgfile_sections;
-	rte_cfgfile_set_entry;
-
-	local: *;
-};
lib/cmdline/version.map deleted +0 -82

83 lines not on this page · raw message

lib/compressdev/version.map deleted +0 -40
deleted file mode 100644
index 3849ae2740..0000000000
@@ -1,40 +0,0 @@
-DPDK_25 {
-	global:
-
-	rte_comp_get_feature_name;
-	rte_comp_op_alloc;
-	rte_comp_op_bulk_alloc;
-	rte_comp_op_bulk_free;
-	rte_comp_op_free;
-	rte_comp_op_pool_create;
-	rte_compressdev_capability_get;
-	rte_compressdev_close;
-	rte_compressdev_configure;
-	rte_compressdev_count;
-	rte_compressdev_dequeue_burst;
-	rte_compressdev_devices_get;
-	rte_compressdev_enqueue_burst;
-	rte_compressdev_get_dev_id;
-	rte_compressdev_get_feature_name;
-	rte_compressdev_info_get;
-	rte_compressdev_name_get;
-	rte_compressdev_pmd_allocate;
-	rte_compressdev_pmd_create;
-	rte_compressdev_pmd_destroy;
-	rte_compressdev_pmd_get_named_dev;
-	rte_compressdev_pmd_parse_input_args;
-	rte_compressdev_pmd_release_device;
-	rte_compressdev_private_xform_create;
-	rte_compressdev_private_xform_free;
-	rte_compressdev_queue_pair_count;
-	rte_compressdev_queue_pair_setup;
-	rte_compressdev_socket_id;
-	rte_compressdev_start;
-	rte_compressdev_stats_get;
-	rte_compressdev_stats_reset;
-	rte_compressdev_stop;
-	rte_compressdev_stream_create;
-	rte_compressdev_stream_free;
-
-	local: *;
-};
lib/cryptodev/version.map deleted +0 -114

114 lines not on this page · raw message

lib/dispatcher/version.map deleted +0 -20
deleted file mode 100644
index 44585e4f15..0000000000
@@ -1,20 +0,0 @@
-EXPERIMENTAL {
-	global:
-
-	# added in 23.11
-	rte_dispatcher_bind_port_to_lcore;
-	rte_dispatcher_create;
-	rte_dispatcher_finalize_register;
-	rte_dispatcher_finalize_unregister;
-	rte_dispatcher_free;
-	rte_dispatcher_register;
-	rte_dispatcher_service_id_get;
-	rte_dispatcher_start;
-	rte_dispatcher_stats_get;
-	rte_dispatcher_stats_reset;
-	rte_dispatcher_stop;
-	rte_dispatcher_unbind_port_from_lcore;
-	rte_dispatcher_unregister;
-
-	local: *;
-};
lib/distributor/version.map deleted +0 -15
deleted file mode 100644
index b5ec7dfaca..0000000000
@@ -1,15 +0,0 @@
-DPDK_25 {
-	global:
-
-	rte_distributor_clear_returns;
-	rte_distributor_create;
-	rte_distributor_flush;
-	rte_distributor_get_pkt;
-	rte_distributor_poll_pkt;
-	rte_distributor_process;
-	rte_distributor_request_pkt;
-	rte_distributor_return_pkt;
-	rte_distributor_returned_pkts;
-
-	local: *;
-};
lib/dmadev/version.map deleted +0 -47

47 lines not on this page · raw message

lib/eal/version.map deleted +0 -451

358 lines not on this page · raw message

lib/efd/version.map deleted +0 -13
deleted file mode 100644
index 354c7f88bd..0000000000

Lines of this file are not shown. View the raw message.

lib/ethdev/version.map deleted +0 -378

378 lines not on this page · raw message

lib/eventdev/version.map deleted +0 -167

167 lines not on this page · raw message

lib/fib/version.map deleted +0 -31
deleted file mode 100644
index df8f113df3..0000000000

Lines of this file are not shown. View the raw message.

lib/gpudev/version.map deleted +0 -44

44 lines not on this page · raw message

lib/graph/version.map deleted +0 -44

44 lines not on this page · raw message

lib/gro/version.map deleted +0 -12
deleted file mode 100644
index c21c137fcd..0000000000

Lines of this file are not shown. View the raw message.

lib/gso/version.map deleted +0 -7
deleted file mode 100644
index 815baeb3e5..0000000000

Lines of this file are not shown. View the raw message.

lib/hash/version.map deleted +0 -66

66 lines not on this page · raw message

lib/ip_frag/version.map deleted +0 -16
deleted file mode 100644
index 0c001c7bd5..0000000000

Lines of this file are not shown. View the raw message.

lib/ipsec/version.map deleted +0 -19
deleted file mode 100644
index 47e3df5bb6..0000000000

Lines of this file are not shown. View the raw message.

lib/jobstats/version.map deleted +0 -20
deleted file mode 100644
index 55100e0699..0000000000

Lines of this file are not shown. View the raw message.

lib/kvargs/version.map deleted +0 -14
deleted file mode 100644
index 30995539fb..0000000000

Lines of this file are not shown. View the raw message.

lib/latencystats/version.map deleted +0 -11
deleted file mode 100644
index e8806c0046..0000000000

Lines of this file are not shown. View the raw message.

lib/log/version.map deleted +0 -36
deleted file mode 100644
index 603be493b3..0000000000

Lines of this file are not shown. View the raw message.

lib/lpm/version.map deleted +0 -24
deleted file mode 100644
index 29d577c24b..0000000000

Lines of this file are not shown. View the raw message.

lib/mbuf/version.map deleted +0 -45

45 lines not on this page · raw message

lib/member/version.map deleted +0 -19
deleted file mode 100644
index fdc7adacf9..0000000000

Lines of this file are not shown. View the raw message.

lib/mempool/version.map deleted +0 -65

65 lines not on this page · raw message

lib/meter/version.map deleted +0 -12
deleted file mode 100644
index ae434f34b5..0000000000

Lines of this file are not shown. View the raw message.

lib/metrics/version.map deleted +0 -26
deleted file mode 100644
index f9c1996a7d..0000000000

Lines of this file are not shown. View the raw message.

lib/mldev/version.map deleted +0 -74

74 lines not on this page · raw message

lib/net/version.map deleted +0 -23
deleted file mode 100644
index f4dd673fa3..0000000000

Lines of this file are not shown. View the raw message.

lib/node/version.map deleted +0 -25
deleted file mode 100644
index a402182fbe..0000000000

Lines of this file are not shown. View the raw message.

lib/pcapng/version.map deleted +0 -13
deleted file mode 100644
index 9f634b653e..0000000000

Lines of this file are not shown. View the raw message.

lib/pci/version.map deleted +0 -9
deleted file mode 100644
index f0f6ffef9f..0000000000

Lines of this file are not shown. View the raw message.

lib/pdcp/version.map deleted +0 -12
deleted file mode 100644
index 72b2d4729b..0000000000

Lines of this file are not shown. View the raw message.

lib/pdump/version.map deleted +0 -15
deleted file mode 100644
index 6eea4c1530..0000000000

Lines of this file are not shown. View the raw message.

lib/pipeline/version.map deleted +0 -172

172 lines not on this page · raw message

lib/port/version.map deleted +0 -50

50 lines not on this page · raw message

lib/power/version.map deleted +0 -71

71 lines not on this page · raw message

lib/rawdev/version.map deleted +0 -36
deleted file mode 100644
index f95d5dabae..0000000000

Lines of this file are not shown. View the raw message.

lib/rcu/version.map deleted +0 -17
deleted file mode 100644
index d96c4c4109..0000000000

Lines of this file are not shown. View the raw message.

lib/regexdev/version.map deleted +0 -38
deleted file mode 100644
index 713a800ca4..0000000000

Lines of this file are not shown. View the raw message.

lib/reorder/version.map deleted +0 -27
deleted file mode 100644
index 18e97942e1..0000000000

Lines of this file are not shown. View the raw message.

lib/rib/version.map deleted +0 -34
deleted file mode 100644
index 145d9c2602..0000000000

Lines of this file are not shown. View the raw message.

lib/ring/version.map deleted +0 -42

42 lines not on this page · raw message

lib/sched/version.map deleted +0 -30
deleted file mode 100644
index a6ca9ee1ad..0000000000

Lines of this file are not shown. View the raw message.

lib/security/version.map deleted +0 -37
deleted file mode 100644
index 2a4795f31d..0000000000

Lines of this file are not shown. View the raw message.

lib/stack/version.map deleted +0 -9
deleted file mode 100644
index 53c7d3d1c5..0000000000

Lines of this file are not shown. View the raw message.

lib/table/version.map deleted +0 -53

53 lines not on this page · raw message

lib/telemetry/version.map deleted +0 -40
deleted file mode 100644
index 8f032bf532..0000000000

Lines of this file are not shown. View the raw message.

lib/timer/version.map deleted +0 -24
deleted file mode 100644
index 3f19be22d3..0000000000

Lines of this file are not shown. View the raw message.

lib/vhost/version.map deleted +0 -110

110 lines not on this page · raw message

The rest of this diff is not shown. View the raw message.

Signature · 1 line
2.48.1

Part of the diff is not shown here. View the raw message.

#84 lore raw

PATCH v6 8/8 eal: rework function versioning macros

In reply to David Marchand

For versioning symbols:
- MSVC uses pragmas on the symbol,
- GNU linker uses special asm directives,

To accommodate both GNU linker and MSVC linker, introduce new macros for exporting and versioning symbols that will surround the whole function.

This has the advantage of hiding all the ugly details in the macros. Now versioning a symbol is just a call to a single macro:
- RTE_VERSION_SYMBOL (resp. RTE_VERSION_EXPERIMENTAL_SYMBOL), for keeping an old implementation code under a versioned function (resp. experimental function),
- RTE_DEFAULT_SYMBOL, for declaring the new default versioned function, and handling the static link special case, instead of BIND_DEFAULT_SYMBOL + MAP_STATIC_SYMBOL,

This replaces the macros from rte_function_versioning.h that were previously publicly exported.

Update lib/net accordingly.

---
Changes since RFC v4:
- moved new macros to eal_symbol_exports.h and simply dropped legacy macros/header,
- added release notes update,

Changes since RFC v3:
- fixed documentation and simplified examples,

Changes since RFC v1:
- renamed and prefixed macros,
- reindented in prevision of second patch,

---
 buildtools/gen-version-map.py              |  15 +-
 devtools/check-symbol-change.py            |   8 +-
 doc/api/doxy-api-index.md                  |   1 -
 doc/guides/contributing/abi_versioning.rst | 192 ++++++---------------
 doc/guides/rel_notes/release_25_07.rst     |   2 +
 lib/eal/common/eal_symbol_exports.h        |  66 +++++++
 lib/eal/include/rte_function_versioning.h  |  99 -----------
 lib/net/net_crc.h                          |  15 --
 lib/net/rte_net_crc.c                      |  29 +---
 9 files changed, 135 insertions(+), 292 deletions(-)
 delete mode 100644 lib/eal/include/rte_function_versioning.h
buildtools/gen-version-map.py +7 -8
index c7dfc9b8c2..7ee80ec640 100755
@@ -13,10 +13,9 @@
 export_exp_sym_regexp = re.compile(r"^RTE_EXPORT_EXPERIMENTAL_SYMBOL\(([^,]+), ([0-9]+.[0-9]+)\)")
 export_int_sym_regexp = re.compile(r"^RTE_EXPORT_INTERNAL_SYMBOL\(([^)]+)\)")
 export_sym_regexp = re.compile(r"^RTE_EXPORT_SYMBOL\(([^)]+)\)")
-# From rte_function_versioning.h
-ver_sym_regexp = re.compile(r"^VERSION_SYMBOL\(([^,]+), [^,]+, ([^,]+)\)")
-ver_exp_sym_regexp = re.compile(r"^VERSION_SYMBOL_EXPERIMENTAL\([^,]+, ([^,]+)\)")
-default_sym_regexp = re.compile(r"^BIND_DEFAULT_SYMBOL\(([^,]+), [^,]+, ([^,]+)\)")
+ver_sym_regexp = re.compile(r"^RTE_VERSION_SYMBOL\(([^,]+), [^,]+, ([^,]+),")
+ver_exp_sym_regexp = re.compile(r"^RTE_VERSION_EXPERIMENTAL_SYMBOL\([^,]+, ([^,]+),")
+default_sym_regexp = re.compile(r"^RTE_DEFAULT_SYMBOL\(([^,]+), [^,]+, ([^,]+),")
 
 with open(abi_version_file) as f:
     abi = 'DPDK_{}'.format(re.match("([0-9]+).[0-9]", f.readline()).group(1))
@@ -40,14 +39,14 @@
                 node = abi
                 symbol = export_sym_regexp.match(ln).group(1)
             elif ver_sym_regexp.match(ln):
-                node = 'DPDK_{}'.format(ver_sym_regexp.match(ln).group(2))
-                symbol = ver_sym_regexp.match(ln).group(1)
+                node = 'DPDK_{}'.format(ver_sym_regexp.match(ln).group(1))
+                symbol = ver_sym_regexp.match(ln).group(2)
             elif ver_exp_sym_regexp.match(ln):
                 node = 'EXPERIMENTAL'
                 symbol = ver_exp_sym_regexp.match(ln).group(1)
             elif default_sym_regexp.match(ln):
-                node = 'DPDK_{}'.format(default_sym_regexp.match(ln).group(2))
-                symbol = default_sym_regexp.match(ln).group(1)
+                node = 'DPDK_{}'.format(default_sym_regexp.match(ln).group(1))
+                symbol = default_sym_regexp.match(ln).group(2)
 
             if not symbol:
                 continue
devtools/check-symbol-change.py +4 -4
index d522fbb1ec..d59ecaddd7 100755
@@ -12,10 +12,10 @@
 export_exp_sym_regexp = re.compile(r"^.RTE_EXPORT_EXPERIMENTAL_SYMBOL\(([^,]+),")
 export_int_sym_regexp = re.compile(r"^.RTE_EXPORT_INTERNAL_SYMBOL\(([^)]+)\)")
 export_sym_regexp = re.compile(r"^.RTE_EXPORT_SYMBOL\(([^)]+)\)")
-# TODO, handle versioned symbols from rte_function_versioning.h
-# ver_sym_regexp = re.compile(r"^VERSION_SYMBOL\(([^,]+), [^,]+, ([^,]+)\)")
-# ver_exp_sym_regexp = re.compile(r"^VERSION_SYMBOL_EXPERIMENTAL\([^,]+, ([^,]+)\)")
-# default_sym_regexp = re.compile(r"^BIND_DEFAULT_SYMBOL\(([^,]+), [^,]+, ([^,]+)\)")
+# TODO, handle versioned symbols
+# ver_sym_regexp = re.compile(r"^.RTE_VERSION_SYMBOL\(([^,]+), [^,]+, ([^,]+),")
+# ver_exp_sym_regexp = re.compile(r"^.RTE_VERSION_EXPERIMENTAL_SYMBOL\([^,]+, ([^,]+),")
+# default_sym_regexp = re.compile(r"^.RTE_DEFAULT_SYMBOL\(([^,]+), [^,]+, ([^,]+),")
 
 symbols = {}
 
doc/api/doxy-api-index.md +0 -1
index b2fc24b3e4..5c425a2cb9 100644
@@ -248,7 +248,6 @@ The public API headers are grouped by topics:
   [EAL config](@ref rte_eal.h),
   [common](@ref rte_common.h),
   [experimental APIs](@ref rte_compat.h),
-  [ABI versioning](@ref rte_function_versioning.h),
   [version](@ref rte_version.h)
 
 - **tests**:
doc/guides/contributing/abi_versioning.rst +49 -143

304 lines not on this page · raw message

doc/guides/rel_notes/release_25_07.rst +2 -0
index cd1025aac0..093b85d206 100644
@@ -68,6 +68,8 @@ Removed Items
    Also, make sure to start the actual text at the margin.
    =======================================================
 
+* eal: Removed the ``rte_function_versioning.h`` header from the exported headers.
+
 
 API Changes
 -----------
lib/eal/common/eal_symbol_exports.h +66 -0

76 lines not on this page · raw message

lib/eal/include/rte_function_versioning.h deleted +0 -99

99 lines not on this page · raw message

lib/net/net_crc.h +0 -15
index 4930e2f0b3..320b0edca8 100644
@@ -7,21 +7,6 @@
 
 #include "rte_net_crc.h"
 
-void
-rte_net_crc_set_alg_v25(enum rte_net_crc_alg alg);
-
-struct rte_net_crc *
-rte_net_crc_set_alg_v26(enum rte_net_crc_alg alg,
-	enum rte_net_crc_type type);
-
-uint32_t
-rte_net_crc_calc_v25(const void *data,
-	uint32_t data_len, enum rte_net_crc_type type);
-
-uint32_t
-rte_net_crc_calc_v26(const struct rte_net_crc *ctx,
-	const void *data, const uint32_t data_len);
-
 /*
  * Different implementations of CRC
  */
lib/net/rte_net_crc.c +7 -22
index 4efb095bc4..e769c7e22e 100644
@@ -11,7 +11,6 @@
 #include <rte_net_crc.h>
 #include <rte_log.h>
 #include <rte_vect.h>
-#include <rte_function_versioning.h>
 #include <rte_malloc.h>
 
 #include "net_crc.h"
@@ -346,8 +345,7 @@ handlers_init(enum rte_net_crc_alg alg)
 
 /* Public API */
 
-void
-rte_net_crc_set_alg_v25(enum rte_net_crc_alg alg)
+RTE_VERSION_SYMBOL(25, void, rte_net_crc_set_alg, (enum rte_net_crc_alg alg))
 {
 	handlers = NULL;
 	if (max_simd_bitwidth == 0)
@@ -374,10 +372,9 @@ rte_net_crc_set_alg_v25(enum rte_net_crc_alg alg)
 	if (handlers == NULL)
 		handlers = handlers_scalar;
 }
-VERSION_SYMBOL(rte_net_crc_set_alg, _v25, 25);
 
-struct rte_net_crc *rte_net_crc_set_alg_v26(enum rte_net_crc_alg alg,
-	enum rte_net_crc_type type)
+RTE_DEFAULT_SYMBOL(26, struct rte_net_crc *, rte_net_crc_set_alg, (enum rte_net_crc_alg alg,
+	enum rte_net_crc_type type))
 {
 	uint16_t max_simd_bitwidth;
 	struct rte_net_crc *crc;
@@ -415,10 +412,6 @@ struct rte_net_crc *rte_net_crc_set_alg_v26(enum rte_net_crc_alg alg,
 	}
 	return crc;
 }
-BIND_DEFAULT_SYMBOL(rte_net_crc_set_alg, _v26, 26);
-MAP_STATIC_SYMBOL(struct rte_net_crc *rte_net_crc_set_alg(
-	enum rte_net_crc_alg alg, enum rte_net_crc_type type),
-	rte_net_crc_set_alg_v26);
 
 RTE_EXPORT_SYMBOL(rte_net_crc_free)
 void rte_net_crc_free(struct rte_net_crc *crc)
@@ -426,10 +419,8 @@ void rte_net_crc_free(struct rte_net_crc *crc)
 	rte_free(crc);
 }
 
-uint32_t
-rte_net_crc_calc_v25(const void *data,
-	uint32_t data_len,
-	enum rte_net_crc_type type)
+RTE_VERSION_SYMBOL(25, uint32_t, rte_net_crc_calc, (const void *data, uint32_t data_len,
+	enum rte_net_crc_type type))
 {
 	uint32_t ret;
 	rte_net_crc_handler f_handle;
@@ -439,18 +430,12 @@ rte_net_crc_calc_v25(const void *data,
 
 	return ret;
 }
-VERSION_SYMBOL(rte_net_crc_calc, _v25, 25);
 
-uint32_t
-rte_net_crc_calc_v26(const struct rte_net_crc *ctx,
-	const void *data, const uint32_t data_len)
+RTE_DEFAULT_SYMBOL(26, uint32_t, rte_net_crc_calc, (const struct rte_net_crc *ctx,
+	const void *data, const uint32_t data_len))
 {
 	return handlers_dpdk26[ctx->alg].f[ctx->type](data, data_len);
 }
-BIND_DEFAULT_SYMBOL(rte_net_crc_calc, _v26, 26);
-MAP_STATIC_SYMBOL(uint32_t rte_net_crc_calc(const struct rte_net_crc *ctx,
-	const void *data, const uint32_t data_len),
-	rte_net_crc_calc_v26);
 
 /* Call initialisation helpers for all crc algorithm handlers */
 RTE_INIT(rte_net_crc_init)
Signature · 1 line
2.48.1
#85 lore raw

Re: [PATCH v6 8/8] eal: rework function versioning macros

28/03/2025 11:52, David Marchand:

Quoted 12 lines
lib/eal/common/eal_symbol_exports.h +2 -0
@@ -5,6 +5,8 @@
 #ifndef EAL_SYMBOL_EXPORTS_H
 #define EAL_SYMBOL_EXPORTS_H
 
+#include <rte_common.h>
+
 /* Internal macros for exporting symbols, used by the build system.
  * For RTE_EXPORT_EXPERIMENTAL_SYMBOL, ver indicates the
  * version this symbol was introduced in.

lib/eal/common/eal_symbol_exports.h line 23

Quoted 9 lines
lib/eal/common/eal_symbol_exports.h +6 -0
@@ -13,4 +15,68 @@
 #define RTE_EXPORT_INTERNAL_SYMBOL(a)
 #define RTE_EXPORT_SYMBOL(a)
 
+#if !defined(RTE_USE_FUNCTION_VERSIONING) && (defined(RTE_CC_GCC) || defined(RTE_CC_CLANG))
+#define VERSIONING_WARN RTE_PRAGMA_WARNING(Use of function versioning disabled. \
+       Is "use_function_versioning=true" in meson.build?)
+#else
+#define VERSIONING_WARN
+#endif

Why no warning for other compilers?
Why not warn at Meson level?

lib/eal/common/eal_symbol_exports.h line 26

Quoted 3 lines
lib/eal/common/eal_symbol_exports.h +3 -0
+
+/*
+ * Provides backwards compatibility when updating exported functions.

I feel a word is missing. What "provides" it?

lib/eal/common/eal_symbol_exports.h line 37

Quoted 11 lines
lib/eal/common/eal_symbol_exports.h +11 -0
+ * When a symbol is exported from a library to provide an API, it also provides a
+ * calling convention (ABI) that is embodied in its name, return type,
+ * arguments, etc.  On occasion that function may need to change to accommodate
+ * new functionality, behavior, etc.  When that occurs, it is desirable to
+ * allow for backwards compatibility for a time with older binaries that are
+ * dynamically linked to the dpdk.
+ */
+
+#ifdef RTE_BUILD_SHARED_LIB
+
+/*

Why not Doxygen style?

lib/eal/common/eal_symbol_exports.h line 38

Quoted 1 line
lib/eal/common/eal_symbol_exports.h +1 -0
+ * RTE_VERSION_SYMBOL

No need to repeat the macro name here.

lib/eal/common/eal_symbol_exports.h line 39

Quoted 1 line
lib/eal/common/eal_symbol_exports.h +1 -0
+ * Creates a symbol version table entry binding symbol <name>@DPDK_<ver> to the internal

Imperative form is more usual.

lib/eal/common/eal_symbol_exports.h line 45

Quoted 6 lines
lib/eal/common/eal_symbol_exports.h +6 -0
+ * function name <name>_v<ver>.
+ */
+#define RTE_VERSION_SYMBOL(ver, type, name, args) VERSIONING_WARN \
+__asm__(".symver " RTE_STR(name) "_v" RTE_STR(ver) ", " RTE_STR(name) "@DPDK_" RTE_STR(ver)); \
+__rte_used type name ## _v ## ver args; \
+type name ## _v ## ver args

This is only GNU style. It should be highlighted both in this file and the commit log.

Quoted 10 lines
lib/eal/common/eal_symbol_exports.h +10 -0
+
+/*
+ * RTE_VERSION_EXPERIMENTAL_SYMBOL
+ * Similar to RTE_VERSION_SYMBOL but for experimental API symbols.
+ * This is mainly used for keeping compatibility for symbols that get promoted to stable ABI.
+ */
+#define RTE_VERSION_EXPERIMENTAL_SYMBOL(type, name, args) VERSIONING_WARN \
+__asm__(".symver " RTE_STR(name) "_exp, " RTE_STR(name) "@EXPERIMENTAL") \
+__rte_used type name ## _exp args; \
+type name ## _exp args

lib/eal/common/eal_symbol_exports.h line 65

Quoted 10 lines
lib/eal/common/eal_symbol_exports.h +10 -0
+
+/*
+ * RTE_DEFAULT_SYMBOL
+ * Creates a symbol version entry instructing the linker to bind references to
+ * symbol <name> to the internal symbol <name>_v<ver>.
+ */
+#define RTE_DEFAULT_SYMBOL(ver, type, name, args) VERSIONING_WARN \
+__asm__(".symver " RTE_STR(name) "_v" RTE_STR(ver) ", " RTE_STR(name) "@@DPDK_" RTE_STR(ver)); \
+__rte_used type name ## _v ## ver args; \
+type name ## _v ## ver args

Only 3 macros, that's simple and clean, thank you.

#86 lore raw

Re: [PATCH v6 8/8] eal: rework function versioning macros

Quoted 17 lines · Thomas Monjalon

28/03/2025 11:52, David Marchand:

Quoted 15 lines
lib/eal/common/eal_symbol_exports.h +2 -0
@@ -5,6 +5,8 @@
 #ifndef EAL_SYMBOL_EXPORTS_H
 #define EAL_SYMBOL_EXPORTS_H
 
+#include <rte_common.h>
+
 /* Internal macros for exporting symbols, used by the build system.
  * For RTE_EXPORT_EXPERIMENTAL_SYMBOL, ver indicates the
  * version this symbol was introduced in.
@@ -13,4 +15,68 @@
 #define RTE_EXPORT_INTERNAL_SYMBOL(a)
 #define RTE_EXPORT_SYMBOL(a)
 
Quoted 9 lines

lib/eal/common/eal_symbol_exports.h line 23

Quoted 6 lines
lib/eal/common/eal_symbol_exports.h +6 -0
+#if !defined(RTE_USE_FUNCTION_VERSIONING) && (defined(RTE_CC_GCC) || defined(RTE_CC_CLANG))
+#define VERSIONING_WARN RTE_PRAGMA_WARNING(Use of function versioning disabled. \
+       Is "use_function_versioning=true" in meson.build?)
+#else
+#define VERSIONING_WARN
+#endif

Why no warning for other compilers?
Why not warn at Meson level?

Symbol versioning is not functional with Windows compiler / linker atm.

When it is ready, the right warning mechanism can be implemented here.

Quoted 6 lines

lib/eal/common/eal_symbol_exports.h line 26

Quoted 4 lines
lib/eal/common/eal_symbol_exports.h +3 -0
+
+/*
+ * Provides backwards compatibility when updating exported functions.

I feel a word is missing. What "provides" it?

I'll reword.

Quoted 14 lines

lib/eal/common/eal_symbol_exports.h line 37

Quoted 12 lines
lib/eal/common/eal_symbol_exports.h +11 -0
+ * When a symbol is exported from a library to provide an API, it also provides a
+ * calling convention (ABI) that is embodied in its name, return type,
+ * arguments, etc.  On occasion that function may need to change to accommodate
+ * new functionality, behavior, etc.  When that occurs, it is desirable to
+ * allow for backwards compatibility for a time with older binaries that are
+ * dynamically linked to the dpdk.
+ */
+
+#ifdef RTE_BUILD_SHARED_LIB
+
+/*

Why not Doxygen style?

Because this header is internal, and not parsed by Doxygen?

Quoted 8 lines

lib/eal/common/eal_symbol_exports.h line 38

Quoted 2 lines
lib/eal/common/eal_symbol_exports.h +1 -0
+ * RTE_VERSION_SYMBOL

No need to repeat the macro name here.

lib/eal/common/eal_symbol_exports.h line 39

Quoted 1 line
lib/eal/common/eal_symbol_exports.h +1 -0
+ * Creates a symbol version table entry binding symbol <name>@DPDK_<ver> to the internal

Imperative form is more usual.

Ack.

Quoted 9 lines

lib/eal/common/eal_symbol_exports.h line 45

Quoted 7 lines
lib/eal/common/eal_symbol_exports.h +6 -0
+ * function name <name>_v<ver>.
+ */
+#define RTE_VERSION_SYMBOL(ver, type, name, args) VERSIONING_WARN \
+__asm__(".symver " RTE_STR(name) "_v" RTE_STR(ver) ", " RTE_STR(name) "@DPDK_" RTE_STR(ver)); \
+__rte_used type name ## _v ## ver args; \
+type name ## _v ## ver args

This is only GNU style. It should be highlighted both in this file and the commit log.

Yes, I'll insist on this point in the commitlog.

Signature · 1 line
David Marchand
#87 lore raw

v7 cover Symbol versioning and export rework

In reply to David Marchand

So far, each DPDK library (or driver) exposing symbols in an ABI had to maintain a version.map and use some macros for symbol versioning, specially crafted with the GNU linker in mind.

This series proposes to rework the whole principle, and instead rely on marking the symbol exports in the source code itself, then let it to the build framework to produce a version script adapted to the linker in use (think GNU linker vs MSVC linker).

This greatly simplifies versioning symbols: a developer does not need to know anything about version.map, or that a versioned symbol must be renamed with _v26, annotated with __vsym, exported in a header etc...

Checking symbol maps becomes unnecessary since generated by the build framework.

Updating to a new ABI is just a matter of bumping the value in ABI_VERSION.

Signature · 703 lines
David Marchand

Changes since v6:
- used argparse in python scripts,
- renamed eal_symbol_exports.h as eal_export.h,
- renamed some base symbols export files,

Changes since v5:
- fixed Windows symbol exports for net/mlx5,

Changes since RFC v4:
- rebased on main, now that Bruce series is merged,
- the export macros header has been moved to lib/eal/common/
  and its inclusion is now mandatory (rather than an implicit -include),
- reordered patches: symbol versioning is touched last and merged
  in the export header (replacing the legacy rte_function_versioning.h),

Changes since RFC v3:
- fixed/simplified documentation,
- rebased on top of Bruce series for common handling of AVX sources,

Changes since RFC v2:
- updated RTE_VERSION_SYMBOL() (and friends) so that only the fonction
  signature is enclosed in the macro,
- dropped invalid exports for some dead symbols or inline helpers,
- updated documentation and tooling,
- converted the whole tree (via a local script of mine),

David Marchand (8):
  lib: remove incorrect exported symbols
  drivers: remove incorrect exported symbols
  buildtools: display symbols version from map
  build: generate symbol maps
  build: mark exported symbols
  build: use dynamically generated version maps
  build: remove static version maps
  eal: rework function versioning macros

 .github/workflows/build.yml                   |   1 -
 MAINTAINERS                                   |   9 +-
 buildtools/check-symbols.sh                   |  33 +-
 buildtools/gen-version-map.py                 | 133 ++++
 buildtools/map-list-symbol.sh                 |  15 +-
 buildtools/map_to_win.py                      |  41 --
 buildtools/meson.build                        |   2 +-
 devtools/check-spdx-tag.sh                    |   2 +-
 devtools/check-symbol-change.py               | 108 ++++
 devtools/check-symbol-change.sh               | 186 ------
 devtools/check-symbol-maps.sh                 | 115 ----
 devtools/checkpatches.sh                      |   6 +-
 devtools/update-abi.sh                        |  46 --
 devtools/update_version_map_abi.py            | 210 -------
 doc/api/doxy-api-index.md                     |   1 -
 doc/guides/contributing/abi_policy.rst        |  21 +-
 doc/guides/contributing/abi_versioning.rst    | 415 +++----------
 doc/guides/contributing/coding_style.rst      |   7 -
 .../contributing/img/patch_cheatsheet.svg     | 303 +++++----
 doc/guides/contributing/patches.rst           |   6 +-
 doc/guides/rel_notes/release_25_07.rst        |   2 +
 drivers/baseband/acc/rte_acc100_pmd.c         |   2 +
 drivers/baseband/acc/version.map              |  10 -
 .../fpga_5gnr_fec/rte_fpga_5gnr_fec.c         |   2 +
 drivers/baseband/fpga_5gnr_fec/version.map    |  11 -
 drivers/baseband/fpga_lte_fec/fpga_lte_fec.c  |   2 +
 drivers/baseband/fpga_lte_fec/version.map     |  10 -
 drivers/bus/auxiliary/auxiliary_common.c      |   3 +
 drivers/bus/auxiliary/version.map             |   8 -
 drivers/bus/cdx/cdx.c                         |   5 +
 drivers/bus/cdx/cdx_vfio.c                    |   5 +
 drivers/bus/cdx/version.map                   |  14 -
 drivers/bus/dpaa/dpaa_bus.c                   |  10 +
 drivers/bus/dpaa/dpaa_bus_base_symbols.c      | 100 +++
 drivers/bus/dpaa/meson.build                  |   1 +
 drivers/bus/dpaa/version.map                  | 109 ----
 drivers/bus/fslmc/fslmc_bus.c                 |   5 +
 drivers/bus/fslmc/fslmc_vfio.c                |  13 +
 drivers/bus/fslmc/mc/dpbp.c                   |   8 +
 drivers/bus/fslmc/mc/dpci.c                   |   5 +
 drivers/bus/fslmc/mc/dpcon.c                  |   8 +
 drivers/bus/fslmc/mc/dpdmai.c                 |  10 +
 drivers/bus/fslmc/mc/dpio.c                   |  15 +
 drivers/bus/fslmc/mc/dpmng.c                  |   4 +
 drivers/bus/fslmc/mc/mc_sys.c                 |   2 +
 drivers/bus/fslmc/portal/dpaa2_hw_dpbp.c      |   4 +
 drivers/bus/fslmc/portal/dpaa2_hw_dpci.c      |   3 +
 drivers/bus/fslmc/portal/dpaa2_hw_dpio.c      |  12 +
 drivers/bus/fslmc/qbman/qbman_debug.c         |   4 +
 drivers/bus/fslmc/qbman/qbman_portal.c        |  43 ++
 drivers/bus/fslmc/version.map                 | 129 ----
 drivers/bus/ifpga/ifpga_bus.c                 |   4 +
 drivers/bus/ifpga/version.map                 |   9 -
 drivers/bus/pci/bsd/pci.c                     |  11 +
 drivers/bus/pci/linux/pci.c                   |  11 +
 drivers/bus/pci/pci_common.c                  |  11 +
 drivers/bus/pci/version.map                   |  43 --
 drivers/bus/pci/windows/pci.c                 |  11 +
 drivers/bus/platform/platform.c               |   3 +
 drivers/bus/platform/version.map              |  10 -
 drivers/bus/uacce/uacce.c                     |  10 +
 drivers/bus/uacce/version.map                 |  15 -
 drivers/bus/vdev/vdev.c                       |   7 +
 drivers/bus/vdev/version.map                  |  17 -
 drivers/bus/vmbus/linux/vmbus_bus.c           |   7 +
 drivers/bus/vmbus/version.map                 |  33 -
 drivers/bus/vmbus/vmbus_channel.c             |  14 +
 drivers/bus/vmbus/vmbus_common.c              |   4 +
 drivers/common/cnxk/cnxk_security.c           |  13 +
 drivers/common/cnxk/cnxk_utils.c              |   2 +
 drivers/common/cnxk/meson.build               |   1 +
 drivers/common/cnxk/roc_platform.c            |  19 +
 .../common/cnxk/roc_platform_base_symbols.c   | 546 +++++++++++++++++
 drivers/common/cnxk/roc_se.h                  |   1 -
 drivers/common/cnxk/version.map               | 578 ------------------
 drivers/common/cpt/cpt_fpm_tables.c           |   3 +
 drivers/common/cpt/cpt_pmd_ops_helper.c       |   4 +
 drivers/common/cpt/version.map                |  11 -
 drivers/common/dpaax/caamflib.c               |   3 +
 drivers/common/dpaax/dpaa_of.c                |  13 +
 drivers/common/dpaax/dpaax_iova_table.c       |   7 +
 drivers/common/dpaax/version.map              |  25 -
 drivers/common/ionic/ionic_common_uio.c       |   5 +
 drivers/common/ionic/version.map              |  10 -
 .../common/mlx5/linux/mlx5_common_auxiliary.c |   2 +
 drivers/common/mlx5/linux/mlx5_common_os.c    |  11 +
 drivers/common/mlx5/linux/mlx5_common_verbs.c |   4 +
 drivers/common/mlx5/linux/mlx5_glue.c         |   3 +
 drivers/common/mlx5/linux/mlx5_nl.c           |  22 +
 drivers/common/mlx5/mlx5_common.c             |  10 +
 drivers/common/mlx5/mlx5_common_devx.c        |  10 +
 drivers/common/mlx5/mlx5_common_mp.c          |   9 +
 drivers/common/mlx5/mlx5_common_mr.c          |  12 +
 drivers/common/mlx5/mlx5_common_pci.c         |   3 +
 drivers/common/mlx5/mlx5_common_utils.c       |  12 +
 drivers/common/mlx5/mlx5_devx_cmds.c          |  52 ++
 drivers/common/mlx5/mlx5_malloc.c             |   5 +
 drivers/common/mlx5/version.map               | 175 ------
 drivers/common/mlx5/windows/mlx5_common_os.c  |   7 +
 drivers/common/mlx5/windows/mlx5_glue.c       |   4 +-
 drivers/common/mvep/mvep_common.c             |   3 +
 drivers/common/mvep/version.map               |   8 -
 drivers/common/nfp/nfp_common.c               |   9 +
 drivers/common/nfp/nfp_common_pci.c           |   2 +
 drivers/common/nfp/nfp_dev.c                  |   2 +
 drivers/common/nfp/version.map                |  16 -
 drivers/common/nitrox/nitrox_device.c         |   2 +
 drivers/common/nitrox/nitrox_logs.c           |   2 +
 drivers/common/nitrox/nitrox_qp.c             |   3 +
 drivers/common/nitrox/version.map             |  10 -
 drivers/common/octeontx/octeontx_mbox.c       |   7 +
 drivers/common/octeontx/version.map           |  12 -
 drivers/common/sfc_efx/meson.build            |   1 +
 drivers/common/sfc_efx/sfc_base_symbols.c     | 276 +++++++++
 drivers/common/sfc_efx/sfc_efx.c              |   3 +
 drivers/common/sfc_efx/sfc_efx_mcdi.c         |   3 +
 drivers/common/sfc_efx/version.map            | 302 ---------
 drivers/crypto/cnxk/cn10k_cryptodev_ops.c     |   8 +
 drivers/crypto/cnxk/cn9k_cryptodev_ops.c      |   3 +
 drivers/crypto/cnxk/cnxk_cryptodev_ops.c      |   8 +
 drivers/crypto/cnxk/version.map               |  30 -
 drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c   |   3 +
 drivers/crypto/dpaa2_sec/version.map          |   8 -
 drivers/crypto/dpaa_sec/dpaa_sec.c            |   3 +
 drivers/crypto/dpaa_sec/version.map           |   8 -
 drivers/crypto/octeontx/otx_cryptodev_ops.c   |   3 +
 drivers/crypto/octeontx/version.map           |  12 -
 .../scheduler/rte_cryptodev_scheduler.c       |  11 +
 drivers/crypto/scheduler/version.map          |  16 -
 drivers/dma/cnxk/cnxk_dmadev_fp.c             |   5 +
 drivers/dma/cnxk/version.map                  |  10 -
 drivers/event/cnxk/cnxk_worker.c              |   3 +
 drivers/event/cnxk/version.map                |  11 -
 drivers/event/dlb2/rte_pmd_dlb2.c             |   2 +
 drivers/event/dlb2/version.map                |  10 -
 drivers/mempool/cnxk/cn10k_hwpool_ops.c       |   4 +
 drivers/mempool/cnxk/version.map              |  12 -
 drivers/mempool/dpaa/dpaa_mempool.c           |   3 +
 drivers/mempool/dpaa/version.map              |   8 -
 drivers/mempool/dpaa2/dpaa2_hw_mempool.c      |   6 +
 drivers/mempool/dpaa2/version.map             |  16 -
 drivers/meson.build                           |  76 +--
 drivers/net/atlantic/rte_pmd_atlantic.c       |   7 +
 drivers/net/atlantic/version.map              |  15 -
 drivers/net/bnxt/rte_pmd_bnxt.c               |  17 +
 drivers/net/bnxt/version.map                  |  22 -
 drivers/net/bonding/rte_eth_bond_8023ad.c     |  13 +
 drivers/net/bonding/rte_eth_bond_api.c        |  16 +
 drivers/net/bonding/version.map               |  33 -
 drivers/net/cnxk/cnxk_ethdev.c                |   4 +
 drivers/net/cnxk/cnxk_ethdev_sec.c            |  10 +
 drivers/net/cnxk/version.map                  |  27 -
 drivers/net/dpaa/dpaa_ethdev.c                |   4 +
 drivers/net/dpaa/version.map                  |  14 -
 drivers/net/dpaa2/base/dpaa2_hw_dpni.c        |   2 +
 drivers/net/dpaa2/base/dpaa2_tlu_hash.c       |   3 +
 drivers/net/dpaa2/dpaa2_ethdev.c              |   8 +
 drivers/net/dpaa2/dpaa2_mux.c                 |   4 +
 drivers/net/dpaa2/dpaa2_rxtx.c                |   2 +
 drivers/net/dpaa2/version.map                 |  35 --
 drivers/net/intel/i40e/rte_pmd_i40e.c         |  40 ++
 drivers/net/intel/i40e/version.map            |  55 --
 drivers/net/intel/iavf/iavf_base_symbols.c    |  14 +
 drivers/net/intel/iavf/iavf_rxtx.c            |   9 +
 drivers/net/intel/iavf/meson.build            |   1 +
 drivers/net/intel/iavf/version.map            |  33 -
 drivers/net/intel/ice/ice_diagnose.c          |   4 +
 drivers/net/intel/ice/version.map             |  16 -
 drivers/net/intel/idpf/idpf_common_device.c   |  11 +
 drivers/net/intel/idpf/idpf_common_rxtx.c     |  25 +
 .../net/intel/idpf/idpf_common_rxtx_avx2.c    |   3 +
 .../net/intel/idpf/idpf_common_rxtx_avx512.c  |   6 +
 drivers/net/intel/idpf/idpf_common_virtchnl.c |  31 +
 drivers/net/intel/idpf/version.map            |  80 ---
 drivers/net/intel/ipn3ke/ipn3ke_ethdev.c      |   2 +
 drivers/net/intel/ipn3ke/version.map          |   9 -
 drivers/net/intel/ixgbe/rte_pmd_ixgbe.c       |  38 ++
 drivers/net/intel/ixgbe/version.map           |  49 --
 drivers/net/mlx5/mlx5.c                       |   2 +
 drivers/net/mlx5/mlx5_flow.c                  |   5 +
 drivers/net/mlx5/mlx5_rx.c                    |   3 +
 drivers/net/mlx5/mlx5_rxq.c                   |   3 +
 drivers/net/mlx5/mlx5_tx.c                    |   2 +
 drivers/net/mlx5/mlx5_txq.c                   |   4 +
 drivers/net/mlx5/version.map                  |  28 -
 drivers/net/octeontx/octeontx_ethdev.c        |   2 +
 drivers/net/octeontx/version.map              |   7 -
 drivers/net/ring/rte_eth_ring.c               |   3 +
 drivers/net/ring/version.map                  |   8 -
 drivers/net/softnic/rte_eth_softnic.c         |   2 +
 drivers/net/softnic/rte_eth_softnic_thread.c  |   2 +
 drivers/net/softnic/version.map               |   8 -
 drivers/net/vhost/rte_eth_vhost.c             |   3 +
 drivers/net/vhost/version.map                 |   8 -
 drivers/power/kvm_vm/guest_channel.c          |   3 +
 drivers/power/kvm_vm/version.map              |   8 -
 drivers/raw/cnxk_rvu_lf/cnxk_rvu_lf.c         |  11 +
 drivers/raw/cnxk_rvu_lf/version.map           |  16 -
 drivers/raw/ifpga/rte_pmd_ifpga.c             |  12 +
 drivers/raw/ifpga/version.map                 |  17 -
 drivers/version.map                           |   3 -
 lib/acl/acl_bld.c                             |   2 +
 lib/acl/acl_run_scalar.c                      |   3 +
 lib/acl/rte_acl.c                             |  12 +
 lib/acl/version.map                           |  19 -
 lib/argparse/rte_argparse.c                   |   3 +
 lib/argparse/version.map                      |   9 -
 lib/bbdev/bbdev_trace_points.c                |   3 +
 lib/bbdev/rte_bbdev.c                         |  32 +
 lib/bbdev/version.map                         |  47 --
 lib/bitratestats/rte_bitrate.c                |   5 +
 lib/bitratestats/version.map                  |  10 -
 lib/bpf/bpf.c                                 |   3 +
 lib/bpf/bpf_convert.c                         |   2 +
 lib/bpf/bpf_dump.c                            |   2 +
 lib/bpf/bpf_exec.c                            |   3 +
 lib/bpf/bpf_load.c                            |   2 +
 lib/bpf/bpf_load_elf.c                        |   2 +
 lib/bpf/bpf_pkt.c                             |   5 +
 lib/bpf/bpf_stub.c                            |   3 +
 lib/bpf/version.map                           |  18 -
 lib/cfgfile/rte_cfgfile.c                     |  18 +
 lib/cfgfile/version.map                       |  23 -
 lib/cmdline/cmdline.c                         |  10 +
 lib/cmdline/cmdline_cirbuf.c                  |  21 +
 lib/cmdline/cmdline_parse.c                   |   5 +
 lib/cmdline/cmdline_parse_bool.c              |   2 +
 lib/cmdline/cmdline_parse_etheraddr.c         |   4 +
 lib/cmdline/cmdline_parse_ipaddr.c            |   4 +
 lib/cmdline/cmdline_parse_num.c               |   4 +
 lib/cmdline/cmdline_parse_portlist.c          |   4 +
 lib/cmdline/cmdline_parse_string.c            |   6 +
 lib/cmdline/cmdline_rdline.c                  |  17 +
 lib/cmdline/cmdline_socket.c                  |   5 +
 lib/cmdline/cmdline_vt100.c                   |   4 +
 lib/cmdline/version.map                       |  82 ---
 lib/compressdev/rte_comp.c                    |   7 +
 lib/compressdev/rte_compressdev.c             |  26 +
 lib/compressdev/rte_compressdev_pmd.c         |   4 +
 lib/compressdev/version.map                   |  40 --
 lib/cryptodev/cryptodev_pmd.c                 |   8 +
 lib/cryptodev/cryptodev_trace_points.c        |   4 +
 lib/cryptodev/rte_cryptodev.c                 |  84 +++
 lib/cryptodev/version.map                     | 114 ----
 lib/dispatcher/rte_dispatcher.c               |  14 +
 lib/dispatcher/version.map                    |  20 -
 lib/distributor/rte_distributor.c             |  10 +
 lib/distributor/version.map                   |  15 -
 lib/dmadev/rte_dmadev.c                       |  20 +
 lib/dmadev/rte_dmadev_trace_points.c          |   8 +
 lib/dmadev/version.map                        |  47 --
 lib/eal/arm/rte_cpuflags.c                    |   4 +
 lib/eal/arm/rte_hypervisor.c                  |   2 +
 lib/eal/arm/rte_power_intrinsics.c            |   5 +
 lib/eal/common/eal_common_bus.c               |  11 +
 lib/eal/common/eal_common_class.c             |   5 +
 lib/eal/common/eal_common_config.c            |   8 +
 lib/eal/common/eal_common_cpuflags.c          |   2 +
 lib/eal/common/eal_common_debug.c             |   3 +
 lib/eal/common/eal_common_dev.c               |  20 +
 lib/eal/common/eal_common_devargs.c           |  10 +
 lib/eal/common/eal_common_errno.c             |   3 +
 lib/eal/common/eal_common_fbarray.c           |  27 +
 lib/eal/common/eal_common_hexdump.c           |   3 +
 lib/eal/common/eal_common_hypervisor.c        |   2 +
 lib/eal/common/eal_common_interrupts.c        |  28 +
 lib/eal/common/eal_common_launch.c            |   6 +
 lib/eal/common/eal_common_lcore.c             |  18 +
 lib/eal/common/eal_common_lcore_var.c         |   2 +
 lib/eal/common/eal_common_mcfg.c              |  21 +
 lib/eal/common/eal_common_memory.c            |  30 +
 lib/eal/common/eal_common_memzone.c           |  10 +
 lib/eal/common/eal_common_options.c           |   5 +
 lib/eal/common/eal_common_proc.c              |   9 +
 lib/eal/common/eal_common_string_fns.c        |   4 +
 lib/eal/common/eal_common_tailqs.c            |   4 +
 lib/eal/common/eal_common_thread.c            |  15 +
 lib/eal/common/eal_common_timer.c             |   5 +
 lib/eal/common/eal_common_trace.c             |  16 +
 lib/eal/common/eal_common_trace_ctf.c         |   2 +
 lib/eal/common/eal_common_trace_points.c      |  19 +
 lib/eal/common/eal_common_trace_utils.c       |   2 +
 lib/eal/common/eal_common_uuid.c              |   5 +
 lib/eal/common/eal_export.h                   |  79 +++
 lib/eal/common/rte_bitset.c                   |   2 +
 lib/eal/common/rte_keepalive.c                |   7 +
 lib/eal/common/rte_malloc.c                   |  23 +
 lib/eal/common/rte_random.c                   |   5 +
 lib/eal/common/rte_reciprocal.c               |   3 +
 lib/eal/common/rte_service.c                  |  32 +
 lib/eal/common/rte_version.c                  |   8 +
 lib/eal/freebsd/eal.c                         |  23 +
 lib/eal/freebsd/eal_alarm.c                   |   3 +
 lib/eal/freebsd/eal_dev.c                     |   5 +
 lib/eal/freebsd/eal_interrupts.c              |  20 +
 lib/eal/freebsd/eal_memory.c                  |   4 +
 lib/eal/freebsd/eal_thread.c                  |   3 +
 lib/eal/freebsd/eal_timer.c                   |   2 +
 lib/eal/include/rte_function_versioning.h     |  99 ---
 lib/eal/linux/eal.c                           |   8 +
 lib/eal/linux/eal_alarm.c                     |   3 +
 lib/eal/linux/eal_dev.c                       |   5 +
 lib/eal/linux/eal_interrupts.c                |  20 +
 lib/eal/linux/eal_memory.c                    |   4 +
 lib/eal/linux/eal_thread.c                    |   3 +
 lib/eal/linux/eal_timer.c                     |   5 +
 lib/eal/linux/eal_vfio.c                      |  17 +
 lib/eal/loongarch/rte_cpuflags.c              |   4 +
 lib/eal/loongarch/rte_hypervisor.c            |   2 +
 lib/eal/loongarch/rte_power_intrinsics.c      |   5 +
 lib/eal/ppc/rte_cpuflags.c                    |   4 +
 lib/eal/ppc/rte_hypervisor.c                  |   2 +
 lib/eal/ppc/rte_power_intrinsics.c            |   5 +
 lib/eal/riscv/rte_cpuflags.c                  |   4 +
 lib/eal/riscv/rte_hypervisor.c                |   2 +
 lib/eal/riscv/rte_power_intrinsics.c          |   5 +
 lib/eal/unix/eal_debug.c                      |   3 +
 lib/eal/unix/eal_filesystem.c                 |   2 +
 lib/eal/unix/eal_firmware.c                   |   2 +
 lib/eal/unix/eal_unix_memory.c                |   5 +
 lib/eal/unix/eal_unix_timer.c                 |   2 +
 lib/eal/unix/rte_thread.c                     |  14 +
 lib/eal/version.map                           | 451 --------------
 lib/eal/windows/eal.c                         |  12 +
 lib/eal/windows/eal_alarm.c                   |   3 +
 lib/eal/windows/eal_debug.c                   |   2 +
 lib/eal/windows/eal_dev.c                     |   5 +
 lib/eal/windows/eal_interrupts.c              |  20 +
 lib/eal/windows/eal_memory.c                  |   8 +
 lib/eal/windows/eal_mp.c                      |   7 +
 lib/eal/windows/eal_thread.c                  |   2 +
 lib/eal/windows/eal_timer.c                   |   2 +
 lib/eal/windows/rte_thread.c                  |  15 +
 lib/eal/x86/rte_cpuflags.c                    |   4 +
 lib/eal/x86/rte_hypervisor.c                  |   2 +
 lib/eal/x86/rte_power_intrinsics.c            |   5 +
 lib/eal/x86/rte_spinlock.c                    |   2 +
 lib/efd/rte_efd.c                             |   8 +
 lib/efd/version.map                           |  13 -
 lib/ethdev/ethdev_driver.c                    |  25 +
 lib/ethdev/ethdev_linux_ethtool.c             |   4 +
 lib/ethdev/ethdev_private.c                   |   3 +
 lib/ethdev/ethdev_trace_points.c              |   7 +
 lib/ethdev/rte_ethdev.c                       | 169 +++++
 lib/ethdev/rte_ethdev_cman.c                  |   5 +
 lib/ethdev/rte_flow.c                         |  65 ++
 lib/ethdev/rte_mtr.c                          |  22 +
 lib/ethdev/rte_tm.c                           |  32 +
 lib/ethdev/version.map                        | 378 ------------
 lib/eventdev/eventdev_private.c               |   3 +
 lib/eventdev/eventdev_trace_points.c          |  12 +
 lib/eventdev/rte_event_crypto_adapter.c       |  16 +
 lib/eventdev/rte_event_dma_adapter.c          |  16 +
 lib/eventdev/rte_event_eth_rx_adapter.c       |  24 +
 lib/eventdev/rte_event_eth_tx_adapter.c       |  18 +
 lib/eventdev/rte_event_ring.c                 |   5 +
 lib/eventdev/rte_event_timer_adapter.c        |  12 +
 lib/eventdev/rte_eventdev.c                   |  47 ++
 lib/eventdev/version.map                      | 179 ------
 lib/fib/rte_fib.c                             |  11 +
 lib/fib/rte_fib6.c                            |  10 +
 lib/fib/version.map                           |  31 -
 lib/gpudev/gpudev.c                           |  33 +
 lib/gpudev/version.map                        |  44 --
 lib/graph/graph.c                             |  17 +
 lib/graph/graph_debug.c                       |   3 +
 lib/graph/graph_stats.c                       |   5 +
 lib/graph/node.c                              |  12 +
 lib/graph/rte_graph_model_mcore_dispatch.c    |   4 +
 lib/graph/rte_graph_worker.c                  |   4 +
 lib/graph/version.map                         |  61 --
 lib/gro/rte_gro.c                             |   7 +
 lib/gro/version.map                           |  12 -
 lib/gso/rte_gso.c                             |   2 +
 lib/gso/version.map                           |   7 -
 lib/hash/rte_cuckoo_hash.c                    |  28 +
 lib/hash/rte_fbk_hash.c                       |   4 +
 lib/hash/rte_hash_crc.c                       |   3 +
 lib/hash/rte_thash.c                          |  13 +
 lib/hash/rte_thash_gf2_poly_math.c            |   2 +
 lib/hash/rte_thash_gfni.c                     |   3 +
 lib/hash/version.map                          |  66 --
 lib/ip_frag/rte_ip_frag_common.c              |   6 +
 lib/ip_frag/rte_ipv4_fragmentation.c          |   3 +
 lib/ip_frag/rte_ipv4_reassembly.c             |   2 +
 lib/ip_frag/rte_ipv6_fragmentation.c          |   2 +
 lib/ip_frag/rte_ipv6_reassembly.c             |   2 +
 lib/ip_frag/version.map                       |  16 -
 lib/ipsec/ipsec_sad.c                         |   7 +
 lib/ipsec/ipsec_telemetry.c                   |   3 +
 lib/ipsec/sa.c                                |   5 +
 lib/ipsec/ses.c                               |   2 +
 lib/ipsec/version.map                         |  23 -
 lib/jobstats/rte_jobstats.c                   |  15 +
 lib/jobstats/version.map                      |  20 -
 lib/kvargs/rte_kvargs.c                       |   9 +
 lib/kvargs/version.map                        |  14 -
 lib/latencystats/rte_latencystats.c           |   6 +
 lib/latencystats/version.map                  |  11 -
 lib/log/log.c                                 |  23 +
 lib/log/log_color.c                           |   2 +
 lib/log/log_internal.h                        |   3 -
 lib/log/log_syslog.c                          |   2 +
 lib/log/log_timestamp.c                       |   2 +
 lib/log/version.map                           |  37 --
 lib/lpm/rte_lpm.c                             |   9 +
 lib/lpm/rte_lpm6.c                            |  11 +
 lib/lpm/version.map                           |  24 -
 lib/mbuf/rte_mbuf.c                           |  18 +
 lib/mbuf/rte_mbuf_dyn.c                       |  10 +
 lib/mbuf/rte_mbuf_pool_ops.c                  |   6 +
 lib/mbuf/rte_mbuf_ptype.c                     |   9 +
 lib/mbuf/version.map                          |  45 --
 lib/member/rte_member.c                       |  14 +
 lib/member/version.map                        |  19 -
 lib/mempool/mempool_trace_points.c            |  11 +
 lib/mempool/rte_mempool.c                     |  28 +
 lib/mempool/rte_mempool_ops.c                 |   5 +
 lib/mempool/rte_mempool_ops_default.c         |   5 +
 lib/mempool/version.map                       |  65 --
 lib/meson.build                               |  69 +--
 lib/meter/rte_meter.c                         |   7 +
 lib/meter/version.map                         |  12 -
 lib/metrics/rte_metrics.c                     |   9 +
 lib/metrics/rte_metrics_telemetry.c           |  12 +
 lib/metrics/version.map                       |  26 -
 lib/mldev/mldev_utils.c                       |   3 +
 lib/mldev/mldev_utils_neon.c                  |  20 +
 lib/mldev/mldev_utils_neon_bfloat16.c         |   4 +
 lib/mldev/mldev_utils_scalar.c                |  20 +
 lib/mldev/mldev_utils_scalar_bfloat16.c       |   4 +
 lib/mldev/rte_mldev.c                         |  38 ++
 lib/mldev/rte_mldev_pmd.c                     |   3 +
 lib/mldev/version.map                         |  74 ---
 lib/net/net_crc.h                             |  15 -
 lib/net/rte_arp.c                             |   2 +
 lib/net/rte_ether.c                           |   4 +
 lib/net/rte_net.c                             |   3 +
 lib/net/rte_net_crc.c                         |  31 +-
 lib/net/version.map                           |  23 -
 lib/node/ethdev_ctrl.c                        |   3 +
 lib/node/ip4_lookup.c                         |   2 +
 lib/node/ip4_reassembly.c                     |   2 +
 lib/node/ip4_rewrite.c                        |   2 +
 lib/node/ip6_lookup.c                         |   2 +
 lib/node/ip6_rewrite.c                        |   2 +
 lib/node/udp4_input.c                         |   3 +
 lib/node/version.map                          |  25 -
 lib/pcapng/rte_pcapng.c                       |   8 +
 lib/pcapng/version.map                        |  13 -
 lib/pci/rte_pci.c                             |   4 +
 lib/pci/version.map                           |   9 -
 lib/pdcp/rte_pdcp.c                           |   6 +
 lib/pdcp/version.map                          |  16 -
 lib/pdump/rte_pdump.c                         |  10 +
 lib/pdump/version.map                         |  15 -
 lib/pipeline/rte_pipeline.c                   |  24 +
 lib/pipeline/rte_port_in_action.c             |   9 +
 lib/pipeline/rte_swx_ctl.c                    |  18 +
 lib/pipeline/rte_swx_ipsec.c                  |   8 +
 lib/pipeline/rte_swx_pipeline.c               |  74 +++
 lib/pipeline/rte_table_action.c               |  17 +
 lib/pipeline/version.map                      | 172 ------
 lib/port/rte_port_ethdev.c                    |   4 +
 lib/port/rte_port_eventdev.c                  |   4 +
 lib/port/rte_port_fd.c                        |   4 +
 lib/port/rte_port_frag.c                      |   3 +
 lib/port/rte_port_ras.c                       |   3 +
 lib/port/rte_port_ring.c                      |   7 +
 lib/port/rte_port_sched.c                     |   3 +
 lib/port/rte_port_source_sink.c               |   3 +
 lib/port/rte_port_sym_crypto.c                |   4 +
 lib/port/rte_swx_port_ethdev.c                |   3 +
 lib/port/rte_swx_port_fd.c                    |   3 +
 lib/port/rte_swx_port_ring.c                  |   3 +
 lib/port/rte_swx_port_source_sink.c           |   4 +
 lib/port/version.map                          |  50 --
 lib/power/power_common.c                      |   9 +
 lib/power/rte_power_cpufreq.c                 |  19 +
 lib/power/rte_power_pmd_mgmt.c                |  11 +
 lib/power/rte_power_qos.c                     |   3 +
 lib/power/rte_power_uncore.c                  |  15 +
 lib/power/version.map                         |  71 ---
 lib/rawdev/rte_rawdev.c                       |  31 +
 lib/rawdev/version.map                        |  36 --
 lib/rcu/rte_rcu_qsbr.c                        |  12 +
 lib/rcu/version.map                           |  17 -
 lib/regexdev/rte_regexdev.c                   |  27 +
 lib/regexdev/version.map                      |  40 --
 lib/reorder/rte_reorder.c                     |  12 +
 lib/reorder/version.map                       |  27 -
 lib/rib/rte_rib.c                             |  15 +
 lib/rib/rte_rib6.c                            |  15 +
 lib/rib/version.map                           |  34 --
 lib/ring/rte_ring.c                           |  12 +
 lib/ring/rte_soring.c                         |   4 +
 lib/ring/soring.c                             |  18 +
 lib/ring/version.map                          |  42 --
 lib/sched/rte_approx.c                        |   2 +
 lib/sched/rte_pie.c                           |   3 +
 lib/sched/rte_red.c                           |   7 +
 lib/sched/rte_sched.c                         |  16 +
 lib/sched/version.map                         |  30 -
 lib/security/rte_security.c                   |  21 +
 lib/security/version.map                      |  37 --
 lib/stack/rte_stack.c                         |   4 +
 lib/stack/version.map                         |   9 -
 lib/table/rte_swx_table_em.c                  |   3 +
 lib/table/rte_swx_table_learner.c             |  11 +
 lib/table/rte_swx_table_selector.c            |   7 +
 lib/table/rte_swx_table_wm.c                  |   2 +
 lib/table/rte_table_acl.c                     |   2 +
 lib/table/rte_table_array.c                   |   2 +
 lib/table/rte_table_hash_cuckoo.c             |   2 +
 lib/table/rte_table_hash_ext.c                |   2 +
 lib/table/rte_table_hash_key16.c              |   3 +
 lib/table/rte_table_hash_key32.c              |   3 +
 lib/table/rte_table_hash_key8.c               |   3 +
 lib/table/rte_table_hash_lru.c                |   2 +
 lib/table/rte_table_lpm.c                     |   2 +
 lib/table/rte_table_lpm_ipv6.c                |   2 +
 lib/table/rte_table_stub.c                    |   2 +
 lib/table/version.map                         |  53 --
 lib/telemetry/telemetry.c                     |   4 +
 lib/telemetry/telemetry_data.c                |  18 +
 lib/telemetry/telemetry_legacy.c              |   2 +
 lib/telemetry/version.map                     |  40 --
 lib/timer/rte_timer.c                         |  19 +
 lib/timer/version.map                         |  24 -
 lib/vhost/socket.c                            |  17 +
 lib/vhost/vdpa.c                              |  12 +
 lib/vhost/version.map                         | 111 ----
 lib/vhost/vhost.c                             |  42 ++
 lib/vhost/vhost_crypto.c                      |   7 +
 lib/vhost/vhost_user.c                        |   3 +
 lib/vhost/virtio_net.c                        |   8 +
 536 files changed, 5181 insertions(+), 6574 deletions(-)
 create mode 100755 buildtools/gen-version-map.py
 delete mode 100644 buildtools/map_to_win.py
 create mode 100755 devtools/check-symbol-change.py
 delete mode 100755 devtools/check-symbol-change.sh
 delete mode 100755 devtools/check-symbol-maps.sh
 delete mode 100755 devtools/update-abi.sh
 delete mode 100755 devtools/update_version_map_abi.py
 delete mode 100644 drivers/baseband/acc/version.map
 delete mode 100644 drivers/baseband/fpga_5gnr_fec/version.map
 delete mode 100644 drivers/baseband/fpga_lte_fec/version.map
 delete mode 100644 drivers/bus/auxiliary/version.map
 delete mode 100644 drivers/bus/cdx/version.map
 create mode 100644 drivers/bus/dpaa/dpaa_bus_base_symbols.c
 delete mode 100644 drivers/bus/dpaa/version.map
 delete mode 100644 drivers/bus/fslmc/version.map
 delete mode 100644 drivers/bus/ifpga/version.map
 delete mode 100644 drivers/bus/pci/version.map
 delete mode 100644 drivers/bus/platform/version.map
 delete mode 100644 drivers/bus/uacce/version.map
 delete mode 100644 drivers/bus/vdev/version.map
 delete mode 100644 drivers/bus/vmbus/version.map
 create mode 100644 drivers/common/cnxk/roc_platform_base_symbols.c
 delete mode 100644 drivers/common/cnxk/version.map
 delete mode 100644 drivers/common/cpt/version.map
 delete mode 100644 drivers/common/dpaax/version.map
 delete mode 100644 drivers/common/ionic/version.map
 delete mode 100644 drivers/common/mlx5/version.map
 delete mode 100644 drivers/common/mvep/version.map
 delete mode 100644 drivers/common/nfp/version.map
 delete mode 100644 drivers/common/nitrox/version.map
 delete mode 100644 drivers/common/octeontx/version.map
 create mode 100644 drivers/common/sfc_efx/sfc_base_symbols.c
 delete mode 100644 drivers/common/sfc_efx/version.map
 delete mode 100644 drivers/crypto/cnxk/version.map
 delete mode 100644 drivers/crypto/dpaa2_sec/version.map
 delete mode 100644 drivers/crypto/dpaa_sec/version.map
 delete mode 100644 drivers/crypto/octeontx/version.map
 delete mode 100644 drivers/crypto/scheduler/version.map
 delete mode 100644 drivers/dma/cnxk/version.map
 delete mode 100644 drivers/event/cnxk/version.map
 delete mode 100644 drivers/event/dlb2/version.map
 delete mode 100644 drivers/mempool/cnxk/version.map
 delete mode 100644 drivers/mempool/dpaa/version.map
 delete mode 100644 drivers/mempool/dpaa2/version.map
 delete mode 100644 drivers/net/atlantic/version.map
 delete mode 100644 drivers/net/bnxt/version.map
 delete mode 100644 drivers/net/bonding/version.map
 delete mode 100644 drivers/net/cnxk/version.map
 delete mode 100644 drivers/net/dpaa/version.map
 delete mode 100644 drivers/net/dpaa2/version.map
 delete mode 100644 drivers/net/intel/i40e/version.map
 create mode 100644 drivers/net/intel/iavf/iavf_base_symbols.c
 delete mode 100644 drivers/net/intel/iavf/version.map
 delete mode 100644 drivers/net/intel/ice/version.map
 delete mode 100644 drivers/net/intel/idpf/version.map
 delete mode 100644 drivers/net/intel/ipn3ke/version.map
 delete mode 100644 drivers/net/intel/ixgbe/version.map
 delete mode 100644 drivers/net/mlx5/version.map
 delete mode 100644 drivers/net/octeontx/version.map
 delete mode 100644 drivers/net/ring/version.map
 delete mode 100644 drivers/net/softnic/version.map
 delete mode 100644 drivers/net/vhost/version.map
 delete mode 100644 drivers/power/kvm_vm/version.map
 delete mode 100644 drivers/raw/cnxk_rvu_lf/version.map
 delete mode 100644 drivers/raw/ifpga/version.map
 delete mode 100644 drivers/version.map
 delete mode 100644 lib/acl/version.map
 delete mode 100644 lib/argparse/version.map
 delete mode 100644 lib/bbdev/version.map
 delete mode 100644 lib/bitratestats/version.map
 delete mode 100644 lib/bpf/version.map
 delete mode 100644 lib/cfgfile/version.map
 delete mode 100644 lib/cmdline/version.map
 delete mode 100644 lib/compressdev/version.map
 delete mode 100644 lib/cryptodev/version.map
 delete mode 100644 lib/dispatcher/version.map
 delete mode 100644 lib/distributor/version.map
 delete mode 100644 lib/dmadev/version.map
 create mode 100644 lib/eal/common/eal_export.h
 delete mode 100644 lib/eal/include/rte_function_versioning.h
 delete mode 100644 lib/eal/version.map
 delete mode 100644 lib/efd/version.map
 delete mode 100644 lib/ethdev/version.map
 delete mode 100644 lib/eventdev/version.map
 delete mode 100644 lib/fib/version.map
 delete mode 100644 lib/gpudev/version.map
 delete mode 100644 lib/graph/version.map
 delete mode 100644 lib/gro/version.map
 delete mode 100644 lib/gso/version.map
 delete mode 100644 lib/hash/version.map
 delete mode 100644 lib/ip_frag/version.map
 delete mode 100644 lib/ipsec/version.map
 delete mode 100644 lib/jobstats/version.map
 delete mode 100644 lib/kvargs/version.map
 delete mode 100644 lib/latencystats/version.map
 delete mode 100644 lib/log/version.map
 delete mode 100644 lib/lpm/version.map
 delete mode 100644 lib/mbuf/version.map
 delete mode 100644 lib/member/version.map
 delete mode 100644 lib/mempool/version.map
 delete mode 100644 lib/meter/version.map
 delete mode 100644 lib/metrics/version.map
 delete mode 100644 lib/mldev/version.map
 delete mode 100644 lib/net/version.map
 delete mode 100644 lib/node/version.map
 delete mode 100644 lib/pcapng/version.map
 delete mode 100644 lib/pci/version.map
 delete mode 100644 lib/pdcp/version.map
 delete mode 100644 lib/pdump/version.map
 delete mode 100644 lib/pipeline/version.map
 delete mode 100644 lib/port/version.map
 delete mode 100644 lib/power/version.map
 delete mode 100644 lib/rawdev/version.map
 delete mode 100644 lib/rcu/version.map
 delete mode 100644 lib/regexdev/version.map
 delete mode 100644 lib/reorder/version.map
 delete mode 100644 lib/rib/version.map
 delete mode 100644 lib/ring/version.map
 delete mode 100644 lib/sched/version.map
 delete mode 100644 lib/security/version.map
 delete mode 100644 lib/stack/version.map
 delete mode 100644 lib/table/version.map
 delete mode 100644 lib/telemetry/version.map
 delete mode 100644 lib/timer/version.map
 delete mode 100644 lib/vhost/version.map

-- 
2.49.0
#88 lore raw

PATCH v7 1/8 lib: remove incorrect exported symbols

Declaring inline helpers in version.map is unnecessary. There is no exported symbol and this will probably be treated as an error by MSVC linker.

eal_log_journal has no implementation and can be removed.

---
 lib/eventdev/version.map | 12 ------------
 lib/graph/version.map    | 17 -----------------
 lib/ipsec/version.map    |  4 ----
 lib/log/log_internal.h   |  3 ---
 lib/log/version.map      |  1 -
 lib/pdcp/version.map     |  4 ----
 lib/regexdev/version.map |  2 --
 lib/vhost/version.map    |  1 -
 8 files changed, 44 deletions(-)
lib/eventdev/version.map +0 -12
index 44687255cb..bff08d6a62 100644
@@ -102,9 +102,6 @@ DPDK_25 {
 	rte_event_timer_adapter_stats_get;
 	rte_event_timer_adapter_stats_reset;
 	rte_event_timer_adapter_stop;
-	rte_event_timer_arm_burst;
-	rte_event_timer_arm_tmo_tick_burst;
-	rte_event_timer_cancel_burst;
 	rte_event_vector_pool_create;
 
 	local: *;
@@ -149,9 +146,7 @@ EXPERIMENTAL {
 	__rte_eventdev_trace_port_profile_switch;
 
 	# added in 24.11
-	rte_event_port_preschedule_modify;
 	__rte_eventdev_trace_port_preschedule_modify;
-	rte_event_port_preschedule;
 	__rte_eventdev_trace_port_preschedule;
 
 	# added in 25.03
@@ -166,14 +161,7 @@ INTERNAL {
 	event_dev_probing_finish;
 	rte_event_logtype;
 	rte_event_pmd_allocate;
-	rte_event_pmd_get_named_dev;
-	rte_event_pmd_is_valid_dev;
-	rte_event_pmd_pci_probe;
-	rte_event_pmd_pci_probe_named;
-	rte_event_pmd_pci_remove;
 	rte_event_pmd_release;
 	rte_event_pmd_selftest_seqn_dynfield_offset;
-	rte_event_pmd_vdev_init;
-	rte_event_pmd_vdev_uninit;
 	rte_eventdevs;
 };
lib/graph/version.map +0 -17
index 44fadc00fd..d03d44434d 100644
@@ -27,9 +27,7 @@ DPDK_25 {
 	rte_graph_node_get;
 	rte_graph_node_get_by_name;
 	rte_graph_obj_dump;
-	rte_graph_walk;
 	rte_graph_worker_model_get;
-	rte_graph_worker_model_no_check_get;
 	rte_graph_worker_model_set;
 	rte_node_clone;
 	rte_node_dump;
@@ -37,25 +35,10 @@ DPDK_25 {
 	rte_node_edge_get;
 	rte_node_edge_shrink;
 	rte_node_edge_update;
-	rte_node_enqueue;
-	rte_node_enqueue_next;
-	rte_node_enqueue_x1;
-	rte_node_enqueue_x2;
-	rte_node_enqueue_x4;
 	rte_node_from_name;
 	rte_node_id_to_name;
 	rte_node_list_dump;
 	rte_node_max_count;
-	rte_node_next_stream_get;
-	rte_node_next_stream_move;
-	rte_node_next_stream_put;
 
 	local: *;
 };
-
-EXPERIMENTAL {
-	global:
-
-	# added in 24.11
-	rte_node_xstat_increment;
-};
lib/ipsec/version.map +0 -4
index 308f9d2e0d..47e3df5bb6 100644
@@ -1,9 +1,6 @@
 DPDK_25 {
 	global:
 
-	rte_ipsec_pkt_crypto_group;
-	rte_ipsec_pkt_crypto_prepare;
-	rte_ipsec_pkt_process;
 	rte_ipsec_sa_fini;
 	rte_ipsec_sa_init;
 	rte_ipsec_sa_size;
@@ -14,7 +11,6 @@ DPDK_25 {
 	rte_ipsec_sad_destroy;
 	rte_ipsec_sad_find_existing;
 	rte_ipsec_sad_lookup;
-	rte_ipsec_ses_from_crypto;
 	rte_ipsec_session_prepare;
 	rte_ipsec_telemetry_sa_add;
 	rte_ipsec_telemetry_sa_del;
lib/log/log_internal.h +0 -3
index bba7041ea3..525e1397fd 100644
@@ -29,9 +29,6 @@ int eal_log_save_pattern(const char *pattern, uint32_t level);
 __rte_internal
 int eal_log_syslog(const char *name);
 
-__rte_internal
-int eal_log_journal(const char *opt);
-
 /*
  * Convert log level to string.
  */
lib/log/version.map +0 -1
index 09d8a4289b..603be493b3 100644
@@ -27,7 +27,6 @@ INTERNAL {
 
 	eal_log_color;
 	eal_log_init;
-	eal_log_journal; # WINDOWS_NO_EXPORT
 	eal_log_level2str;
 	eal_log_save_pattern;
 	eal_log_save_regexp;
lib/pdcp/version.map +0 -4
index 9c02303c45..72b2d4729b 100644
@@ -3,13 +3,9 @@ EXPERIMENTAL {
 
 	# added in 23.07
 	rte_pdcp_control_pdu_create;
-	rte_pdcp_en_from_cop;
 	rte_pdcp_entity_establish;
 	rte_pdcp_entity_release;
 	rte_pdcp_entity_suspend;
-	rte_pdcp_pkt_post_process;
-	rte_pdcp_pkt_pre_process;
-	rte_pdcp_pkt_crypto_group;
 	rte_pdcp_t_reordering_expiry_handle;
 
 	local: *;
lib/regexdev/version.map +0 -2
index 4c0435180c..713a800ca4 100644
@@ -7,9 +7,7 @@ EXPERIMENTAL {
 	rte_regexdev_close;
 	rte_regexdev_configure;
 	rte_regexdev_count;
-	rte_regexdev_dequeue_burst;
 	rte_regexdev_dump;
-	rte_regexdev_enqueue_burst;
 	rte_regexdev_get_dev_id;
 	rte_regexdev_info_get;
 	rte_regexdev_queue_pair_setup;
lib/vhost/version.map +0 -1
index 8333e100ed..c044bb714e 100644
@@ -61,7 +61,6 @@ DPDK_25 {
 	rte_vhost_set_last_inflight_io_packed;
 	rte_vhost_set_last_inflight_io_split;
 	rte_vhost_set_vring_base;
-	rte_vhost_va_from_guest_pa;
 	rte_vhost_vring_call;
 	rte_vhost_vring_call_nonblock;
 	rte_vhost_vring_stats_get;
Signature · 1 line
2.49.0
#89 lore raw

PATCH v7 2/8 drivers: remove incorrect exported symbols

In reply to David Marchand

Declaring inline helpers in version.map is unnecessary. There is no exported symbol and this will probably be treated as an error by MSVC linker.

rte_dpaa2_dev_type is an enum token.
roc_se_ctx_swap has no implementation (leftover from a previous rework) and can be removed.

---
 drivers/bus/dpaa/version.map    | 1 -
 drivers/bus/fslmc/version.map   | 2 --
 drivers/common/cnxk/roc_se.h    | 1 -
 drivers/common/cnxk/version.map | 2 --
 4 files changed, 6 deletions(-)
drivers/bus/dpaa/version.map +0 -1
index a17d57632e..8f09b72757 100644
@@ -18,7 +18,6 @@ INTERNAL {
 	dpaa_update_link_speed;
 	dpaa_intr_disable;
 	dpaa_intr_enable;
-	dpaa_seqn;
 	dpaa_svr_family;
 	dpaa_update_link_status;
 	fman_dealloc_bufs_mask_hi;
drivers/bus/fslmc/version.map +0 -2
index 2c36895285..ba3c7f36e3 100644
@@ -22,7 +22,6 @@ INTERNAL {
 	dpaa2_get_mcp_ptr;
 	dpaa2_io_portal;
 	dpaa2_seqn_dynfield_offset;
-	dpaa2_seqn;
 	dpaa2_svr_family;
 	dpbp_disable;
 	dpbp_enable;
@@ -108,7 +107,6 @@ INTERNAL {
 	qbman_swp_push_set;
 	qbman_swp_release;
 	rte_dpaa2_alloc_dpci_dev;
-	rte_dpaa2_dev_type;
 	rte_dpaa2_free_dpci_dev;
 	rte_dpaa2_intr_disable;
 	rte_dpaa2_intr_enable;
drivers/common/cnxk/roc_se.h +0 -1
index ede8d69c0e..f2c4056169 100644
@@ -405,7 +405,6 @@ int __roc_api roc_se_auth_key_set(struct roc_se_ctx *se_ctx, roc_se_auth_type ty
 int __roc_api roc_se_ciph_key_set(struct roc_se_ctx *se_ctx, roc_se_cipher_type type,
 				  const uint8_t *key, uint16_t key_len);
 
-void __roc_api roc_se_ctx_swap(struct roc_se_ctx *se_ctx);
 void __roc_api roc_se_ctx_init(struct roc_se_ctx *se_ctx);
 
 void __roc_api roc_se_hmac_opad_ipad_gen(roc_se_auth_type auth_type, const uint8_t *key,
drivers/common/cnxk/version.map +0 -2
index cdbfc1d39a..7f40dcced2 100644
@@ -164,7 +164,6 @@ INTERNAL {
 	roc_mcs_custom_tag_cfg_get;
 	roc_mcs_dev_init;
 	roc_mcs_dev_fini;
-	roc_mcs_dev_get;
 	roc_mcs_event_cb_register;
 	roc_mcs_event_cb_unregister;
 	roc_mcs_flowid_entry_enable;
@@ -546,7 +545,6 @@ INTERNAL {
 	roc_tim_lf_enable;
 	roc_tim_lf_free;
 	roc_tim_lf_interval;
-	roc_se_ctx_swap;
 	roc_ree_af_reg_read;
 	roc_ree_af_reg_write;
 	roc_ree_config_lf;
Signature · 1 line
2.49.0
#90 lore raw

Re: [PATCH v7 2/8] drivers: remove incorrect exported symbols

Quoted 7 lines · David Marchand

Declaring inline helpers in version.map is unnecessary. There is no exported symbol and this will probably be treated as an error by MSVC linker.

rte_dpaa2_dev_type is an enum token.
roc_se_ctx_swap has no implementation (leftover from a previous rework) and can be removed.

The commit message comments are not matching with the changes in the patch?

Quoted 72 lines
---
  drivers/bus/dpaa/version.map    | 1 -
  drivers/bus/fslmc/version.map   | 2 --
  drivers/common/cnxk/roc_se.h    | 1 -
  drivers/common/cnxk/version.map | 2 --
  4 files changed, 6 deletions(-)
drivers/bus/dpaa/version.map +0 -1
index a17d57632e..8f09b72757 100644
@@ -18,7 +18,6 @@ INTERNAL {
  	dpaa_update_link_speed;
  	dpaa_intr_disable;
  	dpaa_intr_enable;
-	dpaa_seqn;
  	dpaa_svr_family;
  	dpaa_update_link_status;
  	fman_dealloc_bufs_mask_hi;
drivers/bus/fslmc/version.map +0 -2
index 2c36895285..ba3c7f36e3 100644
@@ -22,7 +22,6 @@ INTERNAL {
  	dpaa2_get_mcp_ptr;
  	dpaa2_io_portal;
  	dpaa2_seqn_dynfield_offset;
-	dpaa2_seqn;
  	dpaa2_svr_family;
  	dpbp_disable;
  	dpbp_enable;
@@ -108,7 +107,6 @@ INTERNAL {
  	qbman_swp_push_set;
  	qbman_swp_release;
  	rte_dpaa2_alloc_dpci_dev;
-	rte_dpaa2_dev_type;
  	rte_dpaa2_free_dpci_dev;
  	rte_dpaa2_intr_disable;
  	rte_dpaa2_intr_enable;
drivers/common/cnxk/roc_se.h +0 -1
index ede8d69c0e..f2c4056169 100644
@@ -405,7 +405,6 @@ int __roc_api roc_se_auth_key_set(struct roc_se_ctx *se_ctx, roc_se_auth_type ty
  int __roc_api roc_se_ciph_key_set(struct roc_se_ctx *se_ctx, roc_se_cipher_type type,
  				  const uint8_t *key, uint16_t key_len);
 
-void __roc_api roc_se_ctx_swap(struct roc_se_ctx *se_ctx);
  void __roc_api roc_se_ctx_init(struct roc_se_ctx *se_ctx);
 
  void __roc_api roc_se_hmac_opad_ipad_gen(roc_se_auth_type auth_type, const uint8_t *key,
drivers/common/cnxk/version.map +0 -2
index cdbfc1d39a..7f40dcced2 100644
@@ -164,7 +164,6 @@ INTERNAL {
  	roc_mcs_custom_tag_cfg_get;
  	roc_mcs_dev_init;
  	roc_mcs_dev_fini;
-	roc_mcs_dev_get;
  	roc_mcs_event_cb_register;
  	roc_mcs_event_cb_unregister;
  	roc_mcs_flowid_entry_enable;
@@ -546,7 +545,6 @@ INTERNAL {
  	roc_tim_lf_enable;
  	roc_tim_lf_free;
  	roc_tim_lf_interval;
-	roc_se_ctx_swap;
  	roc_ree_af_reg_read;
  	roc_ree_af_reg_write;
  	roc_ree_config_lf;
#91 lore raw

PATCH v7 3/8 buildtools: display symbols version from map

In reply to David Marchand

Display the version when a symbol was introduced.
This is needed for scripting the conversion from static to dynamically generated version maps.
It is also useful when listing experimental symbols.

---
 buildtools/map-list-symbol.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
buildtools/map-list-symbol.sh +1 -1
index 43f276c05f..eb98451d8e 100755
@@ -73,7 +73,7 @@ for file in $@; do
 		if ("'$symbol'" == "all" || $1 == "'$symbol'") {
 			ret = 0;
 			if ("'$quiet'" == "") {
-				print "'$file' "current_section" "$1;
+				print "'$file' "current_section" "$1" "current_version;
 			}
 			if ("'$symbol'" != "all") {
 				exit 0;
Signature · 1 line
2.49.0
#92 lore raw

PATCH v7 4/8 build: generate symbol maps

In reply to David Marchand

Rather than maintain a file in parallel of the code, symbols to be exported can be marked with a token RTE_EXPORT_*SYMBOL.

From those marks, the build framework generates map files only for symbols actually compiled (which means that the WINDOWS_NO_EXPORT hack becomes unnecessary).

The build framework directly creates a map file in the format that the linker expects (rather than converting from GNU linker to MSVC linker).

Empty maps are allowed again as a replacement for drivers/version.map.

The symbol check is updated to only support the new format.

---
Changes since v6:
- rewrote parameter parsing for python scripts,
- fixed most pylint complaints,
- dropped TODO comment in symbol check,
- renamed header to eal_export.h,
- updated macros definition,

Changes since RFC v4:
- fixed MSVC export map (a msvc->mslinker update was missing),
- fixed join() error (with older meson? I don't see this on Fedora),
- explicit inclusion of header is now required,
- header has been renamed and moved to lib/eal/common/,
- because lib/log does not depend on EAL, added explicit include_directories,
- symbol versioning update has been moved later in the series, so updated gen-version-map.py accordingly,
- fixed bug when checking symbol removal,

Changes since RFC v3:
- polished python,
- fixed doc updates not belonging to this patch,
- renamed map files,
- changed msvc->mslinker as link mode,
- added parsing of AVX sources,

Changes since RFC v2:
- because of MSVC limitations wrt macro passed via cmdline, used an internal header for defining RTE_EXPORT_* macros,
- updated documentation and tooling,

---
 MAINTAINERS                                |   2 +
 buildtools/gen-version-map.py              | 134 ++++++++++++
 buildtools/map-list-symbol.sh              |  10 +-
 buildtools/meson.build                     |   1 +
 devtools/check-symbol-change.py            | 108 ++++++++++
 devtools/check-symbol-maps.sh              |  14 --
 devtools/checkpatches.sh                   |   2 +-
 doc/guides/contributing/abi_versioning.rst | 227 ++-------------------
 drivers/meson.build                        |  98 +++++----
 drivers/version.map                        |   3 -
 lib/eal/common/eal_export.h                |  16 ++
 lib/meson.build                            |  96 ++++++---
 12 files changed, 415 insertions(+), 296 deletions(-)
 create mode 100755 buildtools/gen-version-map.py
 create mode 100755 devtools/check-symbol-change.py
 delete mode 100644 drivers/version.map
 create mode 100644 lib/eal/common/eal_export.h
MAINTAINERS +2 -0
index 4b01103f8e..42ea07854b 100644
@@ -95,6 +95,7 @@ F: devtools/check-maintainers.sh
 F: devtools/check-forbidden-tokens.awk
 F: devtools/check-git-log.sh
 F: devtools/check-spdx-tag.sh
+F: devtools/check-symbol-change.py
 F: devtools/check-symbol-change.sh
 F: devtools/check-symbol-maps.sh
 F: devtools/checkpatches.sh
@@ -127,6 +128,7 @@ F: config/
 F: buildtools/check-symbols.sh
 F: buildtools/chkincs/
 F: buildtools/call-sphinx-build.py
+F: buildtools/gen-version-map.py
 F: buildtools/get-cpu-count.py
 F: buildtools/get-numa-count.py
 F: buildtools/list-dir-globs.py
buildtools/gen-version-map.py new file +134 -0

134 lines not on this page · raw message

buildtools/map-list-symbol.sh +7 -3
index eb98451d8e..0829df4be5 100755
@@ -62,10 +62,14 @@ for file in $@; do
 		if (current_section == "") {
 			next;
 		}
+		symbol_version = current_version
+		if (/^[^}].*[^:*]; # added in /) {
+			symbol_version = $5
+		}
 		if ("'$version'" != "") {
-			if ("'$version'" == "unset" && current_version != "") {
+			if ("'$version'" == "unset" && symbol_version != "") {
 				next;
-			} else if ("'$version'" != "unset" && "'$version'" != current_version) {
+			} else if ("'$version'" != "unset" && "'$version'" != symbol_version) {
 				next;
 			}
 		}
@@ -73,7 +77,7 @@ for file in $@; do
 		if ("'$symbol'" == "all" || $1 == "'$symbol'") {
 			ret = 0;
 			if ("'$quiet'" == "") {
-				print "'$file' "current_section" "$1" "current_version;
+				print "'$file' "current_section" "$1" "symbol_version;
 			}
 			if ("'$symbol'" != "all") {
 				exit 0;
buildtools/meson.build +1 -0
index 4e2c1217a2..b745e9afa4 100644
@@ -16,6 +16,7 @@ else
     py3 = ['meson', 'runpython']
 endif
 echo = py3 + ['-c', 'import sys; print(*sys.argv[1:])']
+gen_version_map = py3 + files('gen-version-map.py')
 list_dir_globs = py3 + files('list-dir-globs.py')
 map_to_win_cmd = py3 + files('map_to_win.py')
 sphinx_wrapper = py3 + files('call-sphinx-build.py')
devtools/check-symbol-change.py new file +108 -0

108 lines not on this page · raw message

devtools/check-symbol-maps.sh +0 -14
index 6121f78ec6..fcd3931e5d 100755
@@ -60,20 +60,6 @@ if [ -n "$local_miss_maps" ] ; then
     ret=1
 fi
 
-find_empty_maps ()
-{
-    for map in $@ ; do
-        [ $(buildtools/map-list-symbol.sh $map | wc -l) != '0' ] || echo $map
-    done
-}
-
-empty_maps=$(find_empty_maps $@)
-if [ -n "$empty_maps" ] ; then
-    echo "Found empty maps:"
-    echo "$empty_maps"
-    ret=1
-fi
-
 find_bad_format_maps ()
 {
     abi_version=$(cut -d'.' -f 1 ABI_VERSION)
devtools/checkpatches.sh +1 -1
index c9088bb403..9180c2b070 100755
@@ -33,7 +33,7 @@ VOLATILE,PREFER_PACKED,PREFER_ALIGNED,PREFER_PRINTF,STRLCPY,\
 PREFER_KERNEL_TYPES,PREFER_FALLTHROUGH,BIT_MACRO,CONST_STRUCT,\
 SPLIT_STRING,LONG_LINE_STRING,C99_COMMENT_TOLERANCE,\
 LINE_SPACING,PARENTHESIS_ALIGNMENT,NETWORKING_BLOCK_COMMENT_STYLE,\
-NEW_TYPEDEFS,COMPARISON_TO_NULL,AVOID_BUG"
+NEW_TYPEDEFS,COMPARISON_TO_NULL,AVOID_BUG,EXPORT_SYMBOL"
 options="$options $DPDK_CHECKPATCH_OPTIONS"
 
 print_usage () {
doc/guides/contributing/abi_versioning.rst +21 -206

347 lines not on this page · raw message

drivers/meson.build +61 -37

123 lines not on this page · raw message

drivers/version.map deleted +0 -3
deleted file mode 100644
index 17cc97bda6..0000000000
@@ -1,3 +0,0 @@
-DPDK_25 {
-	local: *;
-};
lib/eal/common/eal_export.h new file +16 -0
new file mode 100644
index 0000000000..7904ed851c
@@ -0,0 +1,16 @@
+/* SPDX-License-Identifier: BSD-3-Clause
+ * Copyright (c) 2025 Red Hat, Inc.
+ */
+
+#ifndef EAL_EXPORT_H
+#define EAL_EXPORT_H
+
+/* Internal macros for exporting symbols, used by the build system.
+ * For RTE_EXPORT_EXPERIMENTAL_SYMBOL, ver indicates the
+ * version this symbol was introduced in.
+ */
+#define RTE_EXPORT_EXPERIMENTAL_SYMBOL(symbol, ver)
+#define RTE_EXPORT_INTERNAL_SYMBOL(symbol)
+#define RTE_EXPORT_SYMBOL(symbol)
+
+#endif /* EAL_EXPORT_H */
lib/meson.build +64 -32

132 lines not on this page · raw message

Signature · 1 line
2.49.0