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 4 of 4

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

PATCH v7 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 XX_base_symbols.c file added to the sources variable so they get caught by drivers/meson.build.

---
Changes since v6:
- annotated net/dpaa2 symbols directly in base driver code,
- renamed special case base symbol files and added comment,

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_base_symbols.c      | 100 ++++
 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 +
 .../common/cnxk/roc_platform_base_symbols.c   | 546 ++++++++++++++++++
 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_base_symbols.c     | 276 +++++++++
 drivers/common/sfc_efx/sfc_efx.c              |   3 +
 drivers/common/sfc_efx/sfc_efx_mcdi.c         |   3 +
 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/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/intel/i40e/rte_pmd_i40e.c         |  40 ++
 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/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_base_symbols.c
 create mode 100644 drivers/common/cnxk/roc_platform_base_symbols.c
 create mode 100644 drivers/common/sfc_efx/sfc_base_symbols.c
 create mode 100644 drivers/net/intel/iavf/iavf_base_symbols.c
drivers/baseband/acc/rte_acc100_pmd.c +2 -0
index d33e42c807..b7f02f56e1 100644
@@ -4,6 +4,7 @@
 
 #include <unistd.h>
 
+#include <eal_export.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..82cf98da5d 100644
@@ -4,6 +4,7 @@
 
 #include <unistd.h>
 
+#include <eal_export.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..4723a51dcf 100644
@@ -4,6 +4,7 @@
 
 #include <unistd.h>
 
+#include <eal_export.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..5c6c6b0ef2 100644
@@ -9,6 +9,7 @@
 #include <stdlib.h>
 #include <stdio.h>
 #include <sys/queue.h>
+#include <eal_export.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..729d54337c 100644
@@ -75,6 +75,7 @@
 #include <rte_malloc.h>
 #include <rte_vfio.h>
 
+#include <eal_export.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..37e0c424d4 100644
@@ -17,6 +17,7 @@
 #include <sys/socket.h>
 #include <sys/ioctl.h>
 #include <sys/mman.h>
+#include <eal_export.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..5420733019 100644
@@ -15,6 +15,7 @@
 #include <sys/types.h>
 #include <sys/eventfd.h>
 
+#include <eal_export.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_base_symbols.c new file +100 -0

100 lines not on this page · raw message

drivers/bus/dpaa/meson.build +1 -0
index 5506f2bffc..d1f03bb093 100644
@@ -19,6 +19,7 @@ sources = files(
         'base/qbman/qman.c',
         'base/qbman/qman_driver.c',
         'dpaa_bus.c',
+        'dpaa_bus_base_symbols.c',
 )
 
 if cc.has_argument('-Wno-cast-qual')
drivers/bus/fslmc/fslmc_bus.c +5 -0
index 68ad2b801e..ebc0c1fb4f 100644
@@ -9,6 +9,7 @@
 #include <stdalign.h>
 #include <stdbool.h>
 
+#include <eal_export.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..68439cbd8c 100644
@@ -21,6 +21,7 @@
 #include <sys/eventfd.h>
 #include <ctype.h>
 
+#include <eal_export.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..08f24d33e8 100644
@@ -9,6 +9,8 @@
 #include <fsl_dpbp.h>
 #include <fsl_dpbp_cmd.h>
 
+#include <eal_export.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..9df3827f92 100644
@@ -9,6 +9,8 @@
 #include <fsl_dpci.h>
 #include <fsl_dpci_cmd.h>
 
+#include <eal_export.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..b9f2f50e12 100644
@@ -9,6 +9,8 @@
 #include <fsl_dpcon.h>
 #include <fsl_dpcon_cmd.h>
 
+#include <eal_export.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..97e90b09f1 100644
@@ -7,6 +7,8 @@
 #include <fsl_dpdmai.h>
 #include <fsl_dpdmai_cmd.h>
 
+#include <eal_export.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..8cdf8f432a 100644
@@ -9,6 +9,8 @@
 #include <fsl_dpio.h>
 #include <fsl_dpio_cmd.h>
 
