eal: add new function versioning macros
Subsystems (8)
PATCH v7 5/8 build: mark exported symbols
In reply to David MarchandAnnotate 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
@@ -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
@@ -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_fecreturn 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
@@ -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
@@ -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) voidrte_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) voidrte_auxiliary_unregister (struct rte_auxiliary_driver *driver) {
drivers/bus/cdx/cdx.c +5 -0
@@ -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) voidrte_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) voidrte_cdx_unregister (struct rte_cdx_driver *driver) {
drivers/bus/cdx/cdx_vfio.c +5 -0
@@ -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) intrte_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) intrte_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) intrte_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) intrte_cdx_vfio_bm_disable (struct rte_cdx_device *dev) {
drivers/bus/dpaa/dpaa_bus.c +10 -0
@@ -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) intrte_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) voidrte_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) voidrte_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
@@ -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
@@ -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_trte_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) voidrte_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) voidrte_fslmc_driver_unregister (struct rte_dpaa2_driver *driver) {
drivers/bus/fslmc/fslmc_vfio.c +13 -0
@@ -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) voidrte_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_trte_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_trte_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_trte_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) intrte_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) intrte_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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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_liststatic 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) intdpaa2_affine_qbman_swp (void ) {
@@ -346,6 +354,7 @@ dpaa2_affine_qbman_swp(void)return 0 ; } +RTE_EXPORT_INTERNAL_SYMBOL (dpaa2_affine_qbman_ethrx_swp) intdpaa2_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) voiddpaa2_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) intdpaa2_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_tdpaa2_free_eq_descriptors (void ) {
drivers/bus/fslmc/qbman/qbman_debug.c +4 -0
@@ -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
@@ -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
@@ -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) intrte_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) voidrte_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) intrte_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) voidrte_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) voidrte_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) intrte_pci_ioport_unmap (struct rte_pci_ioport *p) {
drivers/bus/pci/linux/pci.c +11 -0
@@ -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) intrte_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) voidrte_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) intrte_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) voidrte_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) voidrte_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) intrte_pci_ioport_unmap (struct rte_pci_ioport *p) {
drivers/bus/pci/pci_common.c +11 -0
@@ -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) voidrte_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) voidrte_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) voidrte_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) intrte_pci_pasid_set_state (const struct rte_pci_device *dev, off_t offset,bool enable)
drivers/bus/pci/windows/pci.c +11 -0
@@ -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) intrte_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
@@ -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) voidrte_platform_register (struct rte_platform_driver *pdrv) {TAILQ_INSERT_TAIL (&platform_bus.driver_list, pdrv, next); } +RTE_EXPORT_INTERNAL_SYMBOL (rte_platform_unregister) voidrte_platform_unregister (struct rte_platform_driver *pdrv) {
drivers/bus/uacce/uacce.c +10 -0
@@ -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) intrte_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) intrte_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 *qcreturn -EIO ; } +RTE_EXPORT_INTERNAL_SYMBOL (rte_uacce_queue_free) voidrte_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) intrte_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) intrte_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 *areturn 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) voidrte_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) voidrte_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) voidrte_uacce_unregister (struct rte_uacce_driver *driver) {
drivers/bus/vdev/vdev.c +7 -0
@@ -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) voidrte_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) voidrte_vdev_unregister (struct rte_vdev_driver *driver) {TAILQ_REMOVE (&vdev_driver_list, driver, next); } +RTE_EXPORT_SYMBOL (rte_vdev_add_custom_scan) intrte_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) intrte_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) intrte_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) intrte_vdev_uninit (const char *name) {
drivers/bus/vmbus/linux/vmbus_bus.c +7 -0
@@ -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) intrte_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) voidrte_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) intrte_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
@@ -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) voidrte_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
@@ -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) intrte_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) voidrte_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) voidrte_vmbus_unregister (struct rte_vmbus_driver *driver) {
drivers/common/cnxk/cnxk_security.c +13 -0
@@ -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) boolcnxk_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) boolcnxk_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_tcnxk_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
@@ -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) introc_nix_tm_err_to_rte_err (int errorcode) {
drivers/common/cnxk/meson.build +1 -0
@@ -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
@@ -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) introc_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_troc_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_troc_plt_lmt_validate (void ) {
@@ -277,6 +281,7 @@ roc_plt_lmt_validate(void)return 1 ; } +RTE_EXPORT_INTERNAL_SYMBOL (roc_plt_init) introc_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
@@ -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
@@ -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_tcpt_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) intcpt_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) intcpt_pmd_ops_helper_asym_get_mlen (void ) {
drivers/common/dpaax/caamflib.c +3 -0
@@ -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
@@ -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) intof_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) boolof_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_tof_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_tof_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) boolof_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
@@ -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) intdpaax_iova_table_populate (void ) {
@@ -254,6 +257,7 @@ dpaax_iova_table_populate(void)return 0 ; } +RTE_EXPORT_INTERNAL_SYMBOL (dpaax_iova_table_depopulate) voiddpaax_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) intdpaax_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) voiddpaax_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
@@ -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) voidionic_uio_scan_mnet_devices (void ) {
@@ -146,6 +148,7 @@ ionic_uio_scan_mnet_devices(void) } } +RTE_EXPORT_INTERNAL_SYMBOL (ionic_uio_scan_mcrypt_devices) voidionic_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) voidionic_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) voidionic_uio_rel_rsrc (const char *name,int idx,struct ionic_dev_bar *bar) {
drivers/common/mlx5/linux/mlx5_common_auxiliary.c +2 -0
@@ -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) intmlx5_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
@@ -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) intmlx5_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) voidmlx5_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) intmlx5_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) intmlx5_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) intmlx5_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) voidmlx5_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) voidmlx5_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
@@ -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) intmlx5_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) voidmlx5_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) voidmlx5_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
@@ -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
@@ -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) intmlx5_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) intmlx5_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) intmlx5_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) voidmlx5_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) intmlx5_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) intmlx5_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 intmlx5_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) intmlx5_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 intmlx5_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)
Lines of this file are not shown. View the raw message.
drivers/common/mlx5/mlx5_common_devx.c +10 -0
Lines of this file are not shown. View the raw message.
drivers/common/mlx5/mlx5_common_utils.c +12 -0
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/windows/mlx5_common_os.c +7 -0
Lines of this file are not shown. View the raw message.
drivers/common/mlx5/windows/mlx5_glue.c +2 -2
Lines of this file are not shown. View the raw message.
drivers/common/octeontx/octeontx_mbox.c +7 -0
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/crypto/cnxk/cn10k_cryptodev_ops.c +8 -0
Lines of this file are not shown. View the raw message.
drivers/crypto/cnxk/cn9k_cryptodev_ops.c +3 -0
Lines of this file are not shown. View the raw message.
drivers/crypto/cnxk/cnxk_cryptodev_ops.c +8 -0
Lines of this file are not shown. View the raw message.
drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c +3 -0
Lines of this file are not shown. View the raw message.
drivers/crypto/octeontx/otx_cryptodev_ops.c +3 -0
Lines of this file are not shown. View the raw message.
drivers/crypto/scheduler/rte_cryptodev_scheduler.c +11 -0
Lines of this file are not shown. View the raw message.
drivers/mempool/cnxk/cn10k_hwpool_ops.c +4 -0
Lines of this file are not shown. View the raw message.
drivers/mempool/dpaa2/dpaa2_hw_mempool.c +6 -0
Lines of this file are not shown. View the raw message.
drivers/net/atlantic/rte_pmd_atlantic.c +7 -0
Lines of this file are not shown. View the raw message.
drivers/net/bonding/rte_eth_bond_8023ad.c +13 -0
Lines of this file are not shown. View the raw message.
drivers/net/bonding/rte_eth_bond_api.c +16 -0
Lines of this file are not shown. View the raw message.
drivers/net/dpaa2/base/dpaa2_tlu_hash.c +3 -0
Lines of this file are not shown. View the raw message.
drivers/net/intel/iavf/iavf_base_symbols.c new file +14 -0
Lines of this file are not shown. View the raw message.
drivers/net/intel/idpf/idpf_common_device.c +11 -0
Lines of this file are not shown. View the raw message.
drivers/net/intel/idpf/idpf_common_rxtx.c +25 -0
Lines of this file are not shown. View the raw message.
drivers/net/intel/idpf/idpf_common_rxtx_avx2.c +3 -0
Lines of this file are not shown. View the raw message.
drivers/net/intel/idpf/idpf_common_rxtx_avx512.c +6 -0
Lines of this file are not shown. View the raw message.
drivers/net/intel/idpf/idpf_common_virtchnl.c +31 -0
Lines of this file are not shown. View the raw message.
drivers/net/intel/ipn3ke/ipn3ke_ethdev.c +2 -0
Lines of this file are not shown. View the raw message.
drivers/net/intel/ixgbe/rte_pmd_ixgbe.c +38 -0
Lines of this file are not shown. View the raw message.
drivers/net/softnic/rte_eth_softnic_thread.c +2 -0
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/eal/common/eal_common_interrupts.c +28 -0
Lines of this file are not shown. View the raw message.
lib/eal/common/eal_common_trace_points.c +19 -0
Lines of this file are not shown. View the raw message.
lib/eal/common/eal_common_trace_utils.c +2 -0
Lines of this file are not shown. View the raw message.
lib/eal/loongarch/rte_power_intrinsics.c +5 -0
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_flow.c +65 -0
65 lines not on this page · raw message
lib/eventdev/rte_event_crypto_adapter.c +16 -0
Lines of this file are not shown. View the raw message.
lib/eventdev/rte_event_eth_rx_adapter.c +24 -0
Lines of this file are not shown. View the raw message.
lib/eventdev/rte_event_eth_tx_adapter.c +18 -0
Lines of this file are not shown. View the raw message.
lib/eventdev/rte_event_timer_adapter.c +12 -0
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/graph/rte_graph_model_mcore_dispatch.c +4 -0
Lines of this file are not shown. View the raw message.
lib/mldev/mldev_utils_scalar_bfloat16.c +4 -0
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/vhost/vhost.c +42 -0
42 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.
Re: [PATCH v7 5/8] build: mark exported symbols
for DPAA/FSLMC changes
Andrew Rybchenko
Acked-byRe: [PATCH v7 5/8] build: mark exported symbols
Quoted 4 lines · Hemant Agrawal
for DPAA/FSLMC changes
Acked-by Hemant Agrawal <[email protected]>
For common/sfc_efx:
Re: [PATCH v7 5/8] build: mark exported symbols
In reply to David MarchandQuoted 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 newXX_base_symbols.cfile added to the sources variable so they get caught bydrivers/meson.build.Signed-off-by David Marchand <[email protected]>
For common/sfc_efx:
PATCH v7 6/8 build: use dynamically generated version maps
In reply to David MarchandSwitch 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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
PATCH v7 7/8 build: remove static version maps
In reply to David MarchandNow 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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -1,8 +0,0 @@ -INTERNAL { - global: - - rte_auxiliary_register; - rte_auxiliary_unregister; - - local: *; -};
drivers/bus/cdx/version.map deleted +0 -14
@@ -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
@@ -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
@@ -1,10 +0,0 @@ -DPDK_25 { - local: *; -}; - -INTERNAL { - global: - - rte_platform_register; - rte_platform_unregister; -};
drivers/bus/uacce/version.map deleted +0 -15
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -1,8 +0,0 @@ -INTERNAL { - global: - - rte_mvep_deinit; - rte_mvep_init; - - local: *; -};
drivers/common/nfp/version.map deleted +0 -16
@@ -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
@@ -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
@@ -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
@@ -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
@@ -1,8 +0,0 @@ -INTERNAL { - global: - - dpaa2_sec_eventq_attach; - dpaa2_sec_eventq_detach; - - local: *; -};
drivers/crypto/dpaa_sec/version.map deleted +0 -8
@@ -1,8 +0,0 @@ -INTERNAL { - global: - - dpaa_sec_eventq_attach; - dpaa_sec_eventq_detach; - - local: *; -};
drivers/crypto/octeontx/version.map deleted +0 -12
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -1,8 +0,0 @@ -INTERNAL { - global: - - rte_dpaa_bpid_info; - rte_dpaa_memsegs; - - local: *; -};
drivers/mempool/dpaa2/version.map deleted +0 -16
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -1,7 +0,0 @@ -DPDK_25 { - global: - - rte_octeontx_pchan_map; - - local: *; -};
drivers/net/ring/version.map deleted +0 -8
@@ -1,8 +0,0 @@ -DPDK_25 { - global: - - rte_eth_from_ring; - rte_eth_from_rings; - - local: *; -};
drivers/net/softnic/version.map deleted +0 -8
@@ -1,8 +0,0 @@ -DPDK_25 { - global: - - rte_pmd_softnic_manage; - rte_pmd_softnic_run; - - local: *; -};
drivers/net/vhost/version.map deleted +0 -8
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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/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/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/hash/version.map deleted +0 -66
66 lines not on this page · raw message
lib/mbuf/version.map deleted +0 -45
45 lines not on this page · raw message
lib/mempool/version.map deleted +0 -65
65 lines not on this page · raw message
lib/mldev/version.map deleted +0 -74
74 lines not on this page · 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/ring/version.map deleted +0 -42
42 lines not on this page · raw message
lib/table/version.map deleted +0 -53
53 lines not on this page · 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.
PATCH v7 8/8 eal: rework function versioning macros
In reply to David MarchandFor 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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
Re: [PATCH v7 0/8] Symbol versioning and export rework
In reply to David MarchandQuoted 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 MarchandChanges since v6:
- used argparse in python scripts,
- renamedeal_symbol_exports.haseal_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 tolib/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 legacyrte_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:
- updatedRTE_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