+#include <eal_export.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..47c85cd80d 100644
@@ -9,6 +9,8 @@
 #include <fsl_dpmng.h>
 #include <fsl_dpmng_cmd.h>
 
+#include <eal_export.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..ef4c8dd3b8 100644
@@ -7,6 +7,7 @@
 #include <fsl_mc_sys.h>
 #include <fsl_mc_cmd.h>
 
+#include <eal_export.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..925e83e97d 100644
@@ -13,6 +13,7 @@
 #include <fcntl.h>
 #include <errno.h>
 
+#include <eal_export.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..b546da82f6 100644
@@ -12,6 +12,7 @@
 #include <fcntl.h>
 #include <errno.h>
 
+#include <eal_export.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..bad25a0ec2 100644
@@ -23,6 +23,7 @@
 #include <sys/eventfd.h>
 #include <sys/syscall.h>
 
+#include <eal_export.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..f13168dce3 100644
@@ -7,6 +7,8 @@
 #include <fsl_qbman_debug.h>
 #include "qbman_portal.h"
 
+#include <eal_export.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..ca9e49f548 100644
@@ -13,6 +13,7 @@
 #include <unistd.h>
 #include <fcntl.h>
 
+#include <eal_export.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..5e2e09d5a4 100644
@@ -39,6 +39,7 @@
 #include <rte_debug.h>
 #include <rte_devargs.h>
 
+#include <eal_export.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..c20d159218 100644
@@ -13,6 +13,7 @@
 #include <rte_memcpy.h>
 #include <rte_vfio.h>
 
+#include <eal_export.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..5df4086f31 100644
@@ -10,6 +10,7 @@
 #include <stdlib.h>
 #include <stdio.h>
 #include <sys/queue.h>
+#include <eal_export.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..e7e449306e 100644
@@ -4,6 +4,7 @@
 
 #include <sys/queue.h>
 
+#include <eal_export.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..0f50027236 100644
@@ -13,6 +13,7 @@
 
 #include <bus_driver.h>
 #include <bus_platform_driver.h>
+#include <eal_export.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..9b8ac23952 100644
@@ -13,6 +13,7 @@
 #include <sys/stat.h>
 #include <sys/types.h>
 
+#include <eal_export.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..beee8c4033 100644
@@ -10,6 +10,7 @@
 #include <stdbool.h>
 #include <sys/queue.h>
 
+#include <eal_export.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..ed18d4da96 100644
@@ -19,6 +19,7 @@
 #include <rte_malloc.h>
 #include <rte_bus_vmbus.h>
 
+#include <eal_export.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..a876c909dd 100644
@@ -8,6 +8,7 @@
 #include <string.h>
 #include <sys/uio.h>
 
+#include <eal_export.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..ac04ee11f8 100644
@@ -10,6 +10,7 @@
 #include <sys/queue.h>
 #include <sys/mman.h>
 
+#include <eal_export.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..ea3b87e65c 100644
@@ -2,6 +2,7 @@
  * Copyright(C) 2021 Marvell.
  */
 
+#include <eal_export.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..8ca4664d25 100644
@@ -1,6 +1,7 @@
 /* SPDX-License-Identifier: BSD-3-Clause
  * Copyright(C) 2021 Marvell.
  */
+#include <eal_export.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..daffc15afd 100644
@@ -64,6 +64,7 @@ sources = files(
         'roc_npc_parse.c',
         'roc_npc_utils.c',
         'roc_platform.c',
+        'roc_platform_base_symbols.c',
         'roc_se.c',
         'roc_sso.c',
         'roc_sso_debug.c',
drivers/common/cnxk/roc_platform.c +19 -0
index 401f737ad4..88f229163a 100644
@@ -2,6 +2,7 @@
  * Copyright(C) 2021 Marvell.
  */
 
+#include <eal_export.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_base_symbols.c new file +546 -0

546 lines not on this page · raw message

drivers/common/cpt/cpt_fpm_tables.c +3 -0
index 15b665db01..0cb14733d9 100644
@@ -2,6 +2,7 @@
  * Copyright (C) 2019 Marvell International Ltd.
  */
 
+#include <eal_export.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..c7e6f37026 100644
@@ -2,6 +2,7 @@
  * Copyright(c) 2018 Cavium, Inc
  */
 
+#include <eal_export.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..82a7413b5f 100644
@@ -6,6 +6,8 @@
 
 #include <rta.h>
 
+#include <eal_export.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..23035f530d 100644
@@ -7,6 +7,7 @@
 
 #include <dpaa_of.h>
 #include <assert.h>
+#include <eal_export.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..1220d9654b 100644
@@ -2,12 +2,14 @@
  * Copyright 2018-2023 NXP
  */
 
+#include <eal_export.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..aaefab918c 100644
@@ -15,6 +15,7 @@
 #include <fcntl.h>
 #include <stdbool.h>
 
+#include <eal_export.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..b4ea604820 100644
@@ -10,6 +10,7 @@
 #include <rte_errno.h>
 #include <bus_auxiliary_driver.h>
 #include <rte_common.h>
+#include <eal_export.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..2867e21618 100644
@@ -13,6 +13,7 @@
 #include <net/if.h>
 #include <fcntl.h>
 
+#include <eal_export.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..98260df470 100644
@@ -10,6 +10,7 @@
 #include <sys/mman.h>
 #include <inttypes.h>
 
+#include <eal_export.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..a91eaa429d 100644
@@ -16,6 +16,8 @@
 
 #include "mlx5_glue.h"
 
+#include <eal_export.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..86166e92d0 100644
@@ -17,6 +17,7 @@
 #include <sys/socket.h>
 #include <unistd.h>
 
+#include <eal_export.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)
[… 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..4f25127582 100644

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

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

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

drivers/common/mlx5/mlx5_common_mp.c +9 -0
index a7a671b7c5..1ff268f348 100644

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

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

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

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

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

drivers/common/mlx5/mlx5_common_utils.c +12 -0
index 4b95d35d35..14056cebcb 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..d56b4fb5a8 100644

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

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

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

drivers/common/mlx5/windows/mlx5_glue.c +2 -2
index 6935811bf4..066e2fdce3 100644

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

drivers/common/mvep/mvep_common.c +3 -0
index 67fa65b574..2035300cce 100644

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

drivers/common/nfp/nfp_common.c +9 -0
index 0df8332dfb..475f64daab 100644

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

drivers/common/nfp/nfp_common_pci.c +2 -0
index 856f3917a2..4a2fb5e82d 100644

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

drivers/common/nfp/nfp_dev.c +2 -0
index f29b7e0711..486ed2cdfe 100644

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

drivers/common/nitrox/nitrox_device.c +2 -0
index 6cd57faaa4..74c7a859a4 100644

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

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

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

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

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

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

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

drivers/common/sfc_efx/meson.build +1 -0
index 0cf0a23bf8..74b4a2fd93 100644

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

drivers/common/sfc_efx/sfc_base_symbols.c new file +276 -0

276 lines not on this page · raw message

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

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

drivers/common/sfc_efx/sfc_efx_mcdi.c +3 -0
index 0d17616589..1fe3515d2d 100644

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

drivers/crypto/cnxk/cn10k_cryptodev_ops.c +8 -0
index dbebc5aef1..851e6f0a88 100644

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

drivers/mempool/dpaa/dpaa_mempool.c +3 -0
index 74bfcab509..7dacaa9513 100644

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

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

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

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

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

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

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

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

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

drivers/net/bonding/rte_eth_bond_api.c +16 -0
index ffc1322047..9e5df67c18 100644

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

drivers/net/cnxk/cnxk_ethdev.c +4 -0
index 289ae96afa..026c61f2c7 100644

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

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

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

drivers/net/dpaa/dpaa_ethdev.c +4 -0
index ce4bbbb8f0..00b57cb715 100644

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

drivers/net/dpaa2/base/dpaa2_hw_dpni.c +2 -0
index 20b37a97bb..8d00a86032 100644

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

drivers/net/dpaa2/base/dpaa2_tlu_hash.c +3 -0
index 9eb127c07c..8c685120bd 100644

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

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

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

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

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

drivers/net/dpaa2/dpaa2_rxtx.c +2 -0
index cad15d8f75..67d065bb7c 100644

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

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

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

drivers/net/intel/iavf/iavf_base_symbols.c new file +14 -0
new file mode 100644
index 0000000000..2111b14aa8

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

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

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

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

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

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

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

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

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

drivers/net/intel/idpf/idpf_common_rxtx.c +25 -0
index 7171e27b8d..0e785daff4 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..79b8d80ea9 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..1299346cbc 100644

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

drivers/net/vhost/rte_eth_vhost.c +3 -0
index 87c05caccd..44bf2e3241 100644

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

drivers/power/kvm_vm/guest_channel.c +3 -0
index 35cd4cfe6f..42bfcedb56 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..60c2080740 100644

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

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

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

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

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

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

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

lib/acl/rte_acl.c +12 -0
index 245b9b6d7a..8c0ca29618 100644

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

lib/argparse/rte_argparse.c +3 -0
index e7007afc6a..18290e0c38 100644

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

lib/bbdev/bbdev_trace_points.c +3 -0
index 6f90e2aa65..942c7be819 100644

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

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

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

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

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

lib/bpf/bpf.c +3 -0
index bbe75c8bfe..5239b3e11e 100644

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

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

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

lib/bpf/bpf_dump.c +2 -0
index b86977b96d..6ee0e32b43 100644

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

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

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

lib/bpf/bpf_load.c +2 -0
index de43347405..556e613762 100644

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

lib/bpf/bpf_load_elf.c +2 -0
index e0abd3c856..1d30ba17e2 100644

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

lib/bpf/bpf_pkt.c +5 -0
index aaca935f2d..01f813c56b 100644

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

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

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

lib/cfgfile/rte_cfgfile.c +18 -0
index 13ba3957bc..8bbdcf146e 100644

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

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

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

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

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

lib/cmdline/cmdline_parse.c +5 -0
index 76a212d001..201fddb8c3 100644

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

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

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

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

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

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

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

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

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

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

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

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

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

lib/cmdline/cmdline_rdline.c +17 -0
index 5cf723a012..3b8d435e98 100644

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

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

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

lib/cmdline/cmdline_vt100.c +4 -0
index 4c9a46c953..272088a0c6 100644

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

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

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

lib/compressdev/rte_compressdev.c +26 -0
index 5bc7ea5250..33de3f511b 100644

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

lib/compressdev/rte_compressdev_pmd.c +4 -0
index 762b44f03e..7e11ad7148 100644

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

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

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

lib/cryptodev/cryptodev_trace_points.c +4 -0
index 6f37780595..69737adcbe 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..a35967f7b7 100644

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

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

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

lib/dmadev/rte_dmadev.c +20 -0
index 4a075ee1c6..17ee0808a9 100644

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

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

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

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

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

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

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

lib/eal/arm/rte_power_intrinsics.c +5 -0
index 6475bbca04..4826b370ea 100644

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

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

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

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

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

lib/eal/common/eal_common_config.c +8 -0
index d3494d6e21..7fc7611a07 100644

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

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

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

lib/eal/common/eal_common_debug.c +3 -0
index bcfcd6df6f..7a42546da2 100644

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

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

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

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

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

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

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

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

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

lib/eal/common/eal_common_hexdump.c +3 -0
index 6fd6e21e1e..28159f298a 100644

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

lib/eal/common/eal_common_hypervisor.c +2 -0
index 5388b81a51..7158fd25de 100644

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

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

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

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

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

lib/eal/common/eal_common_lcore.c +18 -0
index 820a6534b1..294267177d 100644

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

lib/eal/common/eal_common_thread.c +15 -0
index a53bc639ae..88b59ce0d9 100644

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

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

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

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

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

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

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

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

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

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

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

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

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

lib/eal/common/rte_bitset.c +2 -0
index e25008519e..78001b1ee8 100644

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

lib/eal/common/rte_keepalive.c +7 -0
index 473d30dd13..08a4d595da 100644

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

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

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

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

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

lib/eal/common/rte_reciprocal.c +3 -0
index 87c67e6d49..99c54df141 100644

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

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

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

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

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

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

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

lib/eal/freebsd/eal_alarm.c +3 -0
index 3680f5caba..28f285fdef 100644

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

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

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

lib/eal/freebsd/eal_interrupts.c +20 -0
index 23747babc2..5c3ab6699e 100644

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

lib/eal/freebsd/eal_memory.c +4 -0
index a6f3ba226e..3b72e13506 100644

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

lib/eal/freebsd/eal_thread.c +3 -0
index 77b7621908..7ed76ed796 100644

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

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

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

lib/eal/linux/eal.c +8 -0
index b1e63e37fc..20f777b8b0 100644

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

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

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

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

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

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

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

lib/eal/linux/eal_memory.c +4 -0
index 9dda60c0e1..8c896379fe 100644

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

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

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

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

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

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

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

lib/eal/loongarch/rte_cpuflags.c +4 -0
index db9e28ef20..19fbf37e3e 100644

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

lib/eal/unix/eal_unix_timer.c +2 -0
index e71602b3a1..3dbcf61e90 100644

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

lib/eal/unix/rte_thread.c +14 -0
index ea629c2065..950c0848ba 100644

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

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

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

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

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

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

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

lib/eal/windows/eal_dev.c +5 -0
index e0b8c54dc5..9c7463edf2 100644

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

lib/eal/windows/eal_interrupts.c +20 -0
index c97118d231..5ff30c7631 100644

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

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

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

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

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

lib/eal/windows/eal_thread.c +2 -0
index 9e3df200b9..3eeb94a589 100644

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

lib/eal/windows/eal_timer.c +2 -0
index 020035c4cc..33cbac6a03 100644

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

lib/eal/windows/rte_thread.c +15 -0
index 6f991dfa5d..85e5a57346 100644

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

lib/eal/x86/rte_cpuflags.c +4 -0
index 90389c66fc..5d1f352e04 100644

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

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

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

lib/eal/x86/rte_power_intrinsics.c +5 -0
index f7d558153e..1cb2e908c0 100644

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

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

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

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

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

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

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

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

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

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

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

lib/ethdev/ethdev_trace_points.c +7 -0
index cb99cf91fc..071c508327 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..a8460e6977 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..c6f0698ed3 100644

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

lib/ethdev/rte_tm.c +32 -0
index 347dbb81f9..66b8934c3b 100644

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

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

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

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

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

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

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

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

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

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

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

lib/eventdev/rte_event_eth_tx_adapter.c +18 -0
index 67fff8b7d6..83b6af0955 100644

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

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

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

lib/eventdev/rte_event_timer_adapter.c +12 -0
index 5886965d14..b524dc3e55 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..2c05d46500 100644

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

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

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

lib/gpudev/gpudev.c +33 -0
index 1c2011b856..0473d9ffb3 100644

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

lib/hash/rte_cuckoo_hash.c +28 -0
index e55e6e1c81..2c92c51624 100644

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

lib/hash/rte_fbk_hash.c +4 -0
index dacb7e8b09..38b15a14d1 100644

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

lib/hash/rte_hash_crc.c +3 -0
index c037cdb0f0..9fe90d6425 100644

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

lib/hash/rte_thash.c +13 -0
index 1f9700258d..6c662bf14f 100644

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

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

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

lib/hash/rte_thash_gfni.c +3 -0
index c94640d30d..2003c7b3db 100644

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

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

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

lib/ip_frag/rte_ipv4_fragmentation.c +3 -0
index e04cf5738e..435a6e13bb 100644

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

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

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

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

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

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

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

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

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

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

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

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

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

lib/ipsec/ses.c +2 -0
index d9ab1e6d2b..224e752d05 100644

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

lib/jobstats/rte_jobstats.c +15 -0
index af565a14ea..20a4f1391a 100644

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

lib/kvargs/rte_kvargs.c +9 -0
index 1d355516bc..4e3198b33f 100644

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

lib/latencystats/rte_latencystats.c +6 -0
index 6a261309f9..19a6f580cd 100644

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

lib/log/log.c +23 -0
index e1c18a8e53..8ad5250a13 100644

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

lib/log/log_color.c +2 -0
index 04eb5aa485..690a27f96e 100644

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

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

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

lib/log/log_timestamp.c +2 -0
index b4b0bca6a8..47b6f7cfc4 100644

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

lib/lpm/rte_lpm.c +9 -0
index a5c9e7c9fc..7058be6918 100644

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

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

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

lib/mbuf/rte_mbuf.c +18 -0
index 559d5ad8a7..9e7731a8a2 100644

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

lib/mbuf/rte_mbuf_dyn.c +10 -0
index 1cfb329c3a..5987c9dee8 100644

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

lib/mbuf/rte_mbuf_pool_ops.c +6 -0
index 8e93c6acbd..219b364803 100644

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

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

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

lib/member/rte_member.c +14 -0
index 57eb7affab..5ff32f1e45 100644

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

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

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

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

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

lib/mempool/rte_mempool_ops.c +5 -0
index 1b33380259..066bec36fc 100644

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

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

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

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

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

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

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

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

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

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

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

lib/mldev/mldev_utils_neon.c +20 -0
index 8751a40863..0222bd7e15 100644

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

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

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

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

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

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

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

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

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

lib/mldev/rte_mldev_pmd.c +3 -0
index 3169e5d4fa..434360f2d3 100644

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

lib/net/rte_arp.c +2 -0
index 22af519586..3f8c69f69d 100644

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

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

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

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

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

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

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

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

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

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

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

lib/node/ip4_reassembly.c +2 -0
index eb5f391114..493dafae9d 100644

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

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

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

lib/node/ip6_lookup.c +2 -0
index f378d2d064..827fc2f379 100644

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

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

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

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

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

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

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

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

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

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

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

lib/pdump/rte_pdump.c +10 -0
index 0e6ffc167b..79b20ce59b 100644

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

lib/pipeline/rte_pipeline.c +24 -0
index a09a89f746..072bd739a4 100644

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

lib/pipeline/rte_port_in_action.c +9 -0
index 4127bd2cab..2378e64de9 100644

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

lib/pipeline/rte_swx_ctl.c +18 -0
index 857770d297..7066450f57 100644

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

lib/pipeline/rte_swx_ipsec.c +8 -0
index 17a9d2b98b..354754781d 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..c990d7eb56 100644

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

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

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

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

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

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

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

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

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

lib/port/rte_port_ras.c +3 -0
index 42cf1ddf45..58ab7a1c5b 100644

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

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

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

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

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

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

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

lib/port/rte_port_sym_crypto.c +4 -0
index a68a2396a5..30c9d1283e 100644

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

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

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

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

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

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

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

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

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

lib/power/power_common.c +9 -0
index e482f71c64..2da034e9d0 100644

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

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

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

lib/power/rte_power_pmd_mgmt.c +11 -0
index 8ec925bd65..6cacc562c2 100644

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

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

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

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

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

lib/rawdev/rte_rawdev.c +31 -0
index 810e95a440..4da7956d5a 100644

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

lib/rcu/rte_rcu_qsbr.c +12 -0
index dbf31501a6..5f5762cbd4 100644

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

lib/regexdev/rte_regexdev.c +27 -0
index 431ed911a1..8ba797b278 100644

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

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

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

lib/rib/rte_rib.c +15 -0
index b95d329c8b..046db131ca 100644

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

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

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

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

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

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

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

lib/ring/soring.c +18 -0
index 4fec7efae7..797484d6bf 100644

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

lib/sched/rte_approx.c +2 -0
index edc8d9113b..86c7d1d3fb 100644

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

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

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

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

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

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

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

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

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

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

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

lib/table/rte_swx_table_em.c +3 -0
index 2f042d74b3..4ec54cb635 100644

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

lib/table/rte_swx_table_learner.c +11 -0
index 55a3645e06..2d61bceeaf 100644

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

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

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

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

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

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

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

lib/table/rte_table_array.c +2 -0
index 84b5d67e90..55356e5999 100644

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

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

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

lib/table/rte_table_hash_ext.c +2 -0
index 91e5037b41..86e8eeb4c8 100644

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

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

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

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

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

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

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

lib/table/rte_table_hash_lru.c +2 -0
index 801e48f5ba..548f5eebf2 100644

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

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

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

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

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

lib/table/rte_table_stub.c +2 -0
index 7147f7146e..3d2ac55c49 100644

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

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

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

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

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

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

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

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

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

lib/vhost/socket.c +17 -0
index 4c6c551c3d..9b4f332f94 100644

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

lib/vhost/vdpa.c +12 -0
index 329dd572b7..bc2dd8d2e1 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..f78daf98d1 100644

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

lib/vhost/vhost_user.c +3 -0
index 26dc0bde97..ec950acf97 100644

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

lib/vhost/virtio_net.c +8 -0
index 0348e8dac3..77545d0a4d 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.49.0

Part of the diff is not shown here. View the raw message.

Acked-by on v7 5/8
#96 lore raw

Re: [PATCH v7 5/8] build: mark exported symbols

In reply to David Marchand
Quoted 7 lines · 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 XX_base_symbols.c file added to the sources variable so they get caught by drivers/meson.build.

For common/sfc_efx:

#97 lore raw

PATCH v7 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                      |   4 +-
 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                           |  78 ++---
 lib/meson.build                               |  77 ++---
 17 files changed, 193 insertions(+), 936 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 +2 -2
index 9180c2b070..f6079d513b 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
@@ -472,7 +472,7 @@ check () { # <patch-file> <commit>
 	fi
 
 	! $verbose || printf '\nChecking API additions/removals:\n'
-	report=$($VALIDATE_NEW_API "$tmpinput")
+	report=$($VALIDATE_NEW_API --patch "$tmpinput")
 	if [ $? -ne 0 ] ; then
 		$headline_printed || print_headline "$subject"
 		printf '%s\n' "$report"
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 +22 -56

100 lines not on this page · raw message

lib/meson.build +21 -56

100 lines not on this page · raw message

Signature · 1 line
2.49.0
#98 lore raw

PATCH v7 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.49.0

Part of the diff is not shown here. View the raw message.

#99 lore raw

PATCH v7 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,

Those macros replaces the legacy ones from rte_function_versioning.h that were previously publicly exported.

It is important to note that, for now, function versioning is implemented for GCC and CLANG only.
No warning will be generated for MSVC builds.

Update lib/net accordingly.

---
Changes since v6:
- updated macros description in header,
- updated commitlog,

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 +-
 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_export.h                |  63 +++++++
 lib/eal/include/rte_function_versioning.h  |  99 -----------
 lib/net/net_crc.h                          |  15 --
 lib/net/rte_net_crc.c                      |  29 +---
 8 files changed, 128 insertions(+), 288 deletions(-)
 delete mode 100644 lib/eal/include/rte_function_versioning.h
buildtools/gen-version-map.py +7 -8
index c5ea10def0..57e08a8c0f 100755
@@ -13,10 +13,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\(([^,]+), [^,]+, ([^,]+),")
 
 parser = argparse.ArgumentParser(
     description=__doc__,
@@ -68,16 +67,16 @@
             node = ABI
             symbol = export_sym_regexp.match(ln).group(1)
         elif ver_sym_regexp.match(ln):
-            abi = ver_sym_regexp.match(ln).group(2)
+            abi = ver_sym_regexp.match(ln).group(1)
             node = f"DPDK_{abi}"
-            symbol = 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):
-            abi = default_sym_regexp.match(ln).group(2)
+            abi = default_sym_regexp.match(ln).group(1)
             node = f"DPDK_{abi}"
-            symbol = default_sym_regexp.match(ln).group(1)
+            symbol = default_sym_regexp.match(ln).group(2)
 
         if not symbol:
             continue
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_export.h +63 -0

73 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 a762c8eef0..b8b0ba5127 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.49.0
#100 lore raw

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

In reply to David Marchand
Quoted 51 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...

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.

--
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),

Quoted 9 lines

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

Series applied.

Heads up to subtree maintainers.
TL;DR: please rebase your trees.

If you had changes on version.map in your trees, you'll need to convert the new symbols and use RTE_EXPORT_SYMBOL* macros. If you have some doubt, ping me and I'll help.

Signature · 1 line
David Marchand