eal: add new function versioning macros
Subsystems (8)
RFC v4 6/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 file listed in the sources so they get caught by drivers/meson.build.
---
Changes since RFC v3:
- marked exported symbols directly in AVX sources (net/idpf),
--- drivers/baseband/acc/rte_acc100_pmd.c | 1 + .../fpga_5gnr_fec/rte_fpga_5gnr_fec.c | 1 + drivers/baseband/fpga_lte_fec/fpga_lte_fec.c | 1 + drivers/bus/auxiliary/auxiliary_common.c | 2 + drivers/bus/cdx/cdx.c | 4 + drivers/bus/cdx/cdx_vfio.c | 4 + drivers/bus/dpaa/dpaa_bus.c | 104 ++++ drivers/bus/fslmc/fslmc_bus.c | 4 + drivers/bus/fslmc/fslmc_vfio.c | 12 + drivers/bus/fslmc/mc/dpbp.c | 6 + drivers/bus/fslmc/mc/dpci.c | 3 + drivers/bus/fslmc/mc/dpcon.c | 6 + drivers/bus/fslmc/mc/dpdmai.c | 8 + drivers/bus/fslmc/mc/dpio.c | 13 + drivers/bus/fslmc/mc/dpmng.c | 2 + drivers/bus/fslmc/mc/mc_sys.c | 1 + drivers/bus/fslmc/portal/dpaa2_hw_dpbp.c | 3 + drivers/bus/fslmc/portal/dpaa2_hw_dpci.c | 2 + drivers/bus/fslmc/portal/dpaa2_hw_dpio.c | 11 + drivers/bus/fslmc/qbman/qbman_debug.c | 2 + drivers/bus/fslmc/qbman/qbman_portal.c | 41 ++ drivers/bus/ifpga/ifpga_bus.c | 3 + drivers/bus/pci/bsd/pci.c | 10 + drivers/bus/pci/linux/pci.c | 10 + drivers/bus/pci/pci_common.c | 10 + drivers/bus/pci/windows/pci.c | 10 + drivers/bus/platform/platform.c | 2 + drivers/bus/uacce/uacce.c | 9 + drivers/bus/vdev/vdev.c | 6 + drivers/bus/vmbus/linux/vmbus_bus.c | 6 + drivers/bus/vmbus/vmbus_channel.c | 13 + drivers/bus/vmbus/vmbus_common.c | 3 + drivers/common/cnxk/cnxk_security.c | 12 + drivers/common/cnxk/cnxk_utils.c | 1 + drivers/common/cnxk/roc_platform.c | 559 ++++++++++++++++++ drivers/common/cpt/cpt_fpm_tables.c | 2 + drivers/common/cpt/cpt_pmd_ops_helper.c | 3 + drivers/common/dpaax/caamflib.c | 1 + drivers/common/dpaax/dpaa_of.c | 12 + drivers/common/dpaax/dpaax_iova_table.c | 6 + drivers/common/ionic/ionic_common_uio.c | 4 + .../common/mlx5/linux/mlx5_common_auxiliary.c | 1 + drivers/common/mlx5/linux/mlx5_common_os.c | 9 + drivers/common/mlx5/linux/mlx5_common_verbs.c | 3 + drivers/common/mlx5/linux/mlx5_glue.c | 1 + drivers/common/mlx5/linux/mlx5_nl.c | 21 + drivers/common/mlx5/mlx5_common.c | 9 + drivers/common/mlx5/mlx5_common_devx.c | 9 + drivers/common/mlx5/mlx5_common_mp.c | 8 + drivers/common/mlx5/mlx5_common_mr.c | 11 + drivers/common/mlx5/mlx5_common_pci.c | 2 + drivers/common/mlx5/mlx5_common_utils.c | 11 + drivers/common/mlx5/mlx5_devx_cmds.c | 51 ++ drivers/common/mlx5/mlx5_malloc.c | 4 + drivers/common/mlx5/windows/mlx5_common_os.c | 5 + drivers/common/mlx5/windows/mlx5_glue.c | 3 +- drivers/common/mvep/mvep_common.c | 2 + drivers/common/nfp/nfp_common.c | 7 + drivers/common/nfp/nfp_common_pci.c | 1 + drivers/common/nfp/nfp_dev.c | 1 + drivers/common/nitrox/nitrox_device.c | 1 + drivers/common/nitrox/nitrox_logs.c | 1 + drivers/common/nitrox/nitrox_qp.c | 2 + drivers/common/octeontx/octeontx_mbox.c | 6 + drivers/common/sfc_efx/sfc_efx.c | 273 +++++++++ drivers/common/sfc_efx/sfc_efx_mcdi.c | 2 + drivers/crypto/cnxk/cn10k_cryptodev_ops.c | 7 + drivers/crypto/cnxk/cn9k_cryptodev_ops.c | 2 + drivers/crypto/cnxk/cnxk_cryptodev_ops.c | 7 + drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 2 + drivers/crypto/dpaa_sec/dpaa_sec.c | 2 + drivers/crypto/octeontx/otx_cryptodev_ops.c | 2 + .../scheduler/rte_cryptodev_scheduler.c | 10 + drivers/dma/cnxk/cnxk_dmadev_fp.c | 4 + drivers/event/cnxk/cnxk_worker.c | 2 + drivers/event/dlb2/rte_pmd_dlb2.c | 1 + drivers/mempool/cnxk/cn10k_hwpool_ops.c | 3 + drivers/mempool/dpaa/dpaa_mempool.c | 2 + drivers/mempool/dpaa2/dpaa2_hw_mempool.c | 5 + drivers/net/atlantic/rte_pmd_atlantic.c | 6 + drivers/net/bnxt/rte_pmd_bnxt.c | 16 + drivers/net/bonding/rte_eth_bond_8023ad.c | 12 + drivers/net/bonding/rte_eth_bond_api.c | 15 + drivers/net/cnxk/cnxk_ethdev.c | 3 + drivers/net/cnxk/cnxk_ethdev_sec.c | 9 + drivers/net/dpaa/dpaa_ethdev.c | 3 + drivers/net/dpaa2/dpaa2_ethdev.c | 11 + drivers/net/dpaa2/dpaa2_mux.c | 3 + drivers/net/dpaa2/dpaa2_rxtx.c | 1 + drivers/net/intel/i40e/rte_pmd_i40e.c | 39 ++ drivers/net/intel/iavf/iavf_ethdev.c | 9 + drivers/net/intel/iavf/iavf_rxtx.c | 8 + drivers/net/intel/ice/ice_diagnose.c | 3 + drivers/net/intel/idpf/idpf_common_device.c | 10 + drivers/net/intel/idpf/idpf_common_rxtx.c | 24 + .../net/intel/idpf/idpf_common_rxtx_avx2.c | 2 + .../net/intel/idpf/idpf_common_rxtx_avx512.c | 5 + drivers/net/intel/idpf/idpf_common_virtchnl.c | 29 + drivers/net/intel/ipn3ke/ipn3ke_ethdev.c | 1 + drivers/net/intel/ixgbe/rte_pmd_ixgbe.c | 37 ++ drivers/net/mlx5/mlx5.c | 1 + drivers/net/mlx5/mlx5_flow.c | 4 + drivers/net/mlx5/mlx5_rx.c | 2 + drivers/net/mlx5/mlx5_rxq.c | 2 + drivers/net/mlx5/mlx5_tx.c | 1 + drivers/net/mlx5/mlx5_txq.c | 3 + drivers/net/octeontx/octeontx_ethdev.c | 1 + drivers/net/ring/rte_eth_ring.c | 2 + drivers/net/softnic/rte_eth_softnic.c | 1 + drivers/net/softnic/rte_eth_softnic_thread.c | 1 + drivers/net/vhost/rte_eth_vhost.c | 2 + drivers/power/kvm_vm/guest_channel.c | 2 + drivers/raw/cnxk_rvu_lf/cnxk_rvu_lf.c | 10 + drivers/raw/ifpga/rte_pmd_ifpga.c | 11 + lib/acl/acl_bld.c | 1 + lib/acl/acl_run_scalar.c | 1 + lib/acl/rte_acl.c | 11 + lib/argparse/rte_argparse.c | 2 + lib/bbdev/bbdev_trace_points.c | 2 + lib/bbdev/rte_bbdev.c | 31 + lib/bitratestats/rte_bitrate.c | 4 + lib/bpf/bpf.c | 2 + lib/bpf/bpf_convert.c | 1 + lib/bpf/bpf_dump.c | 1 + lib/bpf/bpf_exec.c | 2 + lib/bpf/bpf_load.c | 1 + lib/bpf/bpf_load_elf.c | 1 + lib/bpf/bpf_pkt.c | 4 + lib/bpf/bpf_stub.c | 2 + lib/cfgfile/rte_cfgfile.c | 17 + lib/cmdline/cmdline.c | 9 + lib/cmdline/cmdline_cirbuf.c | 19 + lib/cmdline/cmdline_parse.c | 4 + lib/cmdline/cmdline_parse_bool.c | 1 + lib/cmdline/cmdline_parse_etheraddr.c | 3 + lib/cmdline/cmdline_parse_ipaddr.c | 3 + lib/cmdline/cmdline_parse_num.c | 3 + lib/cmdline/cmdline_parse_portlist.c | 3 + lib/cmdline/cmdline_parse_string.c | 5 + lib/cmdline/cmdline_rdline.c | 15 + lib/cmdline/cmdline_socket.c | 3 + lib/cmdline/cmdline_vt100.c | 2 + lib/compressdev/rte_comp.c | 6 + lib/compressdev/rte_compressdev.c | 25 + lib/compressdev/rte_compressdev_pmd.c | 3 + lib/cryptodev/cryptodev_pmd.c | 7 + lib/cryptodev/cryptodev_trace_points.c | 3 + lib/cryptodev/rte_cryptodev.c | 83 +++ lib/dispatcher/rte_dispatcher.c | 13 + lib/distributor/rte_distributor.c | 9 + lib/dmadev/rte_dmadev.c | 19 + lib/dmadev/rte_dmadev_trace_points.c | 7 + lib/eal/arm/rte_cpuflags.c | 3 + lib/eal/arm/rte_hypervisor.c | 1 + lib/eal/arm/rte_power_intrinsics.c | 4 + lib/eal/common/eal_common_bus.c | 10 + lib/eal/common/eal_common_class.c | 4 + lib/eal/common/eal_common_config.c | 7 + lib/eal/common/eal_common_cpuflags.c | 1 + lib/eal/common/eal_common_debug.c | 2 + lib/eal/common/eal_common_dev.c | 19 + lib/eal/common/eal_common_devargs.c | 9 + lib/eal/common/eal_common_errno.c | 2 + lib/eal/common/eal_common_fbarray.c | 26 + lib/eal/common/eal_common_hexdump.c | 2 + lib/eal/common/eal_common_hypervisor.c | 1 + lib/eal/common/eal_common_interrupts.c | 27 + lib/eal/common/eal_common_launch.c | 5 + lib/eal/common/eal_common_lcore.c | 17 + lib/eal/common/eal_common_lcore_var.c | 1 + lib/eal/common/eal_common_mcfg.c | 20 + lib/eal/common/eal_common_memory.c | 29 + lib/eal/common/eal_common_memzone.c | 9 + lib/eal/common/eal_common_options.c | 4 + lib/eal/common/eal_common_proc.c | 8 + lib/eal/common/eal_common_string_fns.c | 3 + lib/eal/common/eal_common_tailqs.c | 3 + lib/eal/common/eal_common_thread.c | 14 + lib/eal/common/eal_common_timer.c | 4 + lib/eal/common/eal_common_trace.c | 15 + lib/eal/common/eal_common_trace_ctf.c | 1 + lib/eal/common/eal_common_trace_points.c | 18 + lib/eal/common/eal_common_trace_utils.c | 1 + lib/eal/common/eal_common_uuid.c | 4 + lib/eal/common/rte_bitset.c | 1 + lib/eal/common/rte_keepalive.c | 6 + lib/eal/common/rte_malloc.c | 22 + lib/eal/common/rte_random.c | 4 + lib/eal/common/rte_reciprocal.c | 2 + lib/eal/common/rte_service.c | 31 + lib/eal/common/rte_version.c | 7 + lib/eal/freebsd/eal.c | 22 + lib/eal/freebsd/eal_alarm.c | 2 + lib/eal/freebsd/eal_dev.c | 4 + lib/eal/freebsd/eal_interrupts.c | 19 + lib/eal/freebsd/eal_memory.c | 3 + lib/eal/freebsd/eal_thread.c | 2 + lib/eal/freebsd/eal_timer.c | 1 + lib/eal/linux/eal.c | 7 + lib/eal/linux/eal_alarm.c | 2 + lib/eal/linux/eal_dev.c | 4 + lib/eal/linux/eal_interrupts.c | 19 + lib/eal/linux/eal_memory.c | 3 + lib/eal/linux/eal_thread.c | 2 + lib/eal/linux/eal_timer.c | 4 + lib/eal/linux/eal_vfio.c | 16 + lib/eal/loongarch/rte_cpuflags.c | 3 + lib/eal/loongarch/rte_hypervisor.c | 1 + lib/eal/loongarch/rte_power_intrinsics.c | 4 + lib/eal/ppc/rte_cpuflags.c | 3 + lib/eal/ppc/rte_hypervisor.c | 1 + lib/eal/ppc/rte_power_intrinsics.c | 4 + lib/eal/riscv/rte_cpuflags.c | 3 + lib/eal/riscv/rte_hypervisor.c | 1 + lib/eal/riscv/rte_power_intrinsics.c | 4 + lib/eal/unix/eal_debug.c | 2 + lib/eal/unix/eal_filesystem.c | 1 + lib/eal/unix/eal_firmware.c | 1 + lib/eal/unix/eal_unix_memory.c | 4 + lib/eal/unix/eal_unix_timer.c | 1 + lib/eal/unix/rte_thread.c | 13 + lib/eal/windows/eal.c | 11 + lib/eal/windows/eal_alarm.c | 2 + lib/eal/windows/eal_debug.c | 1 + lib/eal/windows/eal_dev.c | 4 + lib/eal/windows/eal_interrupts.c | 19 + lib/eal/windows/eal_memory.c | 7 + lib/eal/windows/eal_mp.c | 6 + lib/eal/windows/eal_thread.c | 1 + lib/eal/windows/eal_timer.c | 1 + lib/eal/windows/rte_thread.c | 14 + lib/eal/x86/rte_cpuflags.c | 3 + lib/eal/x86/rte_hypervisor.c | 1 + lib/eal/x86/rte_power_intrinsics.c | 4 + lib/eal/x86/rte_spinlock.c | 1 + lib/efd/rte_efd.c | 7 + lib/ethdev/ethdev_driver.c | 24 + lib/ethdev/ethdev_linux_ethtool.c | 3 + lib/ethdev/ethdev_private.c | 2 + lib/ethdev/ethdev_trace_points.c | 6 + lib/ethdev/rte_ethdev.c | 168 ++++++ lib/ethdev/rte_ethdev_cman.c | 4 + lib/ethdev/rte_flow.c | 64 ++ lib/ethdev/rte_mtr.c | 21 + lib/ethdev/rte_tm.c | 31 + lib/eventdev/eventdev_private.c | 2 + lib/eventdev/eventdev_trace_points.c | 11 + lib/eventdev/rte_event_crypto_adapter.c | 15 + lib/eventdev/rte_event_dma_adapter.c | 15 + lib/eventdev/rte_event_eth_rx_adapter.c | 23 + lib/eventdev/rte_event_eth_tx_adapter.c | 17 + lib/eventdev/rte_event_ring.c | 4 + lib/eventdev/rte_event_timer_adapter.c | 11 + lib/eventdev/rte_eventdev.c | 46 ++ lib/fib/rte_fib.c | 10 + lib/fib/rte_fib6.c | 9 + lib/gpudev/gpudev.c | 32 + lib/graph/graph.c | 16 + lib/graph/graph_debug.c | 1 + lib/graph/graph_stats.c | 4 + lib/graph/node.c | 11 + lib/graph/rte_graph_model_mcore_dispatch.c | 3 + lib/graph/rte_graph_worker.c | 3 + lib/gro/rte_gro.c | 6 + lib/gso/rte_gso.c | 1 + lib/hash/rte_cuckoo_hash.c | 27 + lib/hash/rte_fbk_hash.c | 3 + lib/hash/rte_hash_crc.c | 2 + lib/hash/rte_thash.c | 12 + lib/hash/rte_thash_gf2_poly_math.c | 1 + lib/hash/rte_thash_gfni.c | 2 + lib/ip_frag/rte_ip_frag_common.c | 5 + lib/ip_frag/rte_ipv4_fragmentation.c | 2 + lib/ip_frag/rte_ipv4_reassembly.c | 1 + lib/ip_frag/rte_ipv6_fragmentation.c | 1 + lib/ip_frag/rte_ipv6_reassembly.c | 1 + lib/ipsec/ipsec_sad.c | 6 + lib/ipsec/ipsec_telemetry.c | 2 + lib/ipsec/sa.c | 4 + lib/ipsec/ses.c | 1 + lib/jobstats/rte_jobstats.c | 14 + lib/kvargs/rte_kvargs.c | 8 + lib/latencystats/rte_latencystats.c | 5 + lib/log/log.c | 22 + lib/log/log_color.c | 1 + lib/log/log_syslog.c | 1 + lib/log/log_timestamp.c | 1 + lib/lpm/rte_lpm.c | 8 + lib/lpm/rte_lpm6.c | 10 + lib/mbuf/rte_mbuf.c | 17 + lib/mbuf/rte_mbuf_dyn.c | 9 + lib/mbuf/rte_mbuf_pool_ops.c | 5 + lib/mbuf/rte_mbuf_ptype.c | 8 + lib/member/rte_member.c | 13 + lib/mempool/mempool_trace_points.c | 10 + lib/mempool/rte_mempool.c | 27 + lib/mempool/rte_mempool_ops.c | 4 + lib/mempool/rte_mempool_ops_default.c | 4 + lib/meter/rte_meter.c | 6 + lib/metrics/rte_metrics.c | 8 + lib/metrics/rte_metrics_telemetry.c | 11 + lib/mldev/mldev_utils.c | 2 + lib/mldev/mldev_utils_neon.c | 18 + lib/mldev/mldev_utils_neon_bfloat16.c | 2 + lib/mldev/mldev_utils_scalar.c | 18 + lib/mldev/mldev_utils_scalar_bfloat16.c | 2 + lib/mldev/rte_mldev.c | 37 ++ lib/mldev/rte_mldev_pmd.c | 2 + lib/net/rte_arp.c | 1 + lib/net/rte_ether.c | 3 + lib/net/rte_net.c | 2 + lib/net/rte_net_crc.c | 1 + lib/node/ethdev_ctrl.c | 2 + lib/node/ip4_lookup.c | 1 + lib/node/ip4_reassembly.c | 1 + lib/node/ip4_rewrite.c | 1 + lib/node/ip6_lookup.c | 1 + lib/node/ip6_rewrite.c | 1 + lib/node/udp4_input.c | 2 + lib/pcapng/rte_pcapng.c | 7 + lib/pci/rte_pci.c | 3 + lib/pdcp/rte_pdcp.c | 5 + lib/pdump/rte_pdump.c | 9 + lib/pipeline/rte_pipeline.c | 23 + lib/pipeline/rte_port_in_action.c | 8 + lib/pipeline/rte_swx_ctl.c | 17 + lib/pipeline/rte_swx_ipsec.c | 7 + lib/pipeline/rte_swx_pipeline.c | 73 +++ lib/pipeline/rte_table_action.c | 16 + lib/port/rte_port_ethdev.c | 3 + lib/port/rte_port_eventdev.c | 3 + lib/port/rte_port_fd.c | 3 + lib/port/rte_port_frag.c | 2 + lib/port/rte_port_ras.c | 2 + lib/port/rte_port_ring.c | 6 + lib/port/rte_port_sched.c | 2 + lib/port/rte_port_source_sink.c | 2 + lib/port/rte_port_sym_crypto.c | 3 + lib/port/rte_swx_port_ethdev.c | 2 + lib/port/rte_swx_port_fd.c | 2 + lib/port/rte_swx_port_ring.c | 2 + lib/port/rte_swx_port_source_sink.c | 3 + lib/power/power_common.c | 8 + lib/power/rte_power_cpufreq.c | 18 + lib/power/rte_power_pmd_mgmt.c | 10 + lib/power/rte_power_qos.c | 2 + lib/power/rte_power_uncore.c | 14 + lib/rawdev/rte_rawdev.c | 30 + lib/rcu/rte_rcu_qsbr.c | 11 + lib/regexdev/rte_regexdev.c | 26 + lib/reorder/rte_reorder.c | 11 + lib/rib/rte_rib.c | 14 + lib/rib/rte_rib6.c | 14 + lib/ring/rte_ring.c | 11 + lib/ring/rte_soring.c | 3 + lib/ring/soring.c | 16 + lib/sched/rte_approx.c | 1 + lib/sched/rte_pie.c | 2 + lib/sched/rte_red.c | 6 + lib/sched/rte_sched.c | 15 + lib/security/rte_security.c | 20 + lib/stack/rte_stack.c | 3 + lib/table/rte_swx_table_em.c | 2 + lib/table/rte_swx_table_learner.c | 10 + lib/table/rte_swx_table_selector.c | 6 + lib/table/rte_swx_table_wm.c | 1 + lib/table/rte_table_acl.c | 1 + lib/table/rte_table_array.c | 1 + lib/table/rte_table_hash_cuckoo.c | 1 + lib/table/rte_table_hash_ext.c | 1 + lib/table/rte_table_hash_key16.c | 2 + lib/table/rte_table_hash_key32.c | 2 + lib/table/rte_table_hash_key8.c | 2 + lib/table/rte_table_hash_lru.c | 1 + lib/table/rte_table_lpm.c | 1 + lib/table/rte_table_lpm_ipv6.c | 1 + lib/table/rte_table_stub.c | 1 + lib/telemetry/telemetry.c | 3 + lib/telemetry/telemetry_data.c | 17 + lib/telemetry/telemetry_legacy.c | 1 + lib/timer/rte_timer.c | 18 + lib/vhost/socket.c | 16 + lib/vhost/vdpa.c | 11 + lib/vhost/vhost.c | 41 ++ lib/vhost/vhost_crypto.c | 6 + lib/vhost/vhost_user.c | 2 + lib/vhost/virtio_net.c | 7 + 387 files changed, 4121 insertions(+), 2 deletions(-)
drivers/baseband/acc/rte_acc100_pmd.c +1 -0
@@ -4635,6 +4635,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 +1 -0
@@ -3366,6 +3366,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 +1 -0
@@ -2452,6 +2452,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 +2 -0
@@ -258,6 +258,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 +266,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 +4 -0
@@ -139,11 +139,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 +480,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 +489,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 +4 -0
@@ -550,6 +550,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 +585,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 +613,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 +659,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 +104 -0
152 lines not on this page · raw message
drivers/bus/fslmc/fslmc_bus.c +4 -0
@@ -29,8 +29,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 +527,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 +537,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 +12 -0
@@ -83,6 +83,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 +155,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 +986,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 +1005,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 +1022,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 +1032,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 +1042,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 +1058,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 +1149,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 +1274,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 +1306,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 +6 -0
@@ -26,6 +26,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 +158,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 +181,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 +238,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 +262,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 +334,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 +3 -0
@@ -315,6 +315,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 +478,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 +517,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 +6 -0
@@ -26,6 +26,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 +65,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 +166,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 +190,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 +249,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 +273,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 +8 -0
@@ -24,6 +24,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 +63,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 +173,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 +197,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 +280,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 +325,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 +368,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 +419,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 +13 -0
@@ -26,6 +26,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 +62,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 +175,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 +199,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 +257,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 +282,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 +328,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 +357,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 +394,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 +423,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 +452,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 +489,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 +529,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 +2 -0
@@ -18,6 +18,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 +58,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 +1 -0
@@ -52,6 +52,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 +3 -0
@@ -95,6 +95,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 +109,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 +123,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 +2 -0
@@ -151,6 +151,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 +165,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 +11 -0
@@ -40,9 +40,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 +54,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 +331,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 +353,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 +614,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 +626,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 +649,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 +2 -0
@@ -325,6 +325,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 +383,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 +41 -0
277 lines not on this page · raw message
drivers/bus/ifpga/ifpga_bus.c +3 -0
@@ -44,6 +44,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 +53,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 +73,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 +10 -0
@@ -48,6 +48,7 @@*/ /* Map pci device */ +RTE_EXPORT_SYMBOL (rte_pci_map_device) intrte_pci_map_device (struct rte_pci_device *dev) {
@@ -69,6 +70,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 +397,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 +444,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 +488,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 +500,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 +511,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 +573,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 +616,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 +630,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 +10 -0
@@ -54,6 +54,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 +85,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 +629,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 +653,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 +677,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 +700,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 +722,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 +750,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 +770,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 +790,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 +10 -0
@@ -32,6 +32,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 +477,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 +502,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 +510,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 +798,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 +810,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 +855,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 +898,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 +927,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 +10 -0
@@ -36,6 +36,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 +51,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 +63,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 +78,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 +93,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 +106,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 +130,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 +144,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 +157,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 +180,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 +2 -0
@@ -28,12 +28,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 +9 -0
@@ -582,6 +582,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 +596,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 +611,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 +621,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 +629,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 +639,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 +665,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 +675,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 +683,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 +6 -0
@@ -51,6 +51,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 +59,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 +95,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 +320,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 +360,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 +6 -0
@@ -164,6 +164,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 +223,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 +340,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 +372,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 +13 -0
@@ -47,6 +47,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 +77,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 +95,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 +139,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 +183,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 +193,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 +224,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 +272,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 +343,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 +364,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 +374,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 +390,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 +3 -0
@@ -191,6 +191,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 +280,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 +291,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 +12 -0
@@ -301,6 +301,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 +411,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 +576,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 +627,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 +674,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 +705,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 +978,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 +1124,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 +1475,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 +1582,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 +1 -0
@@ -9,6 +9,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/roc_platform.c +559 -0
600 lines not on this page · raw message
drivers/common/cpt/cpt_fpm_tables.c +2 -0
@@ -1081,6 +1081,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 +1126,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 +3 -0
@@ -14,6 +14,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 +29,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 +45,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 +1 -0
@@ -13,4 +13,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 +12 -0
@@ -213,6 +213,7 @@ linear_dir(struct dt_dir *d) } } +RTE_EXPORT_INTERNAL_SYMBOL (of_init_path) intof_init_path (const char *dt_path) {
@@ -297,6 +298,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 +324,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 +344,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 +361,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 +375,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 +391,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 +421,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 +466,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 +496,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 +543,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 +584,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 +6 -0
@@ -8,6 +8,7 @@#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 +154,7 @@ read_memory_node(unsigned int *count)return nodes; } +RTE_EXPORT_INTERNAL_SYMBOL (dpaax_iova_table_populate) intdpaax_iova_table_populate (void ) {
@@ -254,6 +256,7 @@ dpaax_iova_table_populate(void)return 0 ; } +RTE_EXPORT_INTERNAL_SYMBOL (dpaax_iova_table_depopulate) voiddpaax_iova_table_depopulate (void ) {
@@ -263,6 +266,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 +353,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 +466,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 +4 -0
@@ -103,6 +103,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 +147,7 @@ ionic_uio_scan_mnet_devices(void) } } +RTE_EXPORT_INTERNAL_SYMBOL (ionic_uio_scan_mcrypt_devices) voidionic_uio_scan_mcrypt_devices (void ) {
@@ -301,6 +303,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 +322,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 +1 -0
@@ -18,6 +18,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 +9 -0
@@ -27,9 +27,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 +91,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 +158,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) {
@@ -873,6 +877,7 @@ mlx5_os_open_device(struct mlx5_common_device *cdev, uint32_t classes)return 0 ; } +RTE_EXPORT_INTERNAL_SYMBOL (mlx5_get_device_guid) intmlx5_get_device_guid (const struct rte_pci_addr *dev,uint8_t *guid,size_t len) {
@@ -918,6 +923,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)
@@ -957,6 +963,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) {
@@ -988,6 +995,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)
@@ -1089,6 +1097,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 +3 -0
@@ -105,6 +105,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 +135,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 +153,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 +1 -0
@@ -1578,6 +1578,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 +21 -0
@@ -195,6 +195,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 +642,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 +730,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 +768,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 +793,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 +850,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 +929,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 +956,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 +1146,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 +1203,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 +1239,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 +1446,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) intmlx5_nl_switch_info (int nl,unsigned int ifindex,struct mlx5_switch_info *info)
@@ -1485,6 +1497,7 @@ mlx5_nl_switch_info(int nl, unsigned int ifindex,* @param[in] ifindex * Interface index of network device to delete. */ +RTE_EXPORT_INTERNAL_SYMBOL (mlx5_nl_vlan_vmwa_delete) voidmlx5_nl_vlan_vmwa_delete (struct mlx5_nl_vlan_vmwa_context *vmwa,uint32_t ifindex)
@@ -1562,6 +1575,7 @@ nl_attr_nest_end(struct nlmsghdr *nlh, struct nlattr *nest)* @param[in] tag * VLAN tag for VLAN network device to create. */ +RTE_EXPORT_INTERNAL_SYMBOL (mlx5_nl_vlan_vmwa_create) uint32_tmlx5_nl_vlan_vmwa_create (struct mlx5_nl_vlan_vmwa_context *vmwa,uint32_t ifindex,uint16_t tag)
@@ -1714,6 +1728,7 @@ mlx5_nl_generic_family_id_get(int nlsk_fd, const char *name)* otherwise and rte_errno is set. */ +RTE_EXPORT_INTERNAL_SYMBOL (mlx5_nl_devlink_family_id_get) intmlx5_nl_devlink_family_id_get (int nlsk_fd) {
@@ -1940,6 +1955,7 @@ mlx5_nl_enable_roce_set(int nlsk_fd, int family_id, const char *pci_addr,* @return * 0 on success, negative on failure. */ +RTE_EXPORT_INTERNAL_SYMBOL (mlx5_nl_parse_link_status_update) intmlx5_nl_parse_link_status_update (struct nlmsghdr *hdr,uint32_t *ifindex) {
@@ -1971,6 +1987,7 @@ mlx5_nl_parse_link_status_update(struct nlmsghdr *hdr, uint32_t *ifindex)* 0 on success, including the case when there are no events. * Negative on failure and rte_errno is set. */ +RTE_EXPORT_INTERNAL_SYMBOL (mlx5_nl_read_events) intmlx5_nl_read_events (int nlsk_fd,mlx5_nl_event_cb *cb,void *cb_arg) {
@@ -2058,6 +2075,7 @@ mlx5_nl_esw_multiport_cb(struct nlmsghdr *nh, void *arg)#define NL_ESW_MULTIPORT_PARAM "esw_multiport" +RTE_EXPORT_INTERNAL_SYMBOL (mlx5_nl_devlink_esw_multiport_get) intmlx5_nl_devlink_esw_multiport_get (int nlsk_fd,int family_id,const char *pci_addr,int *enable) {
@@ -2096,12 +2114,14 @@ mlx5_nl_devlink_esw_multiport_get(int nlsk_fd, int family_id, const char *pci_adreturn ret; } +RTE_EXPORT_INTERNAL_SYMBOL (mlx5_nl_rdma_monitor_init) intmlx5_nl_rdma_monitor_init (void ) {return mlx5_nl_init (NETLINK_RDMA ,RDMA_NL_GROUP_NOTIFICATION ); } +RTE_EXPORT_INTERNAL_SYMBOL (mlx5_nl_rdma_monitor_info_get) voidmlx5_nl_rdma_monitor_info_get (struct nlmsghdr *hdr,struct mlx5_nl_port_info *data) {
@@ -2196,6 +2216,7 @@ mlx5_nl_rdma_monitor_cap_get_cb(struct nlmsghdr *hdr, void *arg)* @return * 0 on success, negative on error and rte_errno is set. */ +RTE_EXPORT_INTERNAL_SYMBOL (mlx5_nl_rdma_monitor_cap_get) intmlx5_nl_rdma_monitor_cap_get (int nl,uint8_t *cap) {
drivers/common/mlx5/mlx5_common.c +9 -0
@@ -20,6 +20,7 @@#include "mlx5_common_defs.h" #include "mlx5_common_private.h" +RTE_EXPORT_INTERNAL_SYMBOL (haswell_broadwell_cpu) uint8_t haswell_broadwell_cpu;/* Driver type key for new device global syntax. */
@@ -127,6 +128,7 @@ driver_get(uint32_t class)return NULL ; } +RTE_EXPORT_INTERNAL_SYMBOL (mlx5_kvargs_process) intmlx5_kvargs_process (struct mlx5_kvargs_ctrl *mkvlist,const char *const keys[], arg_handler_t handler,void *opaque_arg)
@@ -463,6 +465,7 @@ to_mlx5_device(const struct rte_device *rte_dev)return NULL ; } +RTE_EXPORT_INTERNAL_SYMBOL (mlx5_dev_to_pci_str) intmlx5_dev_to_pci_str (const struct rte_device *dev,char *addr,size_t size) {
@@ -512,6 +515,7 @@ mlx5_dev_mempool_register(struct mlx5_common_device *cdev,* @param mp * Mempool being unregistered. */ +RTE_EXPORT_INTERNAL_SYMBOL (mlx5_dev_mempool_unregister) voidmlx5_dev_mempool_unregister (struct mlx5_common_device *cdev,struct rte_mempool *mp)
@@ -591,6 +595,7 @@ mlx5_dev_mempool_event_cb(enum rte_mempool_event event, struct rte_mempool *mp,* Callbacks addresses are local in each process. * Therefore, each process can register private callbacks. */ +RTE_EXPORT_INTERNAL_SYMBOL (mlx5_dev_mempool_subscribe) intmlx5_dev_mempool_subscribe (struct mlx5_common_device *cdev) {
@@ -1220,6 +1225,7 @@ mlx5_common_dev_dma_unmap(struct rte_device *rte_dev, void *addr,return 0 ; } +RTE_EXPORT_INTERNAL_SYMBOL (mlx5_class_driver_register) voidmlx5_class_driver_register (struct mlx5_class_driver *driver) {
@@ -1242,6 +1248,7 @@ static bool mlx5_common_initialized;* for multiple PMDs. Each mlx5 PMD that depends on mlx5_common module, * must invoke in its constructor. */ +RTE_EXPORT_INTERNAL_SYMBOL (mlx5_common_init) voidmlx5_common_init (void ) {
@@ -1400,6 +1407,7 @@ mlx5_devx_alloc_uar(struct mlx5_common_device *cdev)return uar; } +RTE_EXPORT_INTERNAL_SYMBOL (mlx5_devx_uar_release) voidmlx5_devx_uar_release (struct mlx5_uar *uar) {
@@ -1408,6 +1416,7 @@ mlx5_devx_uar_release(struct mlx5_uar *uar)memset (uar,0 ,sizeof (*uar)); } +RTE_EXPORT_INTERNAL_SYMBOL (mlx5_devx_uar_prepare) intmlx5_devx_uar_prepare (struct mlx5_common_device *cdev,struct mlx5_uar *uar) {
drivers/common/mlx5/mlx5_common_devx.c +9 -0
@@ -23,6 +23,7 @@* @param[in] cq * DevX CQ to destroy. */ +RTE_EXPORT_INTERNAL_SYMBOL (mlx5_devx_cq_destroy) voidmlx5_devx_cq_destroy (struct mlx5_devx_cq *cq) {
@@ -77,6 +78,7 @@ mlx5_cq_init(struct mlx5_devx_cq *cq_obj, uint16_t cq_size)* @return * 0 on success, a negative errno value otherwise and rte_errno is set. */ +RTE_EXPORT_INTERNAL_SYMBOL (mlx5_devx_cq_create) intmlx5_devx_cq_create (void *ctx,struct mlx5_devx_cq *cq_obj,uint16_t log_desc_n,struct mlx5_devx_cq_attr *attr,int socket)
@@ -162,6 +164,7 @@ mlx5_devx_cq_create(void *ctx, struct mlx5_devx_cq *cq_obj, uint16_t log_desc_n,* @param[in] sq * DevX SQ to destroy. */ +RTE_EXPORT_INTERNAL_SYMBOL (mlx5_devx_sq_destroy) voidmlx5_devx_sq_destroy (struct mlx5_devx_sq *sq) {
@@ -204,6 +207,7 @@ mlx5_devx_sq_destroy(struct mlx5_devx_sq *sq)* @return * 0 on success, a negative errno value otherwise and rte_errno is set. */ +RTE_EXPORT_INTERNAL_SYMBOL (mlx5_devx_sq_create) intmlx5_devx_sq_create (void *ctx,struct mlx5_devx_sq *sq_obj,uint16_t log_wqbb_n,struct mlx5_devx_create_sq_attr *attr,int socket)
@@ -312,6 +316,7 @@ mlx5_devx_rmp_destroy(struct mlx5_devx_rmp *rmp)* @param[in] qp * DevX QP to destroy. */ +RTE_EXPORT_INTERNAL_SYMBOL (mlx5_devx_qp_destroy) voidmlx5_devx_qp_destroy (struct mlx5_devx_qp *qp) {
@@ -350,6 +355,7 @@ mlx5_devx_qp_destroy(struct mlx5_devx_qp *qp)* @return * 0 on success, a negative errno value otherwise and rte_errno is set. */ +RTE_EXPORT_INTERNAL_SYMBOL (mlx5_devx_qp_create) intmlx5_devx_qp_create (void *ctx,struct mlx5_devx_qp *qp_obj,uint32_t queue_size,struct mlx5_devx_qp_attr *attr,int socket)
@@ -420,6 +426,7 @@ mlx5_devx_qp_create(void *ctx, struct mlx5_devx_qp *qp_obj, uint32_t queue_size,* @param[in] rq * DevX RQ to destroy. */ +RTE_EXPORT_INTERNAL_SYMBOL (mlx5_devx_rq_destroy) voidmlx5_devx_rq_destroy (struct mlx5_devx_rq *rq) {
@@ -695,6 +702,7 @@ mlx5_devx_rq_shared_create(void *ctx, struct mlx5_devx_rq *rq_obj,* @return * 0 on success, a negative errno value otherwise and rte_errno is set. */ +RTE_EXPORT_INTERNAL_SYMBOL(mlx5_devx_rq_create) int mlx5_devx_rq_create(void *ctx, struct mlx5_devx_rq *rq_obj, uint32_t wqe_size, uint16_t log_wqbb_n,
@@ -718,6 +726,7 @@ mlx5_devx_rq_create(void *ctx, struct mlx5_devx_rq *rq_obj,* @return * 0 on success, a negative errno value otherwise and rte_errno is set. */ +RTE_EXPORT_INTERNAL_SYMBOL (mlx5_devx_qp2rts) intmlx5_devx_qp2rts (struct mlx5_devx_qp *qp,uint32_t remote_qp_id) {
drivers/common/mlx5/mlx5_common_mp.c +8 -0
@@ -24,6 +24,7 @@* @return * 0 on success, a negative errno value otherwise and rte_errno is set. */ +RTE_EXPORT_INTERNAL_SYMBOL (mlx5_mp_req_mr_create) intmlx5_mp_req_mr_create (struct mlx5_common_device *cdev,uintptr_t addr) {
@@ -63,6 +64,7 @@ mlx5_mp_req_mr_create(struct mlx5_common_device *cdev, uintptr_t addr)* @param reg * True to register the mempool, False to unregister. */ +RTE_EXPORT_INTERNAL_SYMBOL(mlx5_mp_req_mempool_reg) int mlx5_mp_req_mempool_reg(struct mlx5_common_device *cdev, struct rte_mempool *mempool, bool reg,
@@ -113,6 +115,7 @@ mlx5_mp_req_mempool_reg(struct mlx5_common_device *cdev,* @return * 0 on success, a negative errno value otherwise and rte_errno is set. */ +RTE_EXPORT_INTERNAL_SYMBOL (mlx5_mp_req_queue_state_modify) intmlx5_mp_req_queue_state_modify (struct mlx5_mp_id *mp_id,struct mlx5_mp_arg_queue_state_modify *sm)
@@ -151,6 +154,7 @@ mlx5_mp_req_queue_state_modify(struct mlx5_mp_id *mp_id,* @return * fd on success, a negative errno value otherwise and rte_errno is set. */ +RTE_EXPORT_INTERNAL_SYMBOL (mlx5_mp_req_verbs_cmd_fd) intmlx5_mp_req_verbs_cmd_fd (struct mlx5_mp_id *mp_id) {
@@ -192,6 +196,7 @@ mlx5_mp_req_verbs_cmd_fd(struct mlx5_mp_id *mp_id)/** * Initialize by primary process. */ +RTE_EXPORT_INTERNAL_SYMBOL (mlx5_mp_init_primary) intmlx5_mp_init_primary (const char *name,const rte_mp_t primary_action) {
@@ -209,6 +214,7 @@ mlx5_mp_init_primary(const char *name, const rte_mp_t primary_action)/** * Un-initialize by primary process. */ +RTE_EXPORT_INTERNAL_SYMBOL (mlx5_mp_uninit_primary) voidmlx5_mp_uninit_primary (const char *name) {
@@ -219,6 +225,7 @@ mlx5_mp_uninit_primary(const char *name)/** * Initialize by secondary process. */ +RTE_EXPORT_INTERNAL_SYMBOL (mlx5_mp_init_secondary) intmlx5_mp_init_secondary (const char *name,const rte_mp_t secondary_action) {
@@ -229,6 +236,7 @@ mlx5_mp_init_secondary(const char *name, const rte_mp_t secondary_action)/** * Un-initialize by secondary process. */ +RTE_EXPORT_INTERNAL_SYMBOL (mlx5_mp_uninit_secondary) voidmlx5_mp_uninit_secondary (const char *name) {
drivers/common/mlx5/mlx5_common_mr.c +11 -0
@@ -51,6 +51,7 @@ struct mlx5_mempool_reg {bool is_extmem; }; +RTE_EXPORT_INTERNAL_SYMBOL (mlx5_mprq_buf_free_cb) void mlx5_mprq_buf_free_cb(void *addr __rte_unused, void *opaque) {
@@ -249,6 +250,7 @@ mlx5_mr_btree_init(struct mlx5_mr_btree *bt, int n, int socket)* @param bt * Pointer to B-tree structure. */ +RTE_EXPORT_INTERNAL_SYMBOL (mlx5_mr_btree_free) voidmlx5_mr_btree_free (struct mlx5_mr_btree *bt) {
@@ -299,6 +301,7 @@ mlx5_mr_btree_dump(struct mlx5_mr_btree *bt __rte_unused)* @return * 0 on success, a negative errno value otherwise and rte_errno is set. */ +RTE_EXPORT_INTERNAL_SYMBOL (mlx5_mr_ctrl_init) intmlx5_mr_ctrl_init (struct mlx5_mr_ctrl *mr_ctrl,uint32_t *dev_gen_ptr,int socket)
@@ -965,6 +968,7 @@ mlx5_mr_create_primary(void *pd,* @return * Searched LKey on success, UINT32_MAX on failure and rte_errno is set. */ +RTE_EXPORT_INTERNAL_SYMBOL(mlx5_mr_create) uint32_t mlx5_mr_create(struct mlx5_common_device *cdev, struct mlx5_mr_share_cache *share_cache,
@@ -1059,6 +1063,7 @@ mr_lookup_caches(struct mlx5_mr_ctrl *mr_ctrl,* @return * Searched LKey on success, UINT32_MAX on no match. */ +RTE_EXPORT_INTERNAL_SYMBOL (mlx5_mr_addr2mr_bh) uint32_tmlx5_mr_addr2mr_bh (struct mlx5_mr_ctrl *mr_ctrl,uintptr_t addr) {
@@ -1149,6 +1154,7 @@ mlx5_mr_create_cache(struct mlx5_mr_share_cache *share_cache, int socket)* @param mr_ctrl * Pointer to per-queue MR local cache. */ +RTE_EXPORT_INTERNAL_SYMBOL (mlx5_mr_flush_local_cache) voidmlx5_mr_flush_local_cache (struct mlx5_mr_ctrl *mr_ctrl) {
@@ -1803,6 +1809,7 @@ mlx5_mr_mempool_register_secondary(struct mlx5_common_device *cdev,* @return * 0 on success, (-1) on failure and rte_errno is set. */ +RTE_EXPORT_INTERNAL_SYMBOL (mlx5_mr_mempool_register) intmlx5_mr_mempool_register (struct mlx5_common_device *cdev,struct rte_mempool *mp,bool is_extmem)
@@ -1868,6 +1875,7 @@ mlx5_mr_mempool_unregister_secondary(struct mlx5_common_device *cdev,* @return * 0 on success, (-1) on failure and rte_errno is set. */ +RTE_EXPORT_INTERNAL_SYMBOL (mlx5_mr_mempool_unregister) intmlx5_mr_mempool_unregister (struct mlx5_common_device *cdev,struct rte_mempool *mp)
@@ -1979,6 +1987,7 @@ mlx5_lookup_mempool_regs(struct mlx5_mr_ctrl *mr_ctrl,* @return * 0 on success, (-1) on failure and rte_errno is set. */ +RTE_EXPORT_INTERNAL_SYMBOL (mlx5_mr_mempool_populate_cache) intmlx5_mr_mempool_populate_cache (struct mlx5_mr_ctrl *mr_ctrl,struct rte_mempool *mp)
@@ -2038,6 +2047,7 @@ mlx5_mr_mempool_populate_cache(struct mlx5_mr_ctrl *mr_ctrl,* @return * MR lkey on success, UINT32_MAX on failure. */ +RTE_EXPORT_INTERNAL_SYMBOL (mlx5_mr_mempool2mr_bh) uint32_tmlx5_mr_mempool2mr_bh (struct mlx5_mr_ctrl *mr_ctrl,struct rte_mempool *mp,uintptr_t addr)
@@ -2064,6 +2074,7 @@ mlx5_mr_mempool2mr_bh(struct mlx5_mr_ctrl *mr_ctrl,return lkey; } +RTE_EXPORT_INTERNAL_SYMBOL (mlx5_mr_mb2mr_bh) uint32_tmlx5_mr_mb2mr_bh (struct mlx5_mr_ctrl *mr_ctrl,struct rte_mbuf *mb) {
drivers/common/mlx5/mlx5_common_pci.c +2 -0
@@ -102,12 +102,14 @@ pci_ids_table_update(const struct rte_pci_id *driver_id_table)return 0 ; } +RTE_EXPORT_INTERNAL_SYMBOL (mlx5_dev_is_pci) boolmlx5_dev_is_pci (const struct rte_device *dev) {return strcmp (dev->bus->name,"pci" ) ==0 ; } +RTE_EXPORT_INTERNAL_SYMBOL (mlx5_dev_is_vf_pci) boolmlx5_dev_is_vf_pci (const struct rte_pci_device *pci_dev) {
drivers/common/mlx5/mlx5_common_utils.c +11 -0
@@ -26,6 +26,7 @@ mlx5_list_init(struct mlx5_list_inconst *l_inconst,return 0 ; } +RTE_EXPORT_INTERNAL_SYMBOL (mlx5_list_create) struct mlx5_list * mlx5_list_create(const char *name, void *ctx, bool lcores_share, mlx5_list_create_cb cb_create,
@@ -120,6 +121,7 @@ _mlx5_list_lookup(struct mlx5_list_inconst *l_inconst,return entry; } +RTE_EXPORT_INTERNAL_SYMBOL (mlx5_list_lookup) struct mlx5_list_entry *mlx5_list_lookup (struct mlx5_list *list,void *ctx) {
@@ -260,6 +262,7 @@ _mlx5_list_register(struct mlx5_list_inconst *l_inconst,return local_entry; } +RTE_EXPORT_INTERNAL_SYMBOL (mlx5_list_register) struct mlx5_list_entry *mlx5_list_register (struct mlx5_list *list,void *ctx) {
Lines of this file are not shown. View the raw message.
drivers/common/mlx5/mlx5_devx_cmds.c +51 -0
51 lines not on this page · raw message
drivers/common/mlx5/windows/mlx5_common_os.c +5 -0
Lines of this file are not shown. View the raw message.
drivers/common/mlx5/windows/mlx5_glue.c +1 -2
Lines of this file are not shown. View the raw message.
drivers/common/octeontx/octeontx_mbox.c +6 -0
Lines of this file are not shown. View the raw message.
drivers/common/sfc_efx/sfc_efx.c +273 -0
273 lines not on this page · raw message
drivers/crypto/cnxk/cn10k_cryptodev_ops.c +7 -0
Lines of this file are not shown. View the raw message.
drivers/crypto/cnxk/cn9k_cryptodev_ops.c +2 -0
Lines of this file are not shown. View the raw message.
drivers/crypto/cnxk/cnxk_cryptodev_ops.c +7 -0
Lines of this file are not shown. View the raw message.
drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c +2 -0
Lines of this file are not shown. View the raw message.
drivers/crypto/octeontx/otx_cryptodev_ops.c +2 -0
Lines of this file are not shown. View the raw message.
drivers/crypto/scheduler/rte_cryptodev_scheduler.c +10 -0
Lines of this file are not shown. View the raw message.
drivers/mempool/cnxk/cn10k_hwpool_ops.c +3 -0
Lines of this file are not shown. View the raw message.
drivers/mempool/dpaa2/dpaa2_hw_mempool.c +5 -0
Lines of this file are not shown. View the raw message.
drivers/net/atlantic/rte_pmd_atlantic.c +6 -0
Lines of this file are not shown. View the raw message.
drivers/net/bonding/rte_eth_bond_8023ad.c +12 -0
Lines of this file are not shown. View the raw message.
drivers/net/bonding/rte_eth_bond_api.c +15 -0
Lines of this file are not shown. View the raw message.
drivers/net/intel/idpf/idpf_common_device.c +10 -0
Lines of this file are not shown. View the raw message.
drivers/net/intel/idpf/idpf_common_rxtx.c +24 -0
Lines of this file are not shown. View the raw message.
drivers/net/intel/idpf/idpf_common_rxtx_avx2.c +2 -0
Lines of this file are not shown. View the raw message.
drivers/net/intel/idpf/idpf_common_rxtx_avx512.c +5 -0
Lines of this file are not shown. View the raw message.
drivers/net/intel/idpf/idpf_common_virtchnl.c +29 -0
Lines of this file are not shown. View the raw message.
drivers/net/intel/ipn3ke/ipn3ke_ethdev.c +1 -0
Lines of this file are not shown. View the raw message.
drivers/net/intel/ixgbe/rte_pmd_ixgbe.c +37 -0
Lines of this file are not shown. View the raw message.
drivers/net/softnic/rte_eth_softnic_thread.c +1 -0
Lines of this file are not shown. View the raw message.
lib/cryptodev/rte_cryptodev.c +83 -0
83 lines not on this page · raw message
lib/eal/common/eal_common_interrupts.c +27 -0
Lines of this file are not shown. View the raw message.
lib/eal/common/eal_common_trace_points.c +18 -0
Lines of this file are not shown. View the raw message.
lib/eal/common/eal_common_trace_utils.c +1 -0
Lines of this file are not shown. View the raw message.
lib/eal/loongarch/rte_power_intrinsics.c +4 -0
Lines of this file are not shown. View the raw message.
lib/ethdev/rte_ethdev.c +168 -0
168 lines not on this page · raw message
lib/ethdev/rte_flow.c +64 -0
64 lines not on this page · raw message
lib/eventdev/rte_event_crypto_adapter.c +15 -0
Lines of this file are not shown. View the raw message.
lib/eventdev/rte_event_eth_rx_adapter.c +23 -0
Lines of this file are not shown. View the raw message.
lib/eventdev/rte_event_eth_tx_adapter.c +17 -0
Lines of this file are not shown. View the raw message.
lib/eventdev/rte_event_timer_adapter.c +11 -0
Lines of this file are not shown. View the raw message.
lib/eventdev/rte_eventdev.c +46 -0
46 lines not on this page · raw message
lib/graph/rte_graph_model_mcore_dispatch.c +3 -0
Lines of this file are not shown. View the raw message.
lib/mldev/mldev_utils_scalar_bfloat16.c +2 -0
Lines of this file are not shown. View the raw message.
lib/pipeline/rte_swx_pipeline.c +73 -0
73 lines not on this page · raw message
lib/vhost/vhost.c +41 -0
41 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
Signature · 1 line
2.48.1
Part of the diff is not shown here. View the raw message.
RFC v4 7/8 build: use dynamically generated version maps
In reply to David MarchandSwitch to always dynamically generate version maps.
As the map files get generated, tooling around checking, converting, updating etc.. static version maps can be removed.
--- .github/workflows/build.yml | 1 - MAINTAINERS | 7 - buildtools/check-symbols.sh | 33 +- buildtools/map-list-symbol.sh | 7 +- buildtools/map_to_win.py | 41 --- buildtools/meson.build | 1 - devtools/check-symbol-change.sh | 186 ----------- devtools/check-symbol-maps.sh | 101 ------ devtools/checkpatches.sh | 2 +- devtools/update-abi.sh | 46 --- devtools/update_version_map_abi.py | 210 ------------ doc/guides/contributing/abi_policy.rst | 21 +- doc/guides/contributing/coding_style.rst | 7 - .../contributing/img/patch_cheatsheet.svg | 303 ++++++++---------- doc/guides/contributing/patches.rst | 6 +- drivers/meson.build | 74 ++--- lib/meson.build | 73 ++--- 17 files changed, 188 insertions(+), 931 deletions(-) delete mode 100644 buildtools/map_to_win.py delete mode 100755 devtools/check-symbol-change.sh delete mode 100755 devtools/check-symbol-maps.sh delete mode 100755 devtools/update-abi.sh delete mode 100755 devtools/update_version_map_abi.py
.github/workflows/build.yml +0 -1
@@ -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 +1 -1
@@ -9,7 +9,7 @@ # - DPDK_CHECKPATCH_OPTIONS . $(dirname $(readlink -f $0))/load-devel-config -VALIDATE_NEW_API=$(dirname $(readlink -f $0))/check-symbol-change.sh +VALIDATE_NEW_API=$(dirname $(readlink -f $0))/check-symbol-change.py # Enable codespell by default. This can be overwritten from a config file. # Codespell can also be enabled by setting DPDK_CHECKPATCH_CODESPELL to a valid path
devtools/update-abi.sh deleted +0 -46
46 lines not on this page · raw message
devtools/update_version_map_abi.py deleted +0 -210
210 lines not on this page · raw message
doc/guides/contributing/abi_policy.rst +2 -19
@@ -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 +20 -54
96 lines not on this page · raw message
lib/meson.build +19 -54
96 lines not on this page · raw message
Signature · 1 line
2.48.1
RFC v4 8/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 | 174 ------- 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(+), 5114 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 -174
174 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
359 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.48.1
Part of the diff is not shown here. View the raw message.
Re: [RFC v4 0/8] Symbol versioning and export rework
In reply to David MarchandQuoted 21 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.
Quoted 7 lines
Comments please.
--
David MarchandDepends-on: series-34869 ("remove driver-specific logic for AVX builds")
Erm, looks like the CI did not catch this dependency (maybe I should have not put it after the signature.. ?).
Anyway... this is 25.07 material, I'll repost once dependencies (Bruce series) have been merged in next release.
Signature · 1 line
David Marchand
Re: [RFC v4 0/8] Symbol versioning and export rework
In reply to David MarchandQuoted 14 lines · David Marchand
So far, each DPDK library (or driver) exposing symbols in an ABI had to maintain a version.map and use some macros for symbol versioning, specially crafted with the GNU linker in mind.
This series proposes to rework the whole principle, and instead rely on marking the symbol exports in the source code itself, then let it to the build framework to produce a version script adapted to the linker in use (think GNU linker vs MSVC linker).
This greatly simplifies versioning symbols: a developer does not need to know anything about version.map, or that a versioned symbol must be renamed with
_v26, annotated with__vsym, exported in a header etc...
Quoted 8 lines
Checking symbol maps becomes unnecessary since generated by the build framework.
Updating to a new ABI is just a matter of bumping the value in
ABI_VERSION.Comments please.
- I am considering making rte_function_versioning.h a non exported header (precisely, moving it to buildtools/ and maybe renaming it).
This header contains macros not prefixed with RTE_.
Using it requires some build trick (see use_function_versioning). And I don't see symbol versioning as a MUST infrastructure that DPDK needs to provide to datapath applications.
Yet technically, this change would be an API breakage if some applications indeed relied on it.
- On a similar note, this RFC series adds the rte_exports.h header (defining RTE_EXPORT*_SYMBOL()) in config/, though its job is for extracting a symbol list during the build.
So a better location is probably buildtools/.
Signature · 1 line
David Marchand
RE: [RFC v4 0/8] Symbol versioning and export rework
Quoted 3 lines
From: David Marchand [mailto:[email protected]]
Sent: Wednesday, 26 March 2025 13.03
[...]
Quoted 2 lines
And I don't see symbol versioning as a MUST infrastructure that DPDK needs to provide to datapath applications.
Agree.
Getting rid of the exotic stuff like symbol versioning would make the DPDK API easier understandable for DPDK application developers. Also, it's my impression that symbol versioning does not really play a major role in keeping or breaking ABI compatibility.
Conclusion: Not worth the complexity.
Re: [RFC v4 0/8] Symbol versioning and export rework
In reply to David MarchandQuoted 19 lines · David Marchand
Quoted 17 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.
Quoted 9 lines
Quoted 5 lines
Updating to a new ABI is just a matter of bumping the value in
ABI_VERSION.Comments please.
- I am considering making
rte_function_versioning.ha non exported header (precisely, moving it to buildtools/ and maybe renaming it).
+1 for not exporting it.
-1 for moving to buildtools. I don't see the need to introduce yet another header path in DPDK. Let's just keep it where it is, or moved slightly in the EAL folder, and then not export it.
Quoted 8 lines
This header contains macros not prefixed with
RTE_.
Using it requires some build trick (seeuse_function_versioning). And I don't see symbol versioning as a MUST infrastructure that DPDK needs to provide to datapath applications.Yet technically, this change would be an API breakage if some applications indeed relied on it.
Quoted 8 lines
Cc techboard for info.- On a similar note, this RFC series adds the
rte_exports.hheader (defining RTE_EXPORT*_SYMBOL()) in config/, though its job is for extracting a symbol list during the build.
So a better location is probably buildtools/.
Again, don't particularly like buildtools as a path, as it's not really a tool, just a header file. I'd rather keep the tools folders for scripts and the like.
/Bruce
Re: [RFC v4 0/8] Symbol versioning and export rework
In reply to David MarchandQuoted 28 lines · David Marchand
Quoted 14 lines · David Marchand
So far, each DPDK library (or driver) exposing symbols in an ABI had to maintain a version.map and use some macros for symbol versioning, specially crafted with the GNU linker in mind.
This series proposes to rework the whole principle, and instead rely on marking the symbol exports in the source code itself, then let it to the build framework to produce a version script adapted to the linker in use (think GNU linker vs MSVC linker).
This greatly simplifies versioning symbols: a developer does not need to know anything about version.map, or that a versioned symbol must be renamed with
_v26, annotated with__vsym, exported in a header etc...Quoted 8 lines
Checking symbol maps becomes unnecessary since generated by the build framework.
Updating to a new ABI is just a matter of bumping the value in
ABI_VERSION.Comments please.
- I am considering making
rte_function_versioning.ha non exported header (precisely, moving it to buildtools/ and maybe renaming it).
Quoted 8 lines
This header contains macros not prefixed with
RTE_.
Using it requires some build trick (seeuse_function_versioning). And I don't see symbol versioning as a MUST infrastructure that DPDK needs to provide to datapath applications.Yet technically, this change would be an API breakage if some applications indeed relied on it.
Is it not needed for exporting if an exported library header had versioned symbols is in?
/Bruce
Re: [RFC v4 0/8] Symbol versioning and export rework
Quoted 8 lines · Bruce Richardson
Quoted 8 lines
- I am considering making
rte_function_versioning.ha non exported header (precisely, moving it to buildtools/ and maybe renaming it).This header contains macros not prefixed with
RTE_.
Using it requires some build trick (seeuse_function_versioning). And I don't see symbol versioning as a MUST infrastructure that DPDK needs to provide to datapath applications.
Quoted 6 lines
Quoted 3 lines
Yet technically, this change would be an API breakage if some applications indeed relied on it.
Is it not needed for exporting if an exported library header had versioned symbols is in?
That could be, though we don't expose such versionned symbols atm (and I don't think we ever did in DPDK).
The only public symbol is always the symbol implemented for the latest ABI for newly compiled applications.
Wrt to your other comment on the header(s) location, I don't mind moving to lib/eal/common.
Signature · 1 line
David Marchand
Re: [RFC v4 0/8] Symbol versioning and export rework
Quoted 14 lines · David Marchand
Quoted 12 lines · Bruce Richardson
Quoted 11 lines
- I am considering making
rte_function_versioning.ha non exported header (precisely, moving it to buildtools/ and maybe renaming it).This header contains macros not prefixed with
RTE_.
Using it requires some build trick (seeuse_function_versioning). And I don't see symbol versioning as a MUST infrastructure that DPDK needs to provide to datapath applications.Yet technically, this change would be an API breakage if some applications indeed relied on it.
Quoted 8 lines
Quoted 2 lines
Is it not needed for exporting if an exported library header had versioned symbols is in?
That could be, though we don't expose such versionned symbols atm (and I don't think we ever did in DPDK).
The only public symbol is always the symbol implemented for the latest ABI for newly compiled applications.
Ok, that's good. Looking through code and code history I do indeed see that the use of function versioning in the past seems to have all been done through the C file. Therefore, no issues with making the header internal-only and not exported.
/Bruce
v5 cover Symbol versioning and export rework
In reply to David MarchandSo far, each DPDK library (or driver) exposing symbols in an ABI had to maintain a version.map and use some macros for symbol versioning, specially crafted with the GNU linker in mind.
This series proposes to rework the whole principle, and instead rely on marking the symbol exports in the source code itself, then let it to the build framework to produce a version script adapted to the linker in use (think GNU linker vs MSVC linker).
This greatly simplifies versioning symbols: a developer does not need to know anything about version.map, or that a versioned symbol must be renamed with _v26, annotated with __vsym, exported in a header etc...
Checking symbol maps becomes unnecessary since generated by the build framework.
Updating to a new ABI is just a matter of bumping the value in ABI_VERSION.
Signature · 696 lines
David Marchand Changes since RFC v4: - rebased on main, now that Bruce series is merged, - the export macros header has been moved to lib/eal/common/ and its inclusion is now mandatory (rather than an implicit -include), - reordered patches: symbol versioning is touched last and merged in the export header (replacing the legacy rte_function_versioning.h), Changes since RFC v3: - fixed/simplified documentation, - rebased on top of Bruce series for common handling of AVX sources, Changes since RFC v2: - updated RTE_VERSION_SYMBOL() (and friends) so that only the fonction signature is enclosed in the macro, - dropped invalid exports for some dead symbols or inline helpers, - updated documentation and tooling, - converted the whole tree (via a local script of mine), David Marchand (8): lib: remove incorrect exported symbols drivers: remove incorrect exported symbols buildtools: display version when listing symbols build: generate symbol maps build: mark exported symbols build: use dynamically generated version maps build: remove static version maps eal: rework function versioning macros .github/workflows/build.yml | 1 - MAINTAINERS | 9 +- buildtools/check-symbols.sh | 33 +- buildtools/gen-version-map.py | 105 ++++ buildtools/map-list-symbol.sh | 15 +- buildtools/map_to_win.py | 41 -- buildtools/meson.build | 2 +- devtools/check-spdx-tag.sh | 2 +- devtools/check-symbol-change.py | 90 +++ devtools/check-symbol-change.sh | 186 ------ devtools/check-symbol-maps.sh | 115 ---- devtools/checkpatches.sh | 4 +- devtools/update-abi.sh | 46 -- devtools/update_version_map_abi.py | 210 ------- doc/api/doxy-api-index.md | 1 - doc/guides/contributing/abi_policy.rst | 21 +- doc/guides/contributing/abi_versioning.rst | 415 +++---------- doc/guides/contributing/coding_style.rst | 7 - .../contributing/img/patch_cheatsheet.svg | 303 +++++---- doc/guides/contributing/patches.rst | 6 +- doc/guides/rel_notes/release_25_07.rst | 2 + drivers/baseband/acc/rte_acc100_pmd.c | 2 + drivers/baseband/acc/version.map | 10 - .../fpga_5gnr_fec/rte_fpga_5gnr_fec.c | 2 + drivers/baseband/fpga_5gnr_fec/version.map | 11 - drivers/baseband/fpga_lte_fec/fpga_lte_fec.c | 2 + drivers/baseband/fpga_lte_fec/version.map | 10 - drivers/bus/auxiliary/auxiliary_common.c | 3 + drivers/bus/auxiliary/version.map | 8 - drivers/bus/cdx/cdx.c | 5 + drivers/bus/cdx/cdx_vfio.c | 5 + drivers/bus/cdx/version.map | 14 - drivers/bus/dpaa/dpaa_bus.c | 10 + drivers/bus/dpaa/dpaa_bus_symbols.c | 99 +++ drivers/bus/dpaa/meson.build | 1 + drivers/bus/dpaa/version.map | 109 ---- drivers/bus/fslmc/fslmc_bus.c | 5 + drivers/bus/fslmc/fslmc_vfio.c | 13 + drivers/bus/fslmc/mc/dpbp.c | 8 + drivers/bus/fslmc/mc/dpci.c | 5 + drivers/bus/fslmc/mc/dpcon.c | 8 + drivers/bus/fslmc/mc/dpdmai.c | 10 + drivers/bus/fslmc/mc/dpio.c | 15 + drivers/bus/fslmc/mc/dpmng.c | 4 + drivers/bus/fslmc/mc/mc_sys.c | 2 + drivers/bus/fslmc/portal/dpaa2_hw_dpbp.c | 4 + drivers/bus/fslmc/portal/dpaa2_hw_dpci.c | 3 + drivers/bus/fslmc/portal/dpaa2_hw_dpio.c | 12 + drivers/bus/fslmc/qbman/qbman_debug.c | 4 + drivers/bus/fslmc/qbman/qbman_portal.c | 43 ++ drivers/bus/fslmc/version.map | 129 ---- drivers/bus/ifpga/ifpga_bus.c | 4 + drivers/bus/ifpga/version.map | 9 - drivers/bus/pci/bsd/pci.c | 11 + drivers/bus/pci/linux/pci.c | 11 + drivers/bus/pci/pci_common.c | 11 + drivers/bus/pci/version.map | 43 -- drivers/bus/pci/windows/pci.c | 11 + drivers/bus/platform/platform.c | 3 + drivers/bus/platform/version.map | 10 - drivers/bus/uacce/uacce.c | 10 + drivers/bus/uacce/version.map | 15 - drivers/bus/vdev/vdev.c | 7 + drivers/bus/vdev/version.map | 17 - drivers/bus/vmbus/linux/vmbus_bus.c | 7 + drivers/bus/vmbus/version.map | 33 - drivers/bus/vmbus/vmbus_channel.c | 14 + drivers/bus/vmbus/vmbus_common.c | 4 + drivers/common/cnxk/cnxk_security.c | 13 + drivers/common/cnxk/cnxk_utils.c | 2 + drivers/common/cnxk/meson.build | 1 + drivers/common/cnxk/roc_platform.c | 19 + drivers/common/cnxk/roc_platform_symbols.c | 545 +++++++++++++++++ drivers/common/cnxk/roc_se.h | 1 - drivers/common/cnxk/version.map | 578 ------------------ drivers/common/cpt/cpt_fpm_tables.c | 3 + drivers/common/cpt/cpt_pmd_ops_helper.c | 4 + drivers/common/cpt/version.map | 11 - drivers/common/dpaax/caamflib.c | 3 + drivers/common/dpaax/dpaa_of.c | 13 + drivers/common/dpaax/dpaax_iova_table.c | 7 + drivers/common/dpaax/version.map | 25 - drivers/common/ionic/ionic_common_uio.c | 5 + drivers/common/ionic/version.map | 10 - .../common/mlx5/linux/mlx5_common_auxiliary.c | 2 + drivers/common/mlx5/linux/mlx5_common_os.c | 11 + drivers/common/mlx5/linux/mlx5_common_verbs.c | 4 + drivers/common/mlx5/linux/mlx5_glue.c | 3 + drivers/common/mlx5/linux/mlx5_nl.c | 22 + drivers/common/mlx5/mlx5_common.c | 10 + drivers/common/mlx5/mlx5_common_devx.c | 10 + drivers/common/mlx5/mlx5_common_mp.c | 9 + drivers/common/mlx5/mlx5_common_mr.c | 12 + drivers/common/mlx5/mlx5_common_pci.c | 3 + drivers/common/mlx5/mlx5_common_utils.c | 12 + drivers/common/mlx5/mlx5_devx_cmds.c | 52 ++ drivers/common/mlx5/mlx5_malloc.c | 5 + drivers/common/mlx5/version.map | 175 ------ drivers/common/mlx5/windows/mlx5_common_os.c | 6 + drivers/common/mlx5/windows/mlx5_glue.c | 4 +- drivers/common/mvep/mvep_common.c | 3 + drivers/common/mvep/version.map | 8 - drivers/common/nfp/nfp_common.c | 9 + drivers/common/nfp/nfp_common_pci.c | 2 + drivers/common/nfp/nfp_dev.c | 2 + drivers/common/nfp/version.map | 16 - drivers/common/nitrox/nitrox_device.c | 2 + drivers/common/nitrox/nitrox_logs.c | 2 + drivers/common/nitrox/nitrox_qp.c | 3 + drivers/common/nitrox/version.map | 10 - drivers/common/octeontx/octeontx_mbox.c | 7 + drivers/common/octeontx/version.map | 12 - drivers/common/sfc_efx/meson.build | 1 + drivers/common/sfc_efx/sfc_efx.c | 3 + drivers/common/sfc_efx/sfc_efx_mcdi.c | 3 + drivers/common/sfc_efx/sfc_symbols.c | 275 +++++++++ drivers/common/sfc_efx/version.map | 302 --------- drivers/crypto/cnxk/cn10k_cryptodev_ops.c | 8 + drivers/crypto/cnxk/cn9k_cryptodev_ops.c | 3 + drivers/crypto/cnxk/cnxk_cryptodev_ops.c | 8 + drivers/crypto/cnxk/version.map | 30 - drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 3 + drivers/crypto/dpaa2_sec/version.map | 8 - drivers/crypto/dpaa_sec/dpaa_sec.c | 3 + drivers/crypto/dpaa_sec/version.map | 8 - drivers/crypto/octeontx/otx_cryptodev_ops.c | 3 + drivers/crypto/octeontx/version.map | 12 - .../scheduler/rte_cryptodev_scheduler.c | 11 + drivers/crypto/scheduler/version.map | 16 - drivers/dma/cnxk/cnxk_dmadev_fp.c | 5 + drivers/dma/cnxk/version.map | 10 - drivers/event/cnxk/cnxk_worker.c | 3 + drivers/event/cnxk/version.map | 11 - drivers/event/dlb2/rte_pmd_dlb2.c | 2 + drivers/event/dlb2/version.map | 10 - drivers/mempool/cnxk/cn10k_hwpool_ops.c | 4 + drivers/mempool/cnxk/version.map | 12 - drivers/mempool/dpaa/dpaa_mempool.c | 3 + drivers/mempool/dpaa/version.map | 8 - drivers/mempool/dpaa2/dpaa2_hw_mempool.c | 6 + drivers/mempool/dpaa2/version.map | 16 - drivers/meson.build | 74 +-- drivers/net/atlantic/rte_pmd_atlantic.c | 7 + drivers/net/atlantic/version.map | 15 - drivers/net/bnxt/rte_pmd_bnxt.c | 17 + drivers/net/bnxt/version.map | 22 - drivers/net/bonding/rte_eth_bond_8023ad.c | 13 + drivers/net/bonding/rte_eth_bond_api.c | 16 + drivers/net/bonding/version.map | 33 - drivers/net/cnxk/cnxk_ethdev.c | 4 + drivers/net/cnxk/cnxk_ethdev_sec.c | 10 + drivers/net/cnxk/version.map | 27 - drivers/net/dpaa/dpaa_ethdev.c | 4 + drivers/net/dpaa/version.map | 14 - drivers/net/dpaa2/dpaa2_ethdev.c | 8 + drivers/net/dpaa2/dpaa2_mux.c | 4 + drivers/net/dpaa2/dpaa2_rxtx.c | 2 + drivers/net/dpaa2/dpaa2_symbols.c | 8 + drivers/net/dpaa2/meson.build | 1 + drivers/net/dpaa2/version.map | 35 -- drivers/net/intel/i40e/rte_pmd_i40e.c | 40 ++ drivers/net/intel/i40e/version.map | 55 -- drivers/net/intel/iavf/iavf_rxtx.c | 9 + drivers/net/intel/iavf/iavf_symbols.c | 13 + drivers/net/intel/iavf/meson.build | 1 + drivers/net/intel/iavf/version.map | 33 - drivers/net/intel/ice/ice_diagnose.c | 4 + drivers/net/intel/ice/version.map | 16 - drivers/net/intel/idpf/idpf_common_device.c | 11 + drivers/net/intel/idpf/idpf_common_rxtx.c | 25 + .../net/intel/idpf/idpf_common_rxtx_avx2.c | 3 + .../net/intel/idpf/idpf_common_rxtx_avx512.c | 6 + drivers/net/intel/idpf/idpf_common_virtchnl.c | 31 + drivers/net/intel/idpf/version.map | 80 --- drivers/net/intel/ipn3ke/ipn3ke_ethdev.c | 2 + drivers/net/intel/ipn3ke/version.map | 9 - drivers/net/intel/ixgbe/rte_pmd_ixgbe.c | 38 ++ drivers/net/intel/ixgbe/version.map | 49 -- drivers/net/mlx5/mlx5.c | 2 + drivers/net/mlx5/mlx5_flow.c | 5 + drivers/net/mlx5/mlx5_rx.c | 3 + drivers/net/mlx5/mlx5_rxq.c | 3 + drivers/net/mlx5/mlx5_tx.c | 2 + drivers/net/mlx5/mlx5_txq.c | 4 + drivers/net/mlx5/version.map | 28 - drivers/net/octeontx/octeontx_ethdev.c | 2 + drivers/net/octeontx/version.map | 7 - drivers/net/ring/rte_eth_ring.c | 3 + drivers/net/ring/version.map | 8 - drivers/net/softnic/rte_eth_softnic.c | 2 + drivers/net/softnic/rte_eth_softnic_thread.c | 2 + drivers/net/softnic/version.map | 8 - drivers/net/vhost/rte_eth_vhost.c | 3 + drivers/net/vhost/version.map | 8 - drivers/power/kvm_vm/guest_channel.c | 3 + drivers/power/kvm_vm/version.map | 8 - drivers/raw/cnxk_rvu_lf/cnxk_rvu_lf.c | 11 + drivers/raw/cnxk_rvu_lf/version.map | 16 - drivers/raw/ifpga/rte_pmd_ifpga.c | 12 + drivers/raw/ifpga/version.map | 17 - drivers/version.map | 3 - lib/acl/acl_bld.c | 2 + lib/acl/acl_run_scalar.c | 3 + lib/acl/rte_acl.c | 12 + lib/acl/version.map | 19 - lib/argparse/rte_argparse.c | 3 + lib/argparse/version.map | 9 - lib/bbdev/bbdev_trace_points.c | 3 + lib/bbdev/rte_bbdev.c | 32 + lib/bbdev/version.map | 47 -- lib/bitratestats/rte_bitrate.c | 5 + lib/bitratestats/version.map | 10 - lib/bpf/bpf.c | 3 + lib/bpf/bpf_convert.c | 2 + lib/bpf/bpf_dump.c | 2 + lib/bpf/bpf_exec.c | 3 + lib/bpf/bpf_load.c | 2 + lib/bpf/bpf_load_elf.c | 2 + lib/bpf/bpf_pkt.c | 5 + lib/bpf/bpf_stub.c | 3 + lib/bpf/version.map | 18 - lib/cfgfile/rte_cfgfile.c | 18 + lib/cfgfile/version.map | 23 - lib/cmdline/cmdline.c | 10 + lib/cmdline/cmdline_cirbuf.c | 21 + lib/cmdline/cmdline_parse.c | 5 + lib/cmdline/cmdline_parse_bool.c | 2 + lib/cmdline/cmdline_parse_etheraddr.c | 4 + lib/cmdline/cmdline_parse_ipaddr.c | 4 + lib/cmdline/cmdline_parse_num.c | 4 + lib/cmdline/cmdline_parse_portlist.c | 4 + lib/cmdline/cmdline_parse_string.c | 6 + lib/cmdline/cmdline_rdline.c | 17 + lib/cmdline/cmdline_socket.c | 5 + lib/cmdline/cmdline_vt100.c | 4 + lib/cmdline/version.map | 82 --- lib/compressdev/rte_comp.c | 7 + lib/compressdev/rte_compressdev.c | 26 + lib/compressdev/rte_compressdev_pmd.c | 4 + lib/compressdev/version.map | 40 -- lib/cryptodev/cryptodev_pmd.c | 8 + lib/cryptodev/cryptodev_trace_points.c | 4 + lib/cryptodev/rte_cryptodev.c | 84 +++ lib/cryptodev/version.map | 114 ---- lib/dispatcher/rte_dispatcher.c | 14 + lib/dispatcher/version.map | 20 - lib/distributor/rte_distributor.c | 10 + lib/distributor/version.map | 15 - lib/dmadev/rte_dmadev.c | 20 + lib/dmadev/rte_dmadev_trace_points.c | 8 + lib/dmadev/version.map | 47 -- lib/eal/arm/rte_cpuflags.c | 4 + lib/eal/arm/rte_hypervisor.c | 2 + lib/eal/arm/rte_power_intrinsics.c | 5 + lib/eal/common/eal_common_bus.c | 11 + lib/eal/common/eal_common_class.c | 5 + lib/eal/common/eal_common_config.c | 8 + lib/eal/common/eal_common_cpuflags.c | 2 + lib/eal/common/eal_common_debug.c | 3 + lib/eal/common/eal_common_dev.c | 20 + lib/eal/common/eal_common_devargs.c | 10 + lib/eal/common/eal_common_errno.c | 3 + lib/eal/common/eal_common_fbarray.c | 27 + lib/eal/common/eal_common_hexdump.c | 3 + lib/eal/common/eal_common_hypervisor.c | 2 + lib/eal/common/eal_common_interrupts.c | 28 + lib/eal/common/eal_common_launch.c | 6 + lib/eal/common/eal_common_lcore.c | 18 + lib/eal/common/eal_common_lcore_var.c | 2 + lib/eal/common/eal_common_mcfg.c | 21 + lib/eal/common/eal_common_memory.c | 30 + lib/eal/common/eal_common_memzone.c | 10 + lib/eal/common/eal_common_options.c | 5 + lib/eal/common/eal_common_proc.c | 9 + lib/eal/common/eal_common_string_fns.c | 4 + lib/eal/common/eal_common_tailqs.c | 4 + lib/eal/common/eal_common_thread.c | 15 + lib/eal/common/eal_common_timer.c | 5 + lib/eal/common/eal_common_trace.c | 16 + lib/eal/common/eal_common_trace_ctf.c | 2 + lib/eal/common/eal_common_trace_points.c | 19 + lib/eal/common/eal_common_trace_utils.c | 2 + lib/eal/common/eal_common_uuid.c | 5 + lib/eal/common/eal_symbol_exports.h | 82 +++ lib/eal/common/rte_bitset.c | 2 + lib/eal/common/rte_keepalive.c | 7 + lib/eal/common/rte_malloc.c | 23 + lib/eal/common/rte_random.c | 5 + lib/eal/common/rte_reciprocal.c | 3 + lib/eal/common/rte_service.c | 32 + lib/eal/common/rte_version.c | 8 + lib/eal/freebsd/eal.c | 23 + lib/eal/freebsd/eal_alarm.c | 3 + lib/eal/freebsd/eal_dev.c | 5 + lib/eal/freebsd/eal_interrupts.c | 20 + lib/eal/freebsd/eal_memory.c | 4 + lib/eal/freebsd/eal_thread.c | 3 + lib/eal/freebsd/eal_timer.c | 2 + lib/eal/include/rte_function_versioning.h | 99 --- lib/eal/linux/eal.c | 8 + lib/eal/linux/eal_alarm.c | 3 + lib/eal/linux/eal_dev.c | 5 + lib/eal/linux/eal_interrupts.c | 20 + lib/eal/linux/eal_memory.c | 4 + lib/eal/linux/eal_thread.c | 3 + lib/eal/linux/eal_timer.c | 5 + lib/eal/linux/eal_vfio.c | 17 + lib/eal/loongarch/rte_cpuflags.c | 4 + lib/eal/loongarch/rte_hypervisor.c | 2 + lib/eal/loongarch/rte_power_intrinsics.c | 5 + lib/eal/ppc/rte_cpuflags.c | 4 + lib/eal/ppc/rte_hypervisor.c | 2 + lib/eal/ppc/rte_power_intrinsics.c | 5 + lib/eal/riscv/rte_cpuflags.c | 4 + lib/eal/riscv/rte_hypervisor.c | 2 + lib/eal/riscv/rte_power_intrinsics.c | 5 + lib/eal/unix/eal_debug.c | 3 + lib/eal/unix/eal_filesystem.c | 2 + lib/eal/unix/eal_firmware.c | 2 + lib/eal/unix/eal_unix_memory.c | 5 + lib/eal/unix/eal_unix_timer.c | 2 + lib/eal/unix/rte_thread.c | 14 + lib/eal/version.map | 451 -------------- lib/eal/windows/eal.c | 12 + lib/eal/windows/eal_alarm.c | 3 + lib/eal/windows/eal_debug.c | 2 + lib/eal/windows/eal_dev.c | 5 + lib/eal/windows/eal_interrupts.c | 20 + lib/eal/windows/eal_memory.c | 8 + lib/eal/windows/eal_mp.c | 7 + lib/eal/windows/eal_thread.c | 2 + lib/eal/windows/eal_timer.c | 2 + lib/eal/windows/rte_thread.c | 15 + lib/eal/x86/rte_cpuflags.c | 4 + lib/eal/x86/rte_hypervisor.c | 2 + lib/eal/x86/rte_power_intrinsics.c | 5 + lib/eal/x86/rte_spinlock.c | 2 + lib/efd/rte_efd.c | 8 + lib/efd/version.map | 13 - lib/ethdev/ethdev_driver.c | 25 + lib/ethdev/ethdev_linux_ethtool.c | 4 + lib/ethdev/ethdev_private.c | 3 + lib/ethdev/ethdev_trace_points.c | 7 + lib/ethdev/rte_ethdev.c | 169 +++++ lib/ethdev/rte_ethdev_cman.c | 5 + lib/ethdev/rte_flow.c | 65 ++ lib/ethdev/rte_mtr.c | 22 + lib/ethdev/rte_tm.c | 32 + lib/ethdev/version.map | 378 ------------ lib/eventdev/eventdev_private.c | 3 + lib/eventdev/eventdev_trace_points.c | 12 + lib/eventdev/rte_event_crypto_adapter.c | 16 + lib/eventdev/rte_event_dma_adapter.c | 16 + lib/eventdev/rte_event_eth_rx_adapter.c | 24 + lib/eventdev/rte_event_eth_tx_adapter.c | 18 + lib/eventdev/rte_event_ring.c | 5 + lib/eventdev/rte_event_timer_adapter.c | 12 + lib/eventdev/rte_eventdev.c | 47 ++ lib/eventdev/version.map | 179 ------ lib/fib/rte_fib.c | 11 + lib/fib/rte_fib6.c | 10 + lib/fib/version.map | 31 - lib/gpudev/gpudev.c | 33 + lib/gpudev/version.map | 44 -- lib/graph/graph.c | 17 + lib/graph/graph_debug.c | 3 + lib/graph/graph_stats.c | 5 + lib/graph/node.c | 12 + lib/graph/rte_graph_model_mcore_dispatch.c | 4 + lib/graph/rte_graph_worker.c | 4 + lib/graph/version.map | 61 -- lib/gro/rte_gro.c | 7 + lib/gro/version.map | 12 - lib/gso/rte_gso.c | 2 + lib/gso/version.map | 7 - lib/hash/rte_cuckoo_hash.c | 28 + lib/hash/rte_fbk_hash.c | 4 + lib/hash/rte_hash_crc.c | 3 + lib/hash/rte_thash.c | 13 + lib/hash/rte_thash_gf2_poly_math.c | 2 + lib/hash/rte_thash_gfni.c | 3 + lib/hash/version.map | 66 -- lib/ip_frag/rte_ip_frag_common.c | 6 + lib/ip_frag/rte_ipv4_fragmentation.c | 3 + lib/ip_frag/rte_ipv4_reassembly.c | 2 + lib/ip_frag/rte_ipv6_fragmentation.c | 2 + lib/ip_frag/rte_ipv6_reassembly.c | 2 + lib/ip_frag/version.map | 16 - lib/ipsec/ipsec_sad.c | 7 + lib/ipsec/ipsec_telemetry.c | 3 + lib/ipsec/sa.c | 5 + lib/ipsec/ses.c | 2 + lib/ipsec/version.map | 23 - lib/jobstats/rte_jobstats.c | 15 + lib/jobstats/version.map | 20 - lib/kvargs/rte_kvargs.c | 9 + lib/kvargs/version.map | 14 - lib/latencystats/rte_latencystats.c | 6 + lib/latencystats/version.map | 11 - lib/log/log.c | 23 + lib/log/log_color.c | 2 + lib/log/log_internal.h | 3 - lib/log/log_syslog.c | 2 + lib/log/log_timestamp.c | 2 + lib/log/version.map | 37 -- lib/lpm/rte_lpm.c | 9 + lib/lpm/rte_lpm6.c | 11 + lib/lpm/version.map | 24 - lib/mbuf/rte_mbuf.c | 18 + lib/mbuf/rte_mbuf_dyn.c | 10 + lib/mbuf/rte_mbuf_pool_ops.c | 6 + lib/mbuf/rte_mbuf_ptype.c | 9 + lib/mbuf/version.map | 45 -- lib/member/rte_member.c | 14 + lib/member/version.map | 19 - lib/mempool/mempool_trace_points.c | 11 + lib/mempool/rte_mempool.c | 28 + lib/mempool/rte_mempool_ops.c | 5 + lib/mempool/rte_mempool_ops_default.c | 5 + lib/mempool/version.map | 65 -- lib/meson.build | 67 +- lib/meter/rte_meter.c | 7 + lib/meter/version.map | 12 - lib/metrics/rte_metrics.c | 9 + lib/metrics/rte_metrics_telemetry.c | 12 + lib/metrics/version.map | 26 - lib/mldev/mldev_utils.c | 3 + lib/mldev/mldev_utils_neon.c | 20 + lib/mldev/mldev_utils_neon_bfloat16.c | 4 + lib/mldev/mldev_utils_scalar.c | 20 + lib/mldev/mldev_utils_scalar_bfloat16.c | 4 + lib/mldev/rte_mldev.c | 38 ++ lib/mldev/rte_mldev_pmd.c | 3 + lib/mldev/version.map | 74 --- lib/net/net_crc.h | 15 - lib/net/rte_arp.c | 2 + lib/net/rte_ether.c | 4 + lib/net/rte_net.c | 3 + lib/net/rte_net_crc.c | 31 +- lib/net/version.map | 23 - lib/node/ethdev_ctrl.c | 3 + lib/node/ip4_lookup.c | 2 + lib/node/ip4_reassembly.c | 2 + lib/node/ip4_rewrite.c | 2 + lib/node/ip6_lookup.c | 2 + lib/node/ip6_rewrite.c | 2 + lib/node/udp4_input.c | 3 + lib/node/version.map | 25 - lib/pcapng/rte_pcapng.c | 8 + lib/pcapng/version.map | 13 - lib/pci/rte_pci.c | 4 + lib/pci/version.map | 9 - lib/pdcp/rte_pdcp.c | 6 + lib/pdcp/version.map | 16 - lib/pdump/rte_pdump.c | 10 + lib/pdump/version.map | 15 - lib/pipeline/rte_pipeline.c | 24 + lib/pipeline/rte_port_in_action.c | 9 + lib/pipeline/rte_swx_ctl.c | 18 + lib/pipeline/rte_swx_ipsec.c | 8 + lib/pipeline/rte_swx_pipeline.c | 74 +++ lib/pipeline/rte_table_action.c | 17 + lib/pipeline/version.map | 172 ------ lib/port/rte_port_ethdev.c | 4 + lib/port/rte_port_eventdev.c | 4 + lib/port/rte_port_fd.c | 4 + lib/port/rte_port_frag.c | 3 + lib/port/rte_port_ras.c | 3 + lib/port/rte_port_ring.c | 7 + lib/port/rte_port_sched.c | 3 + lib/port/rte_port_source_sink.c | 3 + lib/port/rte_port_sym_crypto.c | 4 + lib/port/rte_swx_port_ethdev.c | 3 + lib/port/rte_swx_port_fd.c | 3 + lib/port/rte_swx_port_ring.c | 3 + lib/port/rte_swx_port_source_sink.c | 4 + lib/port/version.map | 50 -- lib/power/power_common.c | 9 + lib/power/rte_power_cpufreq.c | 19 + lib/power/rte_power_pmd_mgmt.c | 11 + lib/power/rte_power_qos.c | 3 + lib/power/rte_power_uncore.c | 15 + lib/power/version.map | 71 --- lib/rawdev/rte_rawdev.c | 31 + lib/rawdev/version.map | 36 -- lib/rcu/rte_rcu_qsbr.c | 12 + lib/rcu/version.map | 17 - lib/regexdev/rte_regexdev.c | 27 + lib/regexdev/version.map | 40 -- lib/reorder/rte_reorder.c | 12 + lib/reorder/version.map | 27 - lib/rib/rte_rib.c | 15 + lib/rib/rte_rib6.c | 15 + lib/rib/version.map | 34 -- lib/ring/rte_ring.c | 12 + lib/ring/rte_soring.c | 4 + lib/ring/soring.c | 18 + lib/ring/version.map | 42 -- lib/sched/rte_approx.c | 2 + lib/sched/rte_pie.c | 3 + lib/sched/rte_red.c | 7 + lib/sched/rte_sched.c | 16 + lib/sched/version.map | 30 - lib/security/rte_security.c | 21 + lib/security/version.map | 37 -- lib/stack/rte_stack.c | 4 + lib/stack/version.map | 9 - lib/table/rte_swx_table_em.c | 3 + lib/table/rte_swx_table_learner.c | 11 + lib/table/rte_swx_table_selector.c | 7 + lib/table/rte_swx_table_wm.c | 2 + lib/table/rte_table_acl.c | 2 + lib/table/rte_table_array.c | 2 + lib/table/rte_table_hash_cuckoo.c | 2 + lib/table/rte_table_hash_ext.c | 2 + lib/table/rte_table_hash_key16.c | 3 + lib/table/rte_table_hash_key32.c | 3 + lib/table/rte_table_hash_key8.c | 3 + lib/table/rte_table_hash_lru.c | 2 + lib/table/rte_table_lpm.c | 2 + lib/table/rte_table_lpm_ipv6.c | 2 + lib/table/rte_table_stub.c | 2 + lib/table/version.map | 53 -- lib/telemetry/telemetry.c | 4 + lib/telemetry/telemetry_data.c | 18 + lib/telemetry/telemetry_legacy.c | 2 + lib/telemetry/version.map | 40 -- lib/timer/rte_timer.c | 19 + lib/timer/version.map | 24 - lib/vhost/socket.c | 17 + lib/vhost/vdpa.c | 12 + lib/vhost/version.map | 111 ---- lib/vhost/vhost.c | 42 ++ lib/vhost/vhost_crypto.c | 7 + lib/vhost/vhost_user.c | 3 + lib/vhost/virtio_net.c | 8 + 536 files changed, 5132 insertions(+), 6573 deletions(-) create mode 100755 buildtools/gen-version-map.py delete mode 100644 buildtools/map_to_win.py create mode 100755 devtools/check-symbol-change.py delete mode 100755 devtools/check-symbol-change.sh delete mode 100755 devtools/check-symbol-maps.sh delete mode 100755 devtools/update-abi.sh delete mode 100755 devtools/update_version_map_abi.py delete mode 100644 drivers/baseband/acc/version.map delete mode 100644 drivers/baseband/fpga_5gnr_fec/version.map delete mode 100644 drivers/baseband/fpga_lte_fec/version.map delete mode 100644 drivers/bus/auxiliary/version.map delete mode 100644 drivers/bus/cdx/version.map create mode 100644 drivers/bus/dpaa/dpaa_bus_symbols.c delete mode 100644 drivers/bus/dpaa/version.map delete mode 100644 drivers/bus/fslmc/version.map delete mode 100644 drivers/bus/ifpga/version.map delete mode 100644 drivers/bus/pci/version.map delete mode 100644 drivers/bus/platform/version.map delete mode 100644 drivers/bus/uacce/version.map delete mode 100644 drivers/bus/vdev/version.map delete mode 100644 drivers/bus/vmbus/version.map create mode 100644 drivers/common/cnxk/roc_platform_symbols.c delete mode 100644 drivers/common/cnxk/version.map delete mode 100644 drivers/common/cpt/version.map delete mode 100644 drivers/common/dpaax/version.map delete mode 100644 drivers/common/ionic/version.map delete mode 100644 drivers/common/mlx5/version.map delete mode 100644 drivers/common/mvep/version.map delete mode 100644 drivers/common/nfp/version.map delete mode 100644 drivers/common/nitrox/version.map delete mode 100644 drivers/common/octeontx/version.map create mode 100644 drivers/common/sfc_efx/sfc_symbols.c delete mode 100644 drivers/common/sfc_efx/version.map delete mode 100644 drivers/crypto/cnxk/version.map delete mode 100644 drivers/crypto/dpaa2_sec/version.map delete mode 100644 drivers/crypto/dpaa_sec/version.map delete mode 100644 drivers/crypto/octeontx/version.map delete mode 100644 drivers/crypto/scheduler/version.map delete mode 100644 drivers/dma/cnxk/version.map delete mode 100644 drivers/event/cnxk/version.map delete mode 100644 drivers/event/dlb2/version.map delete mode 100644 drivers/mempool/cnxk/version.map delete mode 100644 drivers/mempool/dpaa/version.map delete mode 100644 drivers/mempool/dpaa2/version.map delete mode 100644 drivers/net/atlantic/version.map delete mode 100644 drivers/net/bnxt/version.map delete mode 100644 drivers/net/bonding/version.map delete mode 100644 drivers/net/cnxk/version.map delete mode 100644 drivers/net/dpaa/version.map create mode 100644 drivers/net/dpaa2/dpaa2_symbols.c delete mode 100644 drivers/net/dpaa2/version.map delete mode 100644 drivers/net/intel/i40e/version.map create mode 100644 drivers/net/intel/iavf/iavf_symbols.c delete mode 100644 drivers/net/intel/iavf/version.map delete mode 100644 drivers/net/intel/ice/version.map delete mode 100644 drivers/net/intel/idpf/version.map delete mode 100644 drivers/net/intel/ipn3ke/version.map delete mode 100644 drivers/net/intel/ixgbe/version.map delete mode 100644 drivers/net/mlx5/version.map delete mode 100644 drivers/net/octeontx/version.map delete mode 100644 drivers/net/ring/version.map delete mode 100644 drivers/net/softnic/version.map delete mode 100644 drivers/net/vhost/version.map delete mode 100644 drivers/power/kvm_vm/version.map delete mode 100644 drivers/raw/cnxk_rvu_lf/version.map delete mode 100644 drivers/raw/ifpga/version.map delete mode 100644 drivers/version.map delete mode 100644 lib/acl/version.map delete mode 100644 lib/argparse/version.map delete mode 100644 lib/bbdev/version.map delete mode 100644 lib/bitratestats/version.map delete mode 100644 lib/bpf/version.map delete mode 100644 lib/cfgfile/version.map delete mode 100644 lib/cmdline/version.map delete mode 100644 lib/compressdev/version.map delete mode 100644 lib/cryptodev/version.map delete mode 100644 lib/dispatcher/version.map delete mode 100644 lib/distributor/version.map delete mode 100644 lib/dmadev/version.map create mode 100644 lib/eal/common/eal_symbol_exports.h delete mode 100644 lib/eal/include/rte_function_versioning.h delete mode 100644 lib/eal/version.map delete mode 100644 lib/efd/version.map delete mode 100644 lib/ethdev/version.map delete mode 100644 lib/eventdev/version.map delete mode 100644 lib/fib/version.map delete mode 100644 lib/gpudev/version.map delete mode 100644 lib/graph/version.map delete mode 100644 lib/gro/version.map delete mode 100644 lib/gso/version.map delete mode 100644 lib/hash/version.map delete mode 100644 lib/ip_frag/version.map delete mode 100644 lib/ipsec/version.map delete mode 100644 lib/jobstats/version.map delete mode 100644 lib/kvargs/version.map delete mode 100644 lib/latencystats/version.map delete mode 100644 lib/log/version.map delete mode 100644 lib/lpm/version.map delete mode 100644 lib/mbuf/version.map delete mode 100644 lib/member/version.map delete mode 100644 lib/mempool/version.map delete mode 100644 lib/meter/version.map delete mode 100644 lib/metrics/version.map delete mode 100644 lib/mldev/version.map delete mode 100644 lib/net/version.map delete mode 100644 lib/node/version.map delete mode 100644 lib/pcapng/version.map delete mode 100644 lib/pci/version.map delete mode 100644 lib/pdcp/version.map delete mode 100644 lib/pdump/version.map delete mode 100644 lib/pipeline/version.map delete mode 100644 lib/port/version.map delete mode 100644 lib/power/version.map delete mode 100644 lib/rawdev/version.map delete mode 100644 lib/rcu/version.map delete mode 100644 lib/regexdev/version.map delete mode 100644 lib/reorder/version.map delete mode 100644 lib/rib/version.map delete mode 100644 lib/ring/version.map delete mode 100644 lib/sched/version.map delete mode 100644 lib/security/version.map delete mode 100644 lib/stack/version.map delete mode 100644 lib/table/version.map delete mode 100644 lib/telemetry/version.map delete mode 100644 lib/timer/version.map delete mode 100644 lib/vhost/version.map -- 2.48.1
PATCH v5 1/8 lib: remove incorrect exported symbols
Declaring inline helpers in version.map is unnecessary. There is no exported symbol and this will probably be treated as an error by MSVC linker.
eal_log_journal has no implementation and can be removed.
--- lib/eventdev/version.map | 12 ------------ lib/graph/version.map | 17 ----------------- lib/ipsec/version.map | 4 ---- lib/log/log_internal.h | 3 --- lib/log/version.map | 1 - lib/pdcp/version.map | 4 ---- lib/regexdev/version.map | 2 -- lib/vhost/version.map | 1 - 8 files changed, 44 deletions(-)
lib/eventdev/version.map +0 -12
@@ -102,9 +102,6 @@ DPDK_25 { rte_event_timer_adapter_stats_get; rte_event_timer_adapter_stats_reset; rte_event_timer_adapter_stop; - rte_event_timer_arm_burst; - rte_event_timer_arm_tmo_tick_burst; - rte_event_timer_cancel_burst; rte_event_vector_pool_create; local: *;
@@ -149,9 +146,7 @@ EXPERIMENTAL { __rte_eventdev_trace_port_profile_switch; # added in 24.11 - rte_event_port_preschedule_modify; __rte_eventdev_trace_port_preschedule_modify; - rte_event_port_preschedule; __rte_eventdev_trace_port_preschedule; # added in 25.03
@@ -166,14 +161,7 @@ INTERNAL { event_dev_probing_finish; rte_event_logtype; rte_event_pmd_allocate; - rte_event_pmd_get_named_dev; - rte_event_pmd_is_valid_dev; - rte_event_pmd_pci_probe; - rte_event_pmd_pci_probe_named; - rte_event_pmd_pci_remove; rte_event_pmd_release; rte_event_pmd_selftest_seqn_dynfield_offset; - rte_event_pmd_vdev_init; - rte_event_pmd_vdev_uninit; rte_eventdevs; };
lib/graph/version.map +0 -17
@@ -27,9 +27,7 @@ DPDK_25 { rte_graph_node_get; rte_graph_node_get_by_name; rte_graph_obj_dump; - rte_graph_walk; rte_graph_worker_model_get; - rte_graph_worker_model_no_check_get; rte_graph_worker_model_set; rte_node_clone; rte_node_dump;
@@ -37,25 +35,10 @@ DPDK_25 { rte_node_edge_get; rte_node_edge_shrink; rte_node_edge_update; - rte_node_enqueue; - rte_node_enqueue_next; - rte_node_enqueue_x1; - rte_node_enqueue_x2; - rte_node_enqueue_x4; rte_node_from_name; rte_node_id_to_name; rte_node_list_dump; rte_node_max_count; - rte_node_next_stream_get; - rte_node_next_stream_move; - rte_node_next_stream_put; local: *; }; - -EXPERIMENTAL { - global: - - # added in 24.11 - rte_node_xstat_increment; -};
lib/ipsec/version.map +0 -4
@@ -1,9 +1,6 @@ DPDK_25 { global: - rte_ipsec_pkt_crypto_group; - rte_ipsec_pkt_crypto_prepare; - rte_ipsec_pkt_process; rte_ipsec_sa_fini; rte_ipsec_sa_init; rte_ipsec_sa_size;
@@ -14,7 +11,6 @@ DPDK_25 { rte_ipsec_sad_destroy; rte_ipsec_sad_find_existing; rte_ipsec_sad_lookup; - rte_ipsec_ses_from_crypto; rte_ipsec_session_prepare; rte_ipsec_telemetry_sa_add; rte_ipsec_telemetry_sa_del;
lib/log/log_internal.h +0 -3
@@ -29,9 +29,6 @@ int eal_log_save_pattern(const char *pattern, uint32_t level);__rte_internal int eal_log_syslog(const char *name); -__rte_internal -int eal_log_journal(const char *opt); -/* * Convert log level to string. */
lib/log/version.map +0 -1
@@ -27,7 +27,6 @@ INTERNAL { eal_log_color; eal_log_init; - eal_log_journal; # WINDOWS_NO_EXPORT eal_log_level2str; eal_log_save_pattern; eal_log_save_regexp;
lib/pdcp/version.map +0 -4
@@ -3,13 +3,9 @@ EXPERIMENTAL { # added in 23.07 rte_pdcp_control_pdu_create; - rte_pdcp_en_from_cop; rte_pdcp_entity_establish; rte_pdcp_entity_release; rte_pdcp_entity_suspend; - rte_pdcp_pkt_post_process; - rte_pdcp_pkt_pre_process; - rte_pdcp_pkt_crypto_group; rte_pdcp_t_reordering_expiry_handle; local: *;
lib/regexdev/version.map +0 -2
@@ -7,9 +7,7 @@ EXPERIMENTAL { rte_regexdev_close; rte_regexdev_configure; rte_regexdev_count; - rte_regexdev_dequeue_burst; rte_regexdev_dump; - rte_regexdev_enqueue_burst; rte_regexdev_get_dev_id; rte_regexdev_info_get; rte_regexdev_queue_pair_setup;
lib/vhost/version.map +0 -1
@@ -61,7 +61,6 @@ DPDK_25 { rte_vhost_set_last_inflight_io_packed; rte_vhost_set_last_inflight_io_split; rte_vhost_set_vring_base; - rte_vhost_va_from_guest_pa; rte_vhost_vring_call; rte_vhost_vring_call_nonblock; rte_vhost_vring_stats_get;
Signature · 1 line
2.48.1
PATCH v5 2/8 drivers: remove incorrect exported symbols
In reply to David MarchandDeclaring inline helpers in version.map is unnecessary. There is no exported symbol and this will probably be treated as an error by MSVC linker.
rte_dpaa2_dev_type is an enum token.roc_se_ctx_swap has no implementation (leftover from a previous rework) and can be removed.
--- drivers/bus/dpaa/version.map | 1 - drivers/bus/fslmc/version.map | 2 -- drivers/common/cnxk/roc_se.h | 1 - drivers/common/cnxk/version.map | 2 -- 4 files changed, 6 deletions(-)
drivers/bus/dpaa/version.map +0 -1
@@ -18,7 +18,6 @@ INTERNAL { dpaa_update_link_speed; dpaa_intr_disable; dpaa_intr_enable; - dpaa_seqn; dpaa_svr_family; dpaa_update_link_status; fman_dealloc_bufs_mask_hi;
drivers/bus/fslmc/version.map +0 -2
@@ -22,7 +22,6 @@ INTERNAL { dpaa2_get_mcp_ptr; dpaa2_io_portal; dpaa2_seqn_dynfield_offset; - dpaa2_seqn; dpaa2_svr_family; dpbp_disable; dpbp_enable;
@@ -108,7 +107,6 @@ INTERNAL { qbman_swp_push_set; qbman_swp_release; rte_dpaa2_alloc_dpci_dev; - rte_dpaa2_dev_type; rte_dpaa2_free_dpci_dev; rte_dpaa2_intr_disable; rte_dpaa2_intr_enable;
drivers/common/cnxk/roc_se.h +0 -1
@@ -405,7 +405,6 @@ int __roc_api roc_se_auth_key_set(struct roc_se_ctx *se_ctx, roc_se_auth_type ty int __roc_api roc_se_ciph_key_set(struct roc_se_ctx *se_ctx, roc_se_cipher_type type,const uint8_t *key,uint16_t key_len); -void __roc_api roc_se_ctx_swap(struct roc_se_ctx *se_ctx); void __roc_api roc_se_ctx_init(struct roc_se_ctx *se_ctx); void __roc_api roc_se_hmac_opad_ipad_gen(roc_se_auth_type auth_type, const uint8_t *key,
drivers/common/cnxk/version.map +0 -2
@@ -164,7 +164,6 @@ INTERNAL { roc_mcs_custom_tag_cfg_get; roc_mcs_dev_init; roc_mcs_dev_fini; - roc_mcs_dev_get; roc_mcs_event_cb_register; roc_mcs_event_cb_unregister; roc_mcs_flowid_entry_enable;
@@ -546,7 +545,6 @@ INTERNAL { roc_tim_lf_enable; roc_tim_lf_free; roc_tim_lf_interval; - roc_se_ctx_swap; roc_ree_af_reg_read; roc_ree_af_reg_write; roc_ree_config_lf;
Signature · 1 line
2.48.1
PATCH v5 3/8 buildtools: display version when listing symbols
In reply to David MarchandDisplay the version when a symbol was introduced.
This is needed for scripting the conversion from static to dynamically generated version maps.
It is also useful when listing experimental symbols.
--- buildtools/map-list-symbol.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
buildtools/map-list-symbol.sh +1 -1
@@ -73,7 +73,7 @@ for file in $@; do if ("'$symbol'" == "all" || $1 == "'$symbol'") { ret = 0; if ("'$quiet'" == "") { - print "'$file' "current_section" "$1; + print "'$file' "current_section" "$1" "current_version; } if ("'$symbol'" != "all") { exit 0;
Signature · 1 line
2.48.1
PATCH v5 4/8 build: generate symbol maps
In reply to David MarchandRather than maintain a file in parallel of the code, symbols to be exported can be marked with a token RTE_EXPORT_*SYMBOL.
From those marks, the build framework generates map files only for symbols actually compiled (which means that the WINDOWS_NO_EXPORT hack becomes unnecessary).
The build framework directly creates a map file in the format that the linker expects (rather than converting from GNU linker to MSVC linker).
Empty maps are allowed again as a replacement for drivers/version.map.
The symbol check is updated to only support the new format.
---
Changes since RFC v4:
- fixed MSVC export map (a msvc->mslinker update was missing),
- fixed join() error (with older meson? I don't see this on Fedora),
- explicit inclusion of header is now required,
- header has been renamed and moved to lib/eal/common/,
- because lib/log does not depend on EAL, added explicit include_directories,
- symbol versioning update has been moved later in the series, so updated gen-version-map.py accordingly,
- fixed bug when checking symbol removal,
Changes since RFC v3:
- polished python,
- fixed doc updates not belonging to this patch,
- renamed map files,
- changed msvc->mslinker as link mode,
- added parsing of AVX sources,
Changes since RFC v2:
- because of MSVC limitations wrt macro passed via cmdline, used an internal header for defining RTE_EXPORT_* macros,
- updated documentation and tooling,
--- MAINTAINERS | 2 + buildtools/gen-version-map.py | 106 ++++++++++ buildtools/map-list-symbol.sh | 10 +- buildtools/meson.build | 1 + devtools/check-symbol-change.py | 90 ++++++++ devtools/check-symbol-maps.sh | 14 -- devtools/checkpatches.sh | 2 +- doc/guides/contributing/abi_versioning.rst | 227 ++------------------- drivers/meson.build | 96 +++++---- drivers/version.map | 3 - lib/eal/common/eal_symbol_exports.h | 16 ++ lib/meson.build | 94 ++++++--- 12 files changed, 365 insertions(+), 296 deletions(-) create mode 100755 buildtools/gen-version-map.py create mode 100755 devtools/check-symbol-change.py delete mode 100644 drivers/version.map create mode 100644 lib/eal/common/eal_symbol_exports.h
MAINTAINERS +2 -0
@@ -95,6 +95,7 @@ F: devtools/check-maintainers.sh F: devtools/check-forbidden-tokens.awk F: devtools/check-git-log.sh F: devtools/check-spdx-tag.sh +F: devtools/check-symbol-change.py F: devtools/check-symbol-change.sh F: devtools/check-symbol-maps.sh F: devtools/checkpatches.sh
@@ -127,6 +128,7 @@ F: config/ F: buildtools/check-symbols.sh F: buildtools/chkincs/ F: buildtools/call-sphinx-build.py +F: buildtools/gen-version-map.py F: buildtools/get-cpu-count.py F: buildtools/get-numa-count.py F: buildtools/list-dir-globs.py
buildtools/gen-version-map.py new file +106 -0
106 lines not on this page · raw message
buildtools/map-list-symbol.sh +7 -3
@@ -62,10 +62,14 @@ for file in $@; do if (current_section == "") { next; } + symbol_version = current_version + if (/^[^}].*[^:*]; # added in /) { + symbol_version = $5 + } if ("'$version'" != "") { - if ("'$version'" == "unset" && current_version != "") { + if ("'$version'" == "unset" && symbol_version != "") { next; - } else if ("'$version'" != "unset" && "'$version'" != current_version) { + } else if ("'$version'" != "unset" && "'$version'" != symbol_version) { next; } }
@@ -73,7 +77,7 @@ for file in $@; do if ("'$symbol'" == "all" || $1 == "'$symbol'") { ret = 0; if ("'$quiet'" == "") { - print "'$file' "current_section" "$1" "current_version; + print "'$file' "current_section" "$1" "symbol_version; } if ("'$symbol'" != "all") { exit 0;
buildtools/meson.build +1 -0
@@ -16,6 +16,7 @@ else py3 = ['meson', 'runpython'] endif echo = py3 + ['-c', 'import sys; print(*sys.argv[1:])'] +gen_version_map = py3 + files('gen-version-map.py') list_dir_globs = py3 + files('list-dir-globs.py') map_to_win_cmd = py3 + files('map_to_win.py') sphinx_wrapper = py3 + files('call-sphinx-build.py')
devtools/check-symbol-change.py new file +90 -0
90 lines not on this page · raw message
devtools/check-symbol-maps.sh +0 -14
@@ -60,20 +60,6 @@ if [ -n "$local_miss_maps" ] ; then ret=1 fi -find_empty_maps () -{ - for map in $@ ; do - [ $(buildtools/map-list-symbol.sh $map | wc -l) != '0' ] || echo $map - done -} - -empty_maps=$(find_empty_maps $@) -if [ -n "$empty_maps" ] ; then - echo "Found empty maps:" - echo "$empty_maps" - ret=1 -fi - find_bad_format_maps () { abi_version=$(cut -d'.' -f 1 ABI_VERSION)
devtools/checkpatches.sh +1 -1
@@ -33,7 +33,7 @@ VOLATILE,PREFER_PACKED,PREFER_ALIGNED,PREFER_PRINTF,STRLCPY,\ PREFER_KERNEL_TYPES,PREFER_FALLTHROUGH,BIT_MACRO,CONST_STRUCT,\ SPLIT_STRING,LONG_LINE_STRING,C99_COMMENT_TOLERANCE,\ LINE_SPACING,PARENTHESIS_ALIGNMENT,NETWORKING_BLOCK_COMMENT_STYLE,\ -NEW_TYPEDEFS,COMPARISON_TO_NULL,AVOID_BUG" +NEW_TYPEDEFS,COMPARISON_TO_NULL,AVOID_BUG,EXPORT_SYMBOL" options="$options $DPDK_CHECKPATCH_OPTIONS" print_usage () {
doc/guides/contributing/abi_versioning.rst +21 -206
347 lines not on this page · raw message
drivers/meson.build +59 -37
121 lines not on this page · raw message
drivers/version.map deleted +0 -3
@@ -1,3 +0,0 @@ -DPDK_25 { - local: *; -};
lib/eal/common/eal_symbol_exports.h new file +16 -0
@@ -0,0 +1,16 @@ +/* SPDX-License-Identifier: BSD-3-Clause +* Copyright (c) 2025 Red Hat, Inc. +*/ + +#ifndef EAL_SYMBOL_EXPORTS_H +#define EAL_SYMBOL_EXPORTS_H + +/* Internal macros for exporting symbols, used by the build system. +* For RTE_EXPORT_EXPERIMENTAL_SYMBOL, ver indicates the +* version this symbol was introduced in. +*/ +#define RTE_EXPORT_EXPERIMENTAL_SYMBOL (a, ver) +#define RTE_EXPORT_INTERNAL_SYMBOL (a) +#define RTE_EXPORT_SYMBOL (a) + +#endif /* EAL_SYMBOL_EXPORTS_H */
lib/meson.build +62 -32
130 lines not on this page · raw message
Signature · 1 line
2.48.1
PATCH v5 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 .c listed in the sources so they get caught by drivers/meson.build.
---
Changes since RFC v4:
- rebased and fixed mlx5 new export,
- moved base driver exports in a separate file,
- added eal_symbol_exports.h inclusion,
Changes since RFC v3:
- marked exported symbols directly in AVX sources (net/idpf),
--- drivers/baseband/acc/rte_acc100_pmd.c | 2 + .../fpga_5gnr_fec/rte_fpga_5gnr_fec.c | 2 + drivers/baseband/fpga_lte_fec/fpga_lte_fec.c | 2 + drivers/bus/auxiliary/auxiliary_common.c | 3 + drivers/bus/cdx/cdx.c | 5 + drivers/bus/cdx/cdx_vfio.c | 5 + drivers/bus/dpaa/dpaa_bus.c | 10 + drivers/bus/dpaa/dpaa_bus_symbols.c | 99 ++++ drivers/bus/dpaa/meson.build | 1 + drivers/bus/fslmc/fslmc_bus.c | 5 + drivers/bus/fslmc/fslmc_vfio.c | 13 + drivers/bus/fslmc/mc/dpbp.c | 8 + drivers/bus/fslmc/mc/dpci.c | 5 + drivers/bus/fslmc/mc/dpcon.c | 8 + drivers/bus/fslmc/mc/dpdmai.c | 10 + drivers/bus/fslmc/mc/dpio.c | 15 + drivers/bus/fslmc/mc/dpmng.c | 4 + drivers/bus/fslmc/mc/mc_sys.c | 2 + drivers/bus/fslmc/portal/dpaa2_hw_dpbp.c | 4 + drivers/bus/fslmc/portal/dpaa2_hw_dpci.c | 3 + drivers/bus/fslmc/portal/dpaa2_hw_dpio.c | 12 + drivers/bus/fslmc/qbman/qbman_debug.c | 4 + drivers/bus/fslmc/qbman/qbman_portal.c | 43 ++ drivers/bus/ifpga/ifpga_bus.c | 4 + drivers/bus/pci/bsd/pci.c | 11 + drivers/bus/pci/linux/pci.c | 11 + drivers/bus/pci/pci_common.c | 11 + drivers/bus/pci/windows/pci.c | 11 + drivers/bus/platform/platform.c | 3 + drivers/bus/uacce/uacce.c | 10 + drivers/bus/vdev/vdev.c | 7 + drivers/bus/vmbus/linux/vmbus_bus.c | 7 + drivers/bus/vmbus/vmbus_channel.c | 14 + drivers/bus/vmbus/vmbus_common.c | 4 + drivers/common/cnxk/cnxk_security.c | 13 + drivers/common/cnxk/cnxk_utils.c | 2 + drivers/common/cnxk/meson.build | 1 + drivers/common/cnxk/roc_platform.c | 19 + drivers/common/cnxk/roc_platform_symbols.c | 545 ++++++++++++++++++ drivers/common/cpt/cpt_fpm_tables.c | 3 + drivers/common/cpt/cpt_pmd_ops_helper.c | 4 + drivers/common/dpaax/caamflib.c | 3 + drivers/common/dpaax/dpaa_of.c | 13 + drivers/common/dpaax/dpaax_iova_table.c | 7 + drivers/common/ionic/ionic_common_uio.c | 5 + .../common/mlx5/linux/mlx5_common_auxiliary.c | 2 + drivers/common/mlx5/linux/mlx5_common_os.c | 11 + drivers/common/mlx5/linux/mlx5_common_verbs.c | 4 + drivers/common/mlx5/linux/mlx5_glue.c | 3 + drivers/common/mlx5/linux/mlx5_nl.c | 22 + drivers/common/mlx5/mlx5_common.c | 10 + drivers/common/mlx5/mlx5_common_devx.c | 10 + drivers/common/mlx5/mlx5_common_mp.c | 9 + drivers/common/mlx5/mlx5_common_mr.c | 12 + drivers/common/mlx5/mlx5_common_pci.c | 3 + drivers/common/mlx5/mlx5_common_utils.c | 12 + drivers/common/mlx5/mlx5_devx_cmds.c | 52 ++ drivers/common/mlx5/mlx5_malloc.c | 5 + drivers/common/mlx5/windows/mlx5_common_os.c | 6 + drivers/common/mlx5/windows/mlx5_glue.c | 4 +- drivers/common/mvep/mvep_common.c | 3 + drivers/common/nfp/nfp_common.c | 9 + drivers/common/nfp/nfp_common_pci.c | 2 + drivers/common/nfp/nfp_dev.c | 2 + drivers/common/nitrox/nitrox_device.c | 2 + drivers/common/nitrox/nitrox_logs.c | 2 + drivers/common/nitrox/nitrox_qp.c | 3 + drivers/common/octeontx/octeontx_mbox.c | 7 + drivers/common/sfc_efx/meson.build | 1 + drivers/common/sfc_efx/sfc_efx.c | 3 + drivers/common/sfc_efx/sfc_efx_mcdi.c | 3 + drivers/common/sfc_efx/sfc_symbols.c | 275 +++++++++ drivers/crypto/cnxk/cn10k_cryptodev_ops.c | 8 + drivers/crypto/cnxk/cn9k_cryptodev_ops.c | 3 + drivers/crypto/cnxk/cnxk_cryptodev_ops.c | 8 + drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 3 + drivers/crypto/dpaa_sec/dpaa_sec.c | 3 + drivers/crypto/octeontx/otx_cryptodev_ops.c | 3 + .../scheduler/rte_cryptodev_scheduler.c | 11 + drivers/dma/cnxk/cnxk_dmadev_fp.c | 5 + drivers/event/cnxk/cnxk_worker.c | 3 + drivers/event/dlb2/rte_pmd_dlb2.c | 2 + drivers/mempool/cnxk/cn10k_hwpool_ops.c | 4 + drivers/mempool/dpaa/dpaa_mempool.c | 3 + drivers/mempool/dpaa2/dpaa2_hw_mempool.c | 6 + drivers/net/atlantic/rte_pmd_atlantic.c | 7 + drivers/net/bnxt/rte_pmd_bnxt.c | 17 + drivers/net/bonding/rte_eth_bond_8023ad.c | 13 + drivers/net/bonding/rte_eth_bond_api.c | 16 + drivers/net/cnxk/cnxk_ethdev.c | 4 + drivers/net/cnxk/cnxk_ethdev_sec.c | 10 + drivers/net/dpaa/dpaa_ethdev.c | 4 + drivers/net/dpaa2/dpaa2_ethdev.c | 8 + drivers/net/dpaa2/dpaa2_mux.c | 4 + drivers/net/dpaa2/dpaa2_rxtx.c | 2 + drivers/net/dpaa2/dpaa2_symbols.c | 8 + drivers/net/dpaa2/meson.build | 1 + drivers/net/intel/i40e/rte_pmd_i40e.c | 40 ++ drivers/net/intel/iavf/iavf_rxtx.c | 9 + drivers/net/intel/iavf/iavf_symbols.c | 13 + drivers/net/intel/iavf/meson.build | 1 + drivers/net/intel/ice/ice_diagnose.c | 4 + drivers/net/intel/idpf/idpf_common_device.c | 11 + drivers/net/intel/idpf/idpf_common_rxtx.c | 25 + .../net/intel/idpf/idpf_common_rxtx_avx2.c | 3 + .../net/intel/idpf/idpf_common_rxtx_avx512.c | 6 + drivers/net/intel/idpf/idpf_common_virtchnl.c | 31 + drivers/net/intel/ipn3ke/ipn3ke_ethdev.c | 2 + drivers/net/intel/ixgbe/rte_pmd_ixgbe.c | 38 ++ drivers/net/mlx5/mlx5.c | 2 + drivers/net/mlx5/mlx5_flow.c | 5 + drivers/net/mlx5/mlx5_rx.c | 3 + drivers/net/mlx5/mlx5_rxq.c | 3 + drivers/net/mlx5/mlx5_tx.c | 2 + drivers/net/mlx5/mlx5_txq.c | 4 + drivers/net/octeontx/octeontx_ethdev.c | 2 + drivers/net/ring/rte_eth_ring.c | 3 + drivers/net/softnic/rte_eth_softnic.c | 2 + drivers/net/softnic/rte_eth_softnic_thread.c | 2 + drivers/net/vhost/rte_eth_vhost.c | 3 + drivers/power/kvm_vm/guest_channel.c | 3 + drivers/raw/cnxk_rvu_lf/cnxk_rvu_lf.c | 11 + drivers/raw/ifpga/rte_pmd_ifpga.c | 12 + lib/acl/acl_bld.c | 2 + lib/acl/acl_run_scalar.c | 3 + lib/acl/rte_acl.c | 12 + lib/argparse/rte_argparse.c | 3 + lib/bbdev/bbdev_trace_points.c | 3 + lib/bbdev/rte_bbdev.c | 32 + lib/bitratestats/rte_bitrate.c | 5 + lib/bpf/bpf.c | 3 + lib/bpf/bpf_convert.c | 2 + lib/bpf/bpf_dump.c | 2 + lib/bpf/bpf_exec.c | 3 + lib/bpf/bpf_load.c | 2 + lib/bpf/bpf_load_elf.c | 2 + lib/bpf/bpf_pkt.c | 5 + lib/bpf/bpf_stub.c | 3 + lib/cfgfile/rte_cfgfile.c | 18 + lib/cmdline/cmdline.c | 10 + lib/cmdline/cmdline_cirbuf.c | 21 + lib/cmdline/cmdline_parse.c | 5 + lib/cmdline/cmdline_parse_bool.c | 2 + lib/cmdline/cmdline_parse_etheraddr.c | 4 + lib/cmdline/cmdline_parse_ipaddr.c | 4 + lib/cmdline/cmdline_parse_num.c | 4 + lib/cmdline/cmdline_parse_portlist.c | 4 + lib/cmdline/cmdline_parse_string.c | 6 + lib/cmdline/cmdline_rdline.c | 17 + lib/cmdline/cmdline_socket.c | 5 + lib/cmdline/cmdline_vt100.c | 4 + lib/compressdev/rte_comp.c | 7 + lib/compressdev/rte_compressdev.c | 26 + lib/compressdev/rte_compressdev_pmd.c | 4 + lib/cryptodev/cryptodev_pmd.c | 8 + lib/cryptodev/cryptodev_trace_points.c | 4 + lib/cryptodev/rte_cryptodev.c | 84 +++ lib/dispatcher/rte_dispatcher.c | 14 + lib/distributor/rte_distributor.c | 10 + lib/dmadev/rte_dmadev.c | 20 + lib/dmadev/rte_dmadev_trace_points.c | 8 + lib/eal/arm/rte_cpuflags.c | 4 + lib/eal/arm/rte_hypervisor.c | 2 + lib/eal/arm/rte_power_intrinsics.c | 5 + lib/eal/common/eal_common_bus.c | 11 + lib/eal/common/eal_common_class.c | 5 + lib/eal/common/eal_common_config.c | 8 + lib/eal/common/eal_common_cpuflags.c | 2 + lib/eal/common/eal_common_debug.c | 3 + lib/eal/common/eal_common_dev.c | 20 + lib/eal/common/eal_common_devargs.c | 10 + lib/eal/common/eal_common_errno.c | 3 + lib/eal/common/eal_common_fbarray.c | 27 + lib/eal/common/eal_common_hexdump.c | 3 + lib/eal/common/eal_common_hypervisor.c | 2 + lib/eal/common/eal_common_interrupts.c | 28 + lib/eal/common/eal_common_launch.c | 6 + lib/eal/common/eal_common_lcore.c | 18 + lib/eal/common/eal_common_lcore_var.c | 2 + lib/eal/common/eal_common_mcfg.c | 21 + lib/eal/common/eal_common_memory.c | 30 + lib/eal/common/eal_common_memzone.c | 10 + lib/eal/common/eal_common_options.c | 5 + lib/eal/common/eal_common_proc.c | 9 + lib/eal/common/eal_common_string_fns.c | 4 + lib/eal/common/eal_common_tailqs.c | 4 + lib/eal/common/eal_common_thread.c | 15 + lib/eal/common/eal_common_timer.c | 5 + lib/eal/common/eal_common_trace.c | 16 + lib/eal/common/eal_common_trace_ctf.c | 2 + lib/eal/common/eal_common_trace_points.c | 19 + lib/eal/common/eal_common_trace_utils.c | 2 + lib/eal/common/eal_common_uuid.c | 5 + lib/eal/common/rte_bitset.c | 2 + lib/eal/common/rte_keepalive.c | 7 + lib/eal/common/rte_malloc.c | 23 + lib/eal/common/rte_random.c | 5 + lib/eal/common/rte_reciprocal.c | 3 + lib/eal/common/rte_service.c | 32 + lib/eal/common/rte_version.c | 8 + lib/eal/freebsd/eal.c | 23 + lib/eal/freebsd/eal_alarm.c | 3 + lib/eal/freebsd/eal_dev.c | 5 + lib/eal/freebsd/eal_interrupts.c | 20 + lib/eal/freebsd/eal_memory.c | 4 + lib/eal/freebsd/eal_thread.c | 3 + lib/eal/freebsd/eal_timer.c | 2 + lib/eal/linux/eal.c | 8 + lib/eal/linux/eal_alarm.c | 3 + lib/eal/linux/eal_dev.c | 5 + lib/eal/linux/eal_interrupts.c | 20 + lib/eal/linux/eal_memory.c | 4 + lib/eal/linux/eal_thread.c | 3 + lib/eal/linux/eal_timer.c | 5 + lib/eal/linux/eal_vfio.c | 17 + lib/eal/loongarch/rte_cpuflags.c | 4 + lib/eal/loongarch/rte_hypervisor.c | 2 + lib/eal/loongarch/rte_power_intrinsics.c | 5 + lib/eal/ppc/rte_cpuflags.c | 4 + lib/eal/ppc/rte_hypervisor.c | 2 + lib/eal/ppc/rte_power_intrinsics.c | 5 + lib/eal/riscv/rte_cpuflags.c | 4 + lib/eal/riscv/rte_hypervisor.c | 2 + lib/eal/riscv/rte_power_intrinsics.c | 5 + lib/eal/unix/eal_debug.c | 3 + lib/eal/unix/eal_filesystem.c | 2 + lib/eal/unix/eal_firmware.c | 2 + lib/eal/unix/eal_unix_memory.c | 5 + lib/eal/unix/eal_unix_timer.c | 2 + lib/eal/unix/rte_thread.c | 14 + lib/eal/windows/eal.c | 12 + lib/eal/windows/eal_alarm.c | 3 + lib/eal/windows/eal_debug.c | 2 + lib/eal/windows/eal_dev.c | 5 + lib/eal/windows/eal_interrupts.c | 20 + lib/eal/windows/eal_memory.c | 8 + lib/eal/windows/eal_mp.c | 7 + lib/eal/windows/eal_thread.c | 2 + lib/eal/windows/eal_timer.c | 2 + lib/eal/windows/rte_thread.c | 15 + lib/eal/x86/rte_cpuflags.c | 4 + lib/eal/x86/rte_hypervisor.c | 2 + lib/eal/x86/rte_power_intrinsics.c | 5 + lib/eal/x86/rte_spinlock.c | 2 + lib/efd/rte_efd.c | 8 + lib/ethdev/ethdev_driver.c | 25 + lib/ethdev/ethdev_linux_ethtool.c | 4 + lib/ethdev/ethdev_private.c | 3 + lib/ethdev/ethdev_trace_points.c | 7 + lib/ethdev/rte_ethdev.c | 169 ++++++ lib/ethdev/rte_ethdev_cman.c | 5 + lib/ethdev/rte_flow.c | 65 +++ lib/ethdev/rte_mtr.c | 22 + lib/ethdev/rte_tm.c | 32 + lib/eventdev/eventdev_private.c | 3 + lib/eventdev/eventdev_trace_points.c | 12 + lib/eventdev/rte_event_crypto_adapter.c | 16 + lib/eventdev/rte_event_dma_adapter.c | 16 + lib/eventdev/rte_event_eth_rx_adapter.c | 24 + lib/eventdev/rte_event_eth_tx_adapter.c | 18 + lib/eventdev/rte_event_ring.c | 5 + lib/eventdev/rte_event_timer_adapter.c | 12 + lib/eventdev/rte_eventdev.c | 47 ++ lib/fib/rte_fib.c | 11 + lib/fib/rte_fib6.c | 10 + lib/gpudev/gpudev.c | 33 ++ lib/graph/graph.c | 17 + lib/graph/graph_debug.c | 3 + lib/graph/graph_stats.c | 5 + lib/graph/node.c | 12 + lib/graph/rte_graph_model_mcore_dispatch.c | 4 + lib/graph/rte_graph_worker.c | 4 + lib/gro/rte_gro.c | 7 + lib/gso/rte_gso.c | 2 + lib/hash/rte_cuckoo_hash.c | 28 + lib/hash/rte_fbk_hash.c | 4 + lib/hash/rte_hash_crc.c | 3 + lib/hash/rte_thash.c | 13 + lib/hash/rte_thash_gf2_poly_math.c | 2 + lib/hash/rte_thash_gfni.c | 3 + lib/ip_frag/rte_ip_frag_common.c | 6 + lib/ip_frag/rte_ipv4_fragmentation.c | 3 + lib/ip_frag/rte_ipv4_reassembly.c | 2 + lib/ip_frag/rte_ipv6_fragmentation.c | 2 + lib/ip_frag/rte_ipv6_reassembly.c | 2 + lib/ipsec/ipsec_sad.c | 7 + lib/ipsec/ipsec_telemetry.c | 3 + lib/ipsec/sa.c | 5 + lib/ipsec/ses.c | 2 + lib/jobstats/rte_jobstats.c | 15 + lib/kvargs/rte_kvargs.c | 9 + lib/latencystats/rte_latencystats.c | 6 + lib/log/log.c | 23 + lib/log/log_color.c | 2 + lib/log/log_syslog.c | 2 + lib/log/log_timestamp.c | 2 + lib/lpm/rte_lpm.c | 9 + lib/lpm/rte_lpm6.c | 11 + lib/mbuf/rte_mbuf.c | 18 + lib/mbuf/rte_mbuf_dyn.c | 10 + lib/mbuf/rte_mbuf_pool_ops.c | 6 + lib/mbuf/rte_mbuf_ptype.c | 9 + lib/member/rte_member.c | 14 + lib/mempool/mempool_trace_points.c | 11 + lib/mempool/rte_mempool.c | 28 + lib/mempool/rte_mempool_ops.c | 5 + lib/mempool/rte_mempool_ops_default.c | 5 + lib/meter/rte_meter.c | 7 + lib/metrics/rte_metrics.c | 9 + lib/metrics/rte_metrics_telemetry.c | 12 + lib/mldev/mldev_utils.c | 3 + lib/mldev/mldev_utils_neon.c | 20 + lib/mldev/mldev_utils_neon_bfloat16.c | 4 + lib/mldev/mldev_utils_scalar.c | 20 + lib/mldev/mldev_utils_scalar_bfloat16.c | 4 + lib/mldev/rte_mldev.c | 38 ++ lib/mldev/rte_mldev_pmd.c | 3 + lib/net/rte_arp.c | 2 + lib/net/rte_ether.c | 4 + lib/net/rte_net.c | 3 + lib/net/rte_net_crc.c | 2 + lib/node/ethdev_ctrl.c | 3 + lib/node/ip4_lookup.c | 2 + lib/node/ip4_reassembly.c | 2 + lib/node/ip4_rewrite.c | 2 + lib/node/ip6_lookup.c | 2 + lib/node/ip6_rewrite.c | 2 + lib/node/udp4_input.c | 3 + lib/pcapng/rte_pcapng.c | 8 + lib/pci/rte_pci.c | 4 + lib/pdcp/rte_pdcp.c | 6 + lib/pdump/rte_pdump.c | 10 + lib/pipeline/rte_pipeline.c | 24 + lib/pipeline/rte_port_in_action.c | 9 + lib/pipeline/rte_swx_ctl.c | 18 + lib/pipeline/rte_swx_ipsec.c | 8 + lib/pipeline/rte_swx_pipeline.c | 74 +++ lib/pipeline/rte_table_action.c | 17 + lib/port/rte_port_ethdev.c | 4 + lib/port/rte_port_eventdev.c | 4 + lib/port/rte_port_fd.c | 4 + lib/port/rte_port_frag.c | 3 + lib/port/rte_port_ras.c | 3 + lib/port/rte_port_ring.c | 7 + lib/port/rte_port_sched.c | 3 + lib/port/rte_port_source_sink.c | 3 + lib/port/rte_port_sym_crypto.c | 4 + lib/port/rte_swx_port_ethdev.c | 3 + lib/port/rte_swx_port_fd.c | 3 + lib/port/rte_swx_port_ring.c | 3 + lib/port/rte_swx_port_source_sink.c | 4 + lib/power/power_common.c | 9 + lib/power/rte_power_cpufreq.c | 19 + lib/power/rte_power_pmd_mgmt.c | 11 + lib/power/rte_power_qos.c | 3 + lib/power/rte_power_uncore.c | 15 + lib/rawdev/rte_rawdev.c | 31 + lib/rcu/rte_rcu_qsbr.c | 12 + lib/regexdev/rte_regexdev.c | 27 + lib/reorder/rte_reorder.c | 12 + lib/rib/rte_rib.c | 15 + lib/rib/rte_rib6.c | 15 + lib/ring/rte_ring.c | 12 + lib/ring/rte_soring.c | 4 + lib/ring/soring.c | 18 + lib/sched/rte_approx.c | 2 + lib/sched/rte_pie.c | 3 + lib/sched/rte_red.c | 7 + lib/sched/rte_sched.c | 16 + lib/security/rte_security.c | 21 + lib/stack/rte_stack.c | 4 + lib/table/rte_swx_table_em.c | 3 + lib/table/rte_swx_table_learner.c | 11 + lib/table/rte_swx_table_selector.c | 7 + lib/table/rte_swx_table_wm.c | 2 + lib/table/rte_table_acl.c | 2 + lib/table/rte_table_array.c | 2 + lib/table/rte_table_hash_cuckoo.c | 2 + lib/table/rte_table_hash_ext.c | 2 + lib/table/rte_table_hash_key16.c | 3 + lib/table/rte_table_hash_key32.c | 3 + lib/table/rte_table_hash_key8.c | 3 + lib/table/rte_table_hash_lru.c | 2 + lib/table/rte_table_lpm.c | 2 + lib/table/rte_table_lpm_ipv6.c | 2 + lib/table/rte_table_stub.c | 2 + lib/telemetry/telemetry.c | 4 + lib/telemetry/telemetry_data.c | 18 + lib/telemetry/telemetry_legacy.c | 2 + lib/timer/rte_timer.c | 19 + lib/vhost/socket.c | 17 + lib/vhost/vdpa.c | 12 + lib/vhost/vhost.c | 42 ++ lib/vhost/vhost_crypto.c | 7 + lib/vhost/vhost_user.c | 3 + lib/vhost/virtio_net.c | 8 + 396 files changed, 4556 insertions(+), 2 deletions(-) create mode 100644 drivers/bus/dpaa/dpaa_bus_symbols.c create mode 100644 drivers/common/cnxk/roc_platform_symbols.c create mode 100644 drivers/common/sfc_efx/sfc_symbols.c create mode 100644 drivers/net/dpaa2/dpaa2_symbols.c create mode 100644 drivers/net/intel/iavf/iavf_symbols.c
drivers/baseband/acc/rte_acc100_pmd.c +2 -0
@@ -4,6 +4,7 @@#include <unistd.h> +#include <eal_symbol_exports.h> #include <rte_common.h> #include <rte_log.h> #include <dev_driver.h>
@@ -4635,6 +4636,7 @@ acc100_configure(const char *dev_name, struct rte_acc_conf *conf)return 0 ; } +RTE_EXPORT_EXPERIMENTAL_SYMBOL(rte_acc_configure, 22.11)int rte_acc_configure (const char *dev_name,struct rte_acc_conf *conf) {
drivers/baseband/fpga_5gnr_fec/rte_fpga_5gnr_fec.c +2 -0
@@ -4,6 +4,7 @@#include <unistd.h> +#include <eal_symbol_exports.h> #include <rte_common.h> #include <rte_log.h> #include <dev_driver.h>
@@ -3366,6 +3367,7 @@ static int agx100_configure(const char *dev_name, const struct rte_fpga_5gnr_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_symbol_exports.h> #include <rte_common.h> #include <rte_log.h> #include <dev_driver.h>
@@ -2452,6 +2453,7 @@ set_default_fpga_conf(struct rte_fpga_lte_fec_conf *def_conf) }/* Initial configuration of FPGA LTE FEC device */ +RTE_EXPORT_EXPERIMENTAL_SYMBOL(rte_fpga_lte_fec_configure, 20.11)int rte_fpga_lte_fec_configure (const char *dev_name,const struct rte_fpga_lte_fec_conf *conf)
drivers/bus/auxiliary/auxiliary_common.c +3 -0
@@ -9,6 +9,7 @@#include <stdlib.h> #include <stdio.h> #include <sys/queue.h> +#include <eal_symbol_exports.h> #include <rte_errno.h> #include <rte_interrupts.h> #include <rte_log.h>
@@ -258,6 +259,7 @@ auxiliary_parse(const char *name, void *addr) }/* Register a driver */ +RTE_EXPORT_INTERNAL_SYMBOL (rte_auxiliary_register) 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_symbol_exports.h> #include <eal_filesystem.h> #include "bus_cdx_driver.h"
@@ -139,11 +140,13 @@ cdx_get_kernel_driver_by_path(const char *filename, char *driver_name,return -1 ; } +RTE_EXPORT_INTERNAL_SYMBOL (rte_cdx_map_device) int rte_cdx_map_device(struct rte_cdx_device *dev) {return cdx_vfio_map_resource (dev); } +RTE_EXPORT_INTERNAL_SYMBOL (rte_cdx_unmap_device) void rte_cdx_unmap_device(struct rte_cdx_device *dev) {cdx_vfio_unmap_resource (dev);
@@ -478,6 +481,7 @@ cdx_parse(const char *name, void *addr) }/* register a driver */ +RTE_EXPORT_INTERNAL_SYMBOL (rte_cdx_register) 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_symbol_exports.h> #include <rte_eal_paging.h> #include <rte_malloc.h> #include <rte_vfio.h>
@@ -550,6 +551,7 @@ cdx_vfio_map_resource(struct rte_cdx_device *dev)return cdx_vfio_map_resource_secondary (dev); } +RTE_EXPORT_INTERNAL_SYMBOL (rte_cdx_vfio_intr_enable) 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_symbol_exports.h> #include <rte_byteorder.h> #include <rte_common.h> #include <rte_interrupts.h>
@@ -59,15 +60,19 @@ struct netcfg_info *dpaa_netcfg;/* define a variable to hold the portal_key, once created.*/ static pthread_key_t dpaa_portal_key; +RTE_EXPORT_INTERNAL_SYMBOL (dpaa_svr_family) unsigned int dpaa_svr_family;#define FSL_DPAA_BUS_NAME dpaa_bus +RTE_EXPORT_INTERNAL_SYMBOL (per_lcore_dpaa_io)RTE_DEFINE_PER_LCORE (struct dpaa_portal *, dpaa_io);#define DPAA_SEQN_DYNFIELD_NAME "dpaa_seqn_dynfield" +RTE_EXPORT_INTERNAL_SYMBOL (dpaa_seqn_dynfield_offset) int dpaa_seqn_dynfield_offset = -1; +RTE_EXPORT_INTERNAL_SYMBOL (dpaa_get_eth_port_cfg) struct fm_eth_port_cfg *dpaa_get_eth_port_cfg (int dev_id) {
@@ -315,6 +320,7 @@ dpaa_clean_device_list(void) } } +RTE_EXPORT_INTERNAL_SYMBOL (rte_dpaa_portal_init) int rte_dpaa_portal_init(void *arg) {static const struct rte_mbuf_dynfield dpaa_seqn_dynfield_desc = {
@@ -393,6 +399,7 @@ int rte_dpaa_portal_init(void *arg)return 0 ; } +RTE_EXPORT_INTERNAL_SYMBOL (rte_dpaa_portal_fq_init) 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_symbols.c new file +99 -0
99 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_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_symbol_exports.h> #include <rte_log.h> #include <bus_driver.h> #include <rte_malloc.h>
@@ -29,8 +30,10 @@struct rte_fslmc_bus rte_fslmc_bus;#define DPAA2_SEQN_DYNFIELD_NAME "dpaa2_seqn_dynfield" +RTE_EXPORT_INTERNAL_SYMBOL (dpaa2_seqn_dynfield_offset) int dpaa2_seqn_dynfield_offset = -1; +RTE_EXPORT_INTERNAL_SYMBOL (rte_fslmc_get_device_count) uint32_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_symbol_exports.h> #include <eal_filesystem.h> #include <rte_mbuf.h> #include <ethdev_driver.h>
@@ -83,6 +84,7 @@ enum {FSLMC_VFIO_SOCKET_REQ_MEM }; +RTE_EXPORT_INTERNAL_SYMBOL (dpaa2_get_mcp_ptr) void *dpaa2_get_mcp_ptr (int portal_idx) {
@@ -154,6 +156,7 @@ fslmc_io_virt2phy(const void *virtaddr) }/*register a fslmc bus based dpaa2 driver */ +RTE_EXPORT_INTERNAL_SYMBOL (rte_fslmc_object_register) 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_symbol_exports.h> +/** * dpbp_open() - Open a control session for the specified object. * @mc_io: Pointer to MC portal's I/O object
@@ -26,6 +28,7 @@* * Return: '0' on Success; Error code otherwise. */ +RTE_EXPORT_INTERNAL_SYMBOL(dpbp_open) int dpbp_open(struct fsl_mc_io *mc_io, uint32_t cmd_flags, int dpbp_id,
@@ -157,6 +160,7 @@ int dpbp_destroy(struct fsl_mc_io *mc_io,* * Return: '0' on Success; Error code otherwise. */ +RTE_EXPORT_INTERNAL_SYMBOL (dpbp_enable) int dpbp_enable(struct fsl_mc_io *mc_io,uint32_t cmd_flags,uint16_t token)
@@ -179,6 +183,7 @@ int dpbp_enable(struct fsl_mc_io *mc_io,* * Return: '0' on Success; Error code otherwise. */ +RTE_EXPORT_INTERNAL_SYMBOL (dpbp_disable) int dpbp_disable(struct fsl_mc_io *mc_io,uint32_t cmd_flags,uint16_t token)
@@ -235,6 +240,7 @@ int dpbp_is_enabled(struct fsl_mc_io *mc_io,* * Return: '0' on Success; Error code otherwise. */ +RTE_EXPORT_INTERNAL_SYMBOL (dpbp_reset) int dpbp_reset(struct fsl_mc_io *mc_io,uint32_t cmd_flags,uint16_t token)
@@ -258,6 +264,7 @@ int dpbp_reset(struct fsl_mc_io *mc_io,* * Return: '0' on Success; Error code otherwise. */ +RTE_EXPORT_INTERNAL_SYMBOL(dpbp_get_attributes) int dpbp_get_attributes(struct fsl_mc_io *mc_io, uint32_t cmd_flags, uint16_t token,
@@ -329,6 +336,7 @@ int dpbp_get_api_version(struct fsl_mc_io *mc_io,* Return: '0' on Success; Error code otherwise. */ +RTE_EXPORT_INTERNAL_SYMBOL(dpbp_get_num_free_bufs) int dpbp_get_num_free_bufs(struct fsl_mc_io *mc_io, uint32_t cmd_flags, uint16_t token,
drivers/bus/fslmc/mc/dpci.c +5 -0
@@ -9,6 +9,8 @@#include <fsl_dpci.h> #include <fsl_dpci_cmd.h> +#include <eal_symbol_exports.h> +/** * dpci_open() - Open a control session for the specified object * @mc_io: Pointer to MC portal's I/O object
@@ -315,6 +317,7 @@ int dpci_get_attributes(struct fsl_mc_io *mc_io,* * Return: '0' on Success; Error code otherwise. */ +RTE_EXPORT_INTERNAL_SYMBOL(dpci_set_rx_queue) int dpci_set_rx_queue(struct fsl_mc_io *mc_io, uint32_t cmd_flags, uint16_t token,
@@ -477,6 +480,7 @@ int dpci_get_api_version(struct fsl_mc_io *mc_io,* * Return: '0' on Success; Error code otherwise. */ +RTE_EXPORT_INTERNAL_SYMBOL(dpci_set_opr) int dpci_set_opr(struct fsl_mc_io *mc_io, uint32_t cmd_flags, uint16_t token,
@@ -515,6 +519,7 @@ int dpci_set_opr(struct fsl_mc_io *mc_io,* * Return: '0' on Success; Error code otherwise. */ +RTE_EXPORT_INTERNAL_SYMBOL(dpci_get_opr) int dpci_get_opr(struct fsl_mc_io *mc_io, uint32_t cmd_flags, uint16_t token,
drivers/bus/fslmc/mc/dpcon.c +8 -0
@@ -9,6 +9,8 @@#include <fsl_dpcon.h> #include <fsl_dpcon_cmd.h> +#include <eal_symbol_exports.h> +/** * dpcon_open() - Open a control session for the specified object * @mc_io: Pointer to MC portal's I/O object
@@ -26,6 +28,7 @@* * Return: '0' on Success; Error code otherwise. */ +RTE_EXPORT_INTERNAL_SYMBOL(dpcon_open) int dpcon_open(struct fsl_mc_io *mc_io, uint32_t cmd_flags, int dpcon_id,
@@ -64,6 +67,7 @@ int dpcon_open(struct fsl_mc_io *mc_io,* * Return: '0' on Success; Error code otherwise. */ +RTE_EXPORT_INTERNAL_SYMBOL (dpcon_close) int dpcon_close(struct fsl_mc_io *mc_io,uint32_t cmd_flags,uint16_t token)
@@ -164,6 +168,7 @@ int dpcon_destroy(struct fsl_mc_io *mc_io,* * Return: '0' on Success; Error code otherwise */ +RTE_EXPORT_INTERNAL_SYMBOL (dpcon_enable) int dpcon_enable(struct fsl_mc_io *mc_io,uint32_t cmd_flags,uint16_t token)
@@ -187,6 +192,7 @@ int dpcon_enable(struct fsl_mc_io *mc_io,* * Return: '0' on Success; Error code otherwise */ +RTE_EXPORT_INTERNAL_SYMBOL (dpcon_disable) int dpcon_disable(struct fsl_mc_io *mc_io,uint32_t cmd_flags,uint16_t token)
@@ -245,6 +251,7 @@ int dpcon_is_enabled(struct fsl_mc_io *mc_io,* * Return: '0' on Success; Error code otherwise. */ +RTE_EXPORT_INTERNAL_SYMBOL (dpcon_reset) int dpcon_reset(struct fsl_mc_io *mc_io,uint32_t cmd_flags,uint16_t token)
@@ -268,6 +275,7 @@ int dpcon_reset(struct fsl_mc_io *mc_io,* * Return: '0' on Success; Error code otherwise. */ +RTE_EXPORT_INTERNAL_SYMBOL(dpcon_get_attributes) int dpcon_get_attributes(struct fsl_mc_io *mc_io, uint32_t cmd_flags, uint16_t token,
drivers/bus/fslmc/mc/dpdmai.c +10 -0
@@ -7,6 +7,8 @@#include <fsl_dpdmai.h> #include <fsl_dpdmai_cmd.h> +#include <eal_symbol_exports.h> +/** * dpdmai_open() - Open a control session for the specified object * @mc_io: Pointer to MC portal's I/O object
@@ -24,6 +26,7 @@* * Return: '0' on Success; Error code otherwise. */ +RTE_EXPORT_INTERNAL_SYMBOL(dpdmai_open) int dpdmai_open(struct fsl_mc_io *mc_io, uint32_t cmd_flags, int dpdmai_id,
@@ -62,6 +65,7 @@ int dpdmai_open(struct fsl_mc_io *mc_io,* * Return: '0' on Success; Error code otherwise. */ +RTE_EXPORT_INTERNAL_SYMBOL (dpdmai_close) int dpdmai_close(struct fsl_mc_io *mc_io,uint32_t cmd_flags,uint16_t token)
@@ -171,6 +175,7 @@ int dpdmai_destroy(struct fsl_mc_io *mc_io,* * Return: '0' on Success; Error code otherwise. */ +RTE_EXPORT_INTERNAL_SYMBOL (dpdmai_enable) int dpdmai_enable(struct fsl_mc_io *mc_io,uint32_t cmd_flags,uint16_t token)
@@ -194,6 +199,7 @@ int dpdmai_enable(struct fsl_mc_io *mc_io,* * Return: '0' on Success; Error code otherwise. */ +RTE_EXPORT_INTERNAL_SYMBOL (dpdmai_disable) int dpdmai_disable(struct fsl_mc_io *mc_io,uint32_t cmd_flags,uint16_t token)
@@ -276,6 +282,7 @@ int dpdmai_reset(struct fsl_mc_io *mc_io,* * Return: '0' on Success; Error code otherwise. */ +RTE_EXPORT_INTERNAL_SYMBOL(dpdmai_get_attributes) int dpdmai_get_attributes(struct fsl_mc_io *mc_io, uint32_t cmd_flags, uint16_t token,
@@ -320,6 +327,7 @@ int dpdmai_get_attributes(struct fsl_mc_io *mc_io,* * Return: '0' on Success; Error code otherwise. */ +RTE_EXPORT_INTERNAL_SYMBOL(dpdmai_set_rx_queue) int dpdmai_set_rx_queue(struct fsl_mc_io *mc_io, uint32_t cmd_flags, uint16_t token,
@@ -362,6 +370,7 @@ int dpdmai_set_rx_queue(struct fsl_mc_io *mc_io,* * Return: '0' on Success; Error code otherwise. */ +RTE_EXPORT_INTERNAL_SYMBOL(dpdmai_get_rx_queue) int dpdmai_get_rx_queue(struct fsl_mc_io *mc_io, uint32_t cmd_flags, uint16_t token,
@@ -412,6 +421,7 @@ int dpdmai_get_rx_queue(struct fsl_mc_io *mc_io,* * Return: '0' on Success; Error code otherwise. */ +RTE_EXPORT_INTERNAL_SYMBOL(dpdmai_get_tx_queue) int dpdmai_get_tx_queue(struct fsl_mc_io *mc_io, uint32_t cmd_flags, uint16_t token,
drivers/bus/fslmc/mc/dpio.c +15 -0
@@ -9,6 +9,8 @@#include <fsl_dpio.h> #include <fsl_dpio_cmd.h> +#include <eal_symbol_exports.h> +/** * dpio_open() - Open a control session for the specified object * @mc_io: Pointer to MC portal's I/O object
@@ -26,6 +28,7 @@* * Return: '0' on Success; Error code otherwise. */ +RTE_EXPORT_INTERNAL_SYMBOL(dpio_open) int dpio_open(struct fsl_mc_io *mc_io, uint32_t cmd_flags, int dpio_id,
@@ -61,6 +64,7 @@ int dpio_open(struct fsl_mc_io *mc_io,* * Return: '0' on Success; Error code otherwise. */ +RTE_EXPORT_INTERNAL_SYMBOL (dpio_close) int dpio_close(struct fsl_mc_io *mc_io,uint32_t cmd_flags,uint16_t token)
@@ -173,6 +177,7 @@ int dpio_destroy(struct fsl_mc_io *mc_io,* * Return: '0' on Success; Error code otherwise */ +RTE_EXPORT_INTERNAL_SYMBOL (dpio_enable) int dpio_enable(struct fsl_mc_io *mc_io,uint32_t cmd_flags,uint16_t token)
@@ -196,6 +201,7 @@ int dpio_enable(struct fsl_mc_io *mc_io,* * Return: '0' on Success; Error code otherwise */ +RTE_EXPORT_INTERNAL_SYMBOL (dpio_disable) int dpio_disable(struct fsl_mc_io *mc_io,uint32_t cmd_flags,uint16_t token)
@@ -253,6 +259,7 @@ int dpio_is_enabled(struct fsl_mc_io *mc_io,* * Return: '0' on Success; Error code otherwise. */ +RTE_EXPORT_INTERNAL_SYMBOL (dpio_reset) int dpio_reset(struct fsl_mc_io *mc_io,uint32_t cmd_flags,uint16_t token)
@@ -277,6 +284,7 @@ int dpio_reset(struct fsl_mc_io *mc_io,* * Return: '0' on Success; Error code otherwise */ +RTE_EXPORT_INTERNAL_SYMBOL(dpio_get_attributes) int dpio_get_attributes(struct fsl_mc_io *mc_io, uint32_t cmd_flags, uint16_t token,
@@ -322,6 +330,7 @@ int dpio_get_attributes(struct fsl_mc_io *mc_io,* * Return: '0' on Success; Error code otherwise. */ +RTE_EXPORT_INTERNAL_SYMBOL(dpio_set_stashing_destination) int dpio_set_stashing_destination(struct fsl_mc_io *mc_io, uint32_t cmd_flags, uint16_t token,
@@ -350,6 +359,7 @@ int dpio_set_stashing_destination(struct fsl_mc_io *mc_io,* * Return: '0' on Success; Error code otherwise. */ +RTE_EXPORT_INTERNAL_SYMBOL(dpio_get_stashing_destination) int dpio_get_stashing_destination(struct fsl_mc_io *mc_io, uint32_t cmd_flags, uint16_t token,
@@ -386,6 +396,7 @@ int dpio_get_stashing_destination(struct fsl_mc_io *mc_io,* * Return: '0' on Success; Error code otherwise. */ +RTE_EXPORT_INTERNAL_SYMBOL(dpio_set_stashing_destination_by_core_id) int dpio_set_stashing_destination_by_core_id(struct fsl_mc_io *mc_io, uint32_t cmd_flags, uint16_t token,
@@ -414,6 +425,7 @@ int dpio_set_stashing_destination_by_core_id(struct fsl_mc_io *mc_io,* * Return: '0' on Success; Error code otherwise. */ +RTE_EXPORT_INTERNAL_SYMBOL(dpio_set_stashing_destination_source) int dpio_set_stashing_destination_source(struct fsl_mc_io *mc_io, uint32_t cmd_flags, uint16_t token,
@@ -442,6 +454,7 @@ int dpio_set_stashing_destination_source(struct fsl_mc_io *mc_io,* * Return: '0' on Success; Error code otherwise. */ +RTE_EXPORT_INTERNAL_SYMBOL(dpio_get_stashing_destination_source) int dpio_get_stashing_destination_source(struct fsl_mc_io *mc_io, uint32_t cmd_flags, uint16_t token,
@@ -478,6 +491,7 @@ int dpio_get_stashing_destination_source(struct fsl_mc_io *mc_io,* * Return: '0' on Success; Error code otherwise. */ +RTE_EXPORT_INTERNAL_SYMBOL(dpio_add_static_dequeue_channel) int dpio_add_static_dequeue_channel(struct fsl_mc_io *mc_io, uint32_t cmd_flags, uint16_t token,
@@ -517,6 +531,7 @@ int dpio_add_static_dequeue_channel(struct fsl_mc_io *mc_io,* * Return: '0' on Success; Error code otherwise. */ +RTE_EXPORT_INTERNAL_SYMBOL(dpio_remove_static_dequeue_channel) int dpio_remove_static_dequeue_channel(struct fsl_mc_io *mc_io, uint32_t cmd_flags, uint16_t token,
drivers/bus/fslmc/mc/dpmng.c +4 -0
@@ -9,6 +9,8 @@#include <fsl_dpmng.h> #include <fsl_dpmng_cmd.h> +#include <eal_symbol_exports.h> +/** * mc_get_version() - Retrieves the Management Complex firmware * version information
@@ -18,6 +20,7 @@* * Return: '0' on Success; Error code otherwise. */ +RTE_EXPORT_INTERNAL_SYMBOL (mc_get_version) int mc_get_version(struct fsl_mc_io *mc_io,uint32_t cmd_flags,struct mc_version *mc_ver_info)
@@ -57,6 +60,7 @@ int mc_get_version(struct fsl_mc_io *mc_io,* * Return: '0' on Success; Error code otherwise. */ +RTE_EXPORT_INTERNAL_SYMBOL (mc_get_soc_version) int mc_get_soc_version(struct fsl_mc_io *mc_io,uint32_t cmd_flags,struct mc_soc_version *mc_platform_info)
drivers/bus/fslmc/mc/mc_sys.c +2 -0
@@ -7,6 +7,7 @@#include <fsl_mc_sys.h> #include <fsl_mc_cmd.h> +#include <eal_symbol_exports.h> #include <rte_spinlock.h> #include <rte_cycles.h>
@@ -52,6 +53,7 @@ static int mc_status_to_error(enum mc_cmd_status status)return -EINVAL ; } +RTE_EXPORT_INTERNAL_SYMBOL (mc_send_command) int mc_send_command(struct fsl_mc_io *mc_io, struct mc_command *cmd) {enum mc_cmd_status status;
drivers/bus/fslmc/portal/dpaa2_hw_dpbp.c +4 -0
@@ -13,6 +13,7 @@#include <fcntl.h> #include <errno.h> +#include <eal_symbol_exports.h> #include <rte_malloc.h> #include <rte_memcpy.h> #include <rte_string_fns.h>
@@ -95,6 +96,7 @@ dpaa2_create_dpbp_device(int vdev_fd __rte_unused,return 0 ; } +RTE_EXPORT_INTERNAL_SYMBOL (dpaa2_alloc_dpbp_dev) struct dpaa2_dpbp_dev *dpaa2_alloc_dpbp_dev(void) {struct dpaa2_dpbp_dev *dpbp_dev =NULL ;
@@ -108,6 +110,7 @@ struct dpaa2_dpbp_dev *dpaa2_alloc_dpbp_dev(void)return dpbp_dev; } +RTE_EXPORT_INTERNAL_SYMBOL (dpaa2_free_dpbp_dev) void dpaa2_free_dpbp_dev(struct dpaa2_dpbp_dev *dpbp) {struct dpaa2_dpbp_dev *dpbp_dev =NULL ;
@@ -121,6 +124,7 @@ void dpaa2_free_dpbp_dev(struct dpaa2_dpbp_dev *dpbp) } } +RTE_EXPORT_INTERNAL_SYMBOL (dpaa2_dpbp_supported) int dpaa2_dpbp_supported(void) {if (TAILQ_EMPTY (&dpbp_dev_list))
drivers/bus/fslmc/portal/dpaa2_hw_dpci.c +3 -0
@@ -12,6 +12,7 @@#include <fcntl.h> #include <errno.h> +#include <eal_symbol_exports.h> #include <rte_malloc.h> #include <rte_memcpy.h> #include <rte_string_fns.h>
@@ -151,6 +152,7 @@ rte_dpaa2_create_dpci_device(int vdev_fd __rte_unused,return ret; } +RTE_EXPORT_INTERNAL_SYMBOL (rte_dpaa2_alloc_dpci_dev) struct dpaa2_dpci_dev *rte_dpaa2_alloc_dpci_dev(void) {struct dpaa2_dpci_dev *dpci_dev =NULL ;
@@ -164,6 +166,7 @@ struct dpaa2_dpci_dev *rte_dpaa2_alloc_dpci_dev(void)return dpci_dev; } +RTE_EXPORT_INTERNAL_SYMBOL (rte_dpaa2_free_dpci_dev) void rte_dpaa2_free_dpci_dev(struct dpaa2_dpci_dev *dpci) {struct dpaa2_dpci_dev *dpci_dev =NULL ;
drivers/bus/fslmc/portal/dpaa2_hw_dpio.c +12 -0
@@ -23,6 +23,7 @@#include <sys/eventfd.h> #include <sys/syscall.h> +#include <eal_symbol_exports.h> #include <rte_mbuf.h> #include <ethdev_driver.h> #include <rte_malloc.h>
@@ -40,9 +41,12 @@#define NUM_HOST_CPUS RTE_MAX_LCORE +RTE_EXPORT_INTERNAL_SYMBOL (dpaa2_io_portal) struct dpaa2_io_portal_t dpaa2_io_portal[RTE_MAX_LCORE]; +RTE_EXPORT_INTERNAL_SYMBOL (per_lcore__dpaa2_io)RTE_DEFINE_PER_LCORE (struct dpaa2_io_portal_t , _dpaa2_io); +RTE_EXPORT_INTERNAL_SYMBOL (rte_global_active_dqs_list) struct swp_active_dqs rte_global_active_dqs_list[NUM_MAX_SWP];TAILQ_HEAD (dpio_dev_list, dpaa2_dpio_dev);
@@ -51,11 +55,14 @@ static struct dpio_dev_list dpio_dev_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_symbol_exports.h> +/* QBMan portal management command code */ #define QBMAN_BP_QUERY 0x32#define QBMAN_FQ_QUERY 0x44
@@ -325,6 +327,7 @@ uint16_t qbman_fq_attr_get_opridsz(struct qbman_fq_query_rslt *r)return r->opridsz; } +RTE_EXPORT_INTERNAL_SYMBOL (qbman_fq_query_state) int qbman_fq_query_state(struct qbman_swp *s, uint32_t fqid,struct qbman_fq_query_np_rslt *r) {
@@ -382,6 +385,7 @@ int qbman_fq_state_overflow_error(const struct qbman_fq_query_np_rslt *r)return (int )((r->st1 &0x40 ) >>6 ); } +RTE_EXPORT_INTERNAL_SYMBOL (qbman_fq_state_frame_count) uint32_t qbman_fq_state_frame_count(const struct qbman_fq_query_np_rslt *r) {return (r->frm_cnt &0x00FFFFFF );
drivers/bus/fslmc/qbman/qbman_portal.c +43 -0
285 lines not on this page · raw message
drivers/bus/ifpga/ifpga_bus.c +4 -0
@@ -13,6 +13,7 @@#include <unistd.h> #include <fcntl.h> +#include <eal_symbol_exports.h> #include <rte_errno.h> #include <bus_driver.h> #include <rte_per_lcore.h>
@@ -44,6 +45,7 @@ static TAILQ_HEAD(, rte_afu_driver) ifpga_afu_drv_list =/* register a ifpga bus based driver */ +RTE_EXPORT_INTERNAL_SYMBOL (rte_ifpga_driver_register) void rte_ifpga_driver_register(struct rte_afu_driver *driver) {RTE_VERIFY (driver);
@@ -52,6 +54,7 @@ void rte_ifpga_driver_register(struct rte_afu_driver *driver) }/* un-register a fpga bus based driver */ +RTE_EXPORT_INTERNAL_SYMBOL (rte_ifpga_driver_unregister) void rte_ifpga_driver_unregister(struct rte_afu_driver *driver) {TAILQ_REMOVE (&ifpga_afu_drv_list, driver, next);
@@ -71,6 +74,7 @@ ifpga_find_afu_dev(const struct rte_rawdev *rdev,return NULL ; } +RTE_EXPORT_INTERNAL_SYMBOL (rte_ifpga_find_afu_by_name) struct rte_afu_device *rte_ifpga_find_afu_by_name (const char *name) {
drivers/bus/pci/bsd/pci.c +11 -0
@@ -39,6 +39,7 @@#include <rte_debug.h> #include <rte_devargs.h> +#include <eal_symbol_exports.h> #include "eal_filesystem.h" #include "private.h"
@@ -48,6 +49,7 @@*/ /* Map pci device */ +RTE_EXPORT_SYMBOL (rte_pci_map_device) 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_symbol_exports.h> #include "eal_filesystem.h" #include "private.h"
@@ -54,6 +55,7 @@ pci_get_kernel_driver_by_path(const char *filename, char *dri_name, }/* Map pci device */ +RTE_EXPORT_SYMBOL (rte_pci_map_device) 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_symbol_exports.h> #include <rte_errno.h> #include <rte_interrupts.h> #include <rte_log.h>
@@ -32,6 +33,7 @@#define SYSFS_PCI_DEVICES "/sys/bus/pci/devices" +RTE_EXPORT_INTERNAL_SYMBOL (rte_pci_get_sysfs_path) const char *rte_pci_get_sysfs_path(void) {const char *path =NULL ;
@@ -476,6 +478,7 @@ pci_dump_one_device(FILE *f, struct rte_pci_device *dev) }/* dump devices on the bus */ +RTE_EXPORT_SYMBOL (rte_pci_dump) 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_symbol_exports.h> #include <rte_windows.h> #include <rte_errno.h> #include <rte_log.h>
@@ -36,6 +37,7 @@ DEFINE_DEVPROPKEY(DEVPKEY_Device_Numa_Node, 0x540b947e, 0x8b40, 0x45bc,*/ /* Map pci device */ +RTE_EXPORT_SYMBOL (rte_pci_map_device) 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_symbol_exports.h> #include <eal_filesystem.h> #include <rte_bus.h> #include <rte_devargs.h>
@@ -28,12 +29,14 @@#define PLATFORM_BUS_DEVICES_PATH "/sys/bus/platform/devices" +RTE_EXPORT_INTERNAL_SYMBOL (rte_platform_register) 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_symbol_exports.h> #include <rte_bitops.h> #include <rte_common.h> #include <rte_devargs.h>
@@ -582,6 +583,7 @@ uacce_dev_iterate(const void *start, const char *str,return dev; } +RTE_EXPORT_INTERNAL_SYMBOL (rte_uacce_avail_queues) 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_symbol_exports.h> #include <rte_eal.h> #include <dev_driver.h> #include <bus_driver.h>
@@ -51,6 +52,7 @@ static struct vdev_custom_scans vdev_custom_scans =static rte_spinlock_t vdev_custom_scan_lock =RTE_SPINLOCK_INITIALIZER ;/* register a driver */ +RTE_EXPORT_INTERNAL_SYMBOL (rte_vdev_register) 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_symbol_exports.h> #include "eal_filesystem.h" #include "private.h"
@@ -164,6 +165,7 @@ static const char *map_names[VMBUS_MAX_RESOURCE] = {/* map the resources of a vmbus device in virtual memory */ +RTE_EXPORT_SYMBOL (rte_vmbus_map_device) 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_symbol_exports.h> #include <rte_eal.h> #include <rte_tailq.h> #include <rte_log.h>
@@ -47,6 +48,7 @@ vmbus_set_event(const struct vmbus_channel *chan)/* * Set the wait between when hypervisor examines the trigger. */ +RTE_EXPORT_SYMBOL(rte_vmbus_set_latency) void rte_vmbus_set_latency(const struct rte_vmbus_device *dev, const struct vmbus_channel *chan,
@@ -76,6 +78,7 @@ rte_vmbus_set_latency(const struct rte_vmbus_device *dev,* Since this in userspace, rely on the monitor page. * Can't do a hypercall from userspace. */ +RTE_EXPORT_SYMBOL (rte_vmbus_chan_signal_tx) 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_symbol_exports.h> #include <rte_log.h> #include <rte_eal.h> #include <rte_tailq.h>
@@ -191,6 +192,7 @@ vmbus_ignore_device(struct rte_vmbus_device *dev)* all registered drivers that have a matching entry in its id_table * for discovered devices. */ +RTE_EXPORT_SYMBOL (rte_vmbus_probe) 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_symbol_exports.h> #include <rte_udp.h> #include "roc_api.h"
@@ -301,6 +302,7 @@ ot_ipsec_inb_tunnel_hdr_fill(struct roc_ot_ipsec_inb_sa *sa,return 0 ; } +RTE_EXPORT_INTERNAL_SYMBOL(cnxk_ot_ipsec_inb_sa_fill) int cnxk_ot_ipsec_inb_sa_fill(struct roc_ot_ipsec_inb_sa *sa, struct rte_security_ipsec_xform *ipsec_xfrm,
@@ -410,6 +412,7 @@ cnxk_ot_ipsec_inb_sa_fill(struct roc_ot_ipsec_inb_sa *sa,return 0 ; } +RTE_EXPORT_INTERNAL_SYMBOL(cnxk_ot_ipsec_outb_sa_fill) int cnxk_ot_ipsec_outb_sa_fill(struct roc_ot_ipsec_outb_sa *sa, struct rte_security_ipsec_xform *ipsec_xfrm,
@@ -574,18 +577,21 @@ cnxk_ot_ipsec_outb_sa_fill(struct roc_ot_ipsec_outb_sa *sa,return 0 ; } +RTE_EXPORT_INTERNAL_SYMBOL (cnxk_ot_ipsec_inb_sa_valid) 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_symbol_exports.h> #include <rte_log.h> #include <rte_tm_driver.h>
@@ -9,6 +10,7 @@#include "cnxk_utils.h" +RTE_EXPORT_INTERNAL_SYMBOL (roc_nix_tm_err_to_rte_err) 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_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_symbol_exports.h> #include <rte_log.h> #include "roc_api.h"
@@ -242,6 +243,7 @@ plt_irq_unregister(struct plt_intr_handle *intr_handle, plt_intr_callback_fn cb,static int plt_init_cb_num;static roc_plt_init_cb_t plt_init_cbs[PLT_INIT_CB_MAX ]; +RTE_EXPORT_INTERNAL_SYMBOL (roc_plt_init_cb_register) 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_symbols.c new file +545 -0
545 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_symbol_exports.h> #include <rte_common.h> #include <rte_malloc.h>
@@ -1081,6 +1082,7 @@ static rte_spinlock_t lock = RTE_SPINLOCK_INITIALIZER;static uint8_t *fpm_table;static int nb_devs; +RTE_EXPORT_INTERNAL_SYMBOL (cpt_fpm_init) int cpt_fpm_init(uint64_t *fpm_table_iova) {int i, len =0 ;
@@ -1125,6 +1127,7 @@ int cpt_fpm_init(uint64_t *fpm_table_iova)return 0 ; } +RTE_EXPORT_INTERNAL_SYMBOL (cpt_fpm_clear) void cpt_fpm_clear(void) {rte_spinlock_lock (&lock);
drivers/common/cpt/cpt_pmd_ops_helper.c +4 -0
@@ -2,6 +2,7 @@* Copyright(c) 2018 Cavium, Inc */ +#include <eal_symbol_exports.h> #include <rte_common.h> #include "cpt_common.h"
@@ -14,6 +15,7 @@#define CPT_MAX_ASYM_OP_NUM_PARAMS 5#define CPT_MAX_ASYM_OP_MOD_LEN 1024 +RTE_EXPORT_INTERNAL_SYMBOL (cpt_pmd_ops_helper_get_mlen_direct_mode) int32_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_symbol_exports.h> +/* * SEC HW block revision. *
@@ -13,4 +15,5 @@* - SEC HW block revision format is "v" * - SEC revision format is "x.y" */ +RTE_EXPORT_INTERNAL_SYMBOL (rta_sec_era) enum rta_sec_era rta_sec_era;
drivers/common/dpaax/dpaa_of.c +13 -0
@@ -7,6 +7,7 @@#include <dpaa_of.h> #include <assert.h> +#include <eal_symbol_exports.h> #include <rte_string_fns.h> #include <dpaax_logs.h>
@@ -213,6 +214,7 @@ linear_dir(struct dt_dir *d) } } +RTE_EXPORT_INTERNAL_SYMBOL (of_init_path) 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_symbol_exports.h> #include <rte_memory.h> #include "dpaax_iova_table.h" #include "dpaax_logs.h" /* Global table reference */ +RTE_EXPORT_INTERNAL_SYMBOL (dpaax_iova_table_p) struct dpaax_iova_table *dpaax_iova_table_p;static int dpaax_handle_memevents (void );
@@ -153,6 +155,7 @@ read_memory_node(unsigned int *count)return nodes; } +RTE_EXPORT_INTERNAL_SYMBOL (dpaax_iova_table_populate) 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_symbol_exports.h> #include <rte_common.h> #include <rte_eal.h> #include <rte_string_fns.h>
@@ -103,6 +104,7 @@ uio_get_idx_for_devname(struct uio_name *name_cache, char *devname)return -1 ; } +RTE_EXPORT_INTERNAL_SYMBOL (ionic_uio_scan_mnet_devices) 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_symbol_exports.h> #include "eal_filesystem.h" #include "mlx5_common_utils.h"
@@ -18,6 +19,7 @@#define AUXILIARY_SYSFS_PATH "/sys/bus/auxiliary/devices"#define MLX5_AUXILIARY_PREFIX "mlx5_core.sf." +RTE_EXPORT_INTERNAL_SYMBOL (mlx5_auxiliary_get_child_name) 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_symbol_exports.h> #include <rte_errno.h> #include <rte_string_fns.h> #include <bus_pci_driver.h>
@@ -27,9 +28,11 @@#include "mlx5_glue.h" #ifdef MLX5_GLUE +RTE_EXPORT_INTERNAL_SYMBOL (mlx5_glue) const struct mlx5_glue *mlx5_glue;#endif +RTE_EXPORT_INTERNAL_SYMBOL (mlx5_get_pci_addr) 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_symbol_exports.h> #include <rte_errno.h> #include <rte_eal_paging.h>
@@ -105,6 +106,7 @@ mlx5_set_context_attr(struct rte_device *dev, struct ibv_context *ctx)* @return * 0 on successful registration, -1 otherwise */ +RTE_EXPORT_INTERNAL_SYMBOL (mlx5_common_verbs_reg_mr) 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_symbol_exports.h> +static int mlx5_glue_fork_init (void ) {
@@ -1578,6 +1580,7 @@ mlx5_glue_dv_destroy_steering_anchor(struct mlx5dv_steering_anchor *sa)#endif } +RTE_EXPORT_INTERNAL_SYMBOL (mlx5_glue) alignas(RTE_CACHE_LINE_SIZE ) const struct mlx5_glue *mlx5_glue = &(const struct mlx5_glue) { .version =MLX5_GLUE_VERSION ,
drivers/common/mlx5/linux/mlx5_nl.c +22 -0
@@ -17,6 +17,7 @@#include <sys/socket.h> #include <unistd.h> +#include <eal_symbol_exports.h> #include <rte_errno.h> #include "mlx5_nl.h"
@@ -195,6 +196,7 @@ RTE_ATOMIC(uint32_t) atomic_sn;* A file descriptor on success, a negative errno value otherwise and * rte_errno is set. */ +RTE_EXPORT_INTERNAL_SYMBOL (mlx5_nl_init) 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) int mlx5_nl_switch_info(int nl, unsigned int ifindex,
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 +6 -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_symbols.c new file +275 -0
275 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/dpaa2_symbols.c new file +8 -0
Lines of this file are not shown. View the raw message.
drivers/net/intel/iavf/iavf_symbols.c new file +13 -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.48.1
Part of the diff is not shown here. View the raw message.
Re: [PATCH v5 5/8] build: mark exported symbols
Quoted 11 lines · David Marchand
Annotate symbols with newly introduced export macros.
For code not compiled via
drivers/meson.build(think base drivers code), the exported symbols are added in some new .c listed in the sources so they get caught bydrivers/meson.build.Signed-off-by David Marchand <[email protected]>---
Changes since RFC v4:
- rebased and fixed mlx5 new export,
I missed exporting this symbol in the windows implementation.
Signature · 1 line
David Marchand
PATCH v5 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 | 2 +- devtools/update-abi.sh | 46 --- devtools/update_version_map_abi.py | 210 ------------ doc/guides/contributing/abi_policy.rst | 21 +- doc/guides/contributing/coding_style.rst | 7 - .../contributing/img/patch_cheatsheet.svg | 303 ++++++++---------- doc/guides/contributing/patches.rst | 6 +- drivers/meson.build | 74 ++--- lib/meson.build | 73 ++--- 17 files changed, 188 insertions(+), 931 deletions(-) delete mode 100644 buildtools/map_to_win.py delete mode 100755 devtools/check-symbol-change.sh delete mode 100755 devtools/check-symbol-maps.sh delete mode 100755 devtools/update-abi.sh delete mode 100755 devtools/update_version_map_abi.py
.github/workflows/build.yml +0 -1
@@ -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 +1 -1
@@ -9,7 +9,7 @@ # - DPDK_CHECKPATCH_OPTIONS . $(dirname $(readlink -f $0))/load-devel-config -VALIDATE_NEW_API=$(dirname $(readlink -f $0))/check-symbol-change.sh +VALIDATE_NEW_API=$(dirname $(readlink -f $0))/check-symbol-change.py # Enable codespell by default. This can be overwritten from a config file. # Codespell can also be enabled by setting DPDK_CHECKPATCH_CODESPELL to a valid path
devtools/update-abi.sh deleted +0 -46
46 lines not on this page · raw message
devtools/update_version_map_abi.py deleted +0 -210
210 lines not on this page · raw message
doc/guides/contributing/abi_policy.rst +2 -19
@@ -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 +20 -54
96 lines not on this page · raw message
lib/meson.build +19 -54
96 lines not on this page · raw message
Signature · 1 line
2.48.1
Re: [PATCH v5 6/8] build: use dynamically generated version maps
Quoted 7 lines · David Marchand
Switch to dynamically generated version maps.
As the map files get generated, tooling around checking, converting, updating etc.. static version maps can be removed.
Signed-off-by David Marchand <[email protected]>---
Just a minor (non-blocking) nit below.
Otherwise,
Quoted 833 lines
.github/workflows/build.yml | 1 - MAINTAINERS | 7 - buildtools/check-symbols.sh | 33 +- buildtools/map-list-symbol.sh | 7 +- buildtools/map_to_win.py | 41 --- buildtools/meson.build | 1 - devtools/check-symbol-change.sh | 186 ----------- devtools/check-symbol-maps.sh | 101 ------ devtools/checkpatches.sh | 2 +- devtools/update-abi.sh | 46 --- devtools/update_version_map_abi.py | 210 ------------ doc/guides/contributing/abi_policy.rst | 21 +- doc/guides/contributing/coding_style.rst | 7 - .../contributing/img/patch_cheatsheet.svg | 303 ++++++++---------- doc/guides/contributing/patches.rst | 6 +- drivers/meson.build | 74 ++--- lib/meson.build | 73 ++--- 17 files changed, 188 insertions(+), 931 deletions(-) delete mode 100644 buildtools/map_to_win.py delete mode 100755 devtools/check-symbol-change.sh delete mode 100755 devtools/check-symbol-maps.sh delete mode 100755 devtools/update-abi.sh delete mode 100755 devtools/update_version_map_abi.py.github/workflows/build.yml +0
-1@@ -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 allocationbuildtools/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@@ -1,41 +0,0 @@ -#!/usr/bin/env python3 -# SPDX-License-Identifier: BSD-3-Clause -# Copyright(c) 2019 Intel Corporation - -import sys - - -def is_function_line(ln): - return ln.startswith('\t') and ln.endswith(';\n') and ":" not in ln and "# WINDOWS_NO_EXPORT" not in ln - -# MinGW keeps the original .map file but replaces per_lcore* to __emutls_v.per_lcore* -def create_mingw_map_file(input_map, output_map): - with open(input_map) as f_in, open(output_map, 'w') as f_out: - f_out.writelines([lines.replace('per_lcore', '__emutls_v.per_lcore') for lines in f_in.readlines()]) - -def main(args): - if not args[1].endswith('version.map') or \ - not args[2].endswith('exports.def') and \ - not args[2].endswith('mingw.map'): - return 1 - - if args[2].endswith('mingw.map'): - create_mingw_map_file(args[1], args[2]) - return 0 - -# generate def file from map file. -# This works taking indented lines only which end with a ";" and which don't -# have a colon in them, i.e. the lines defining functions only. - else: - with open(args[1]) as f_in: - functions = [ln[:-2] + '\n' for ln in sorted(f_in.readlines()) - if is_function_line(ln)] - functions = ["EXPORTS\n"] + functions - - with open(args[2], 'w') as f_out: - f_out.writelines(functions) - return 0 - - -if __name__ == "__main__": - sys.exit(main(sys.argv))buildtools/meson.build +0
-1@@ -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@@ -1,186 +0,0 @@ -#!/bin/sh -# SPDX-License-Identifier: BSD-3-Clause -# Copyright(c) 2018 Neil Horman <[email protected]> - -build_map_changes() -{ - local fname="$1" - local mapdb="$2" - - cat "$fname" | awk ' - # Initialize our variables - BEGIN {map="";sym="";ar="";sec=""; in_sec=0; in_map=0} - - # Anything that starts with + or -, followed by an a - # and ends in the string .map is the name of our map file - # This may appear multiple times in a patch if multiple - # map files are altered, and all section/symbol names - # appearing between a triggering of this rule and the - # next trigger of this rule are associated with this file - /[-+] [ab]\/.*\.map/ {map=$2; in_map=1; next} - - # The previous rule catches all .map files, anything else - # indicates we left the map chunk. - /[-+] [ab]\// {in_map=0} - - # Triggering this rule, which starts a line and ends it - # with a { identifies a versioned section. The section name is - # the rest of the line with the + and { symbols removed. - # Triggering this rule sets in_sec to 1, which actives the - # symbol rule below - /^.*{/ { - gsub("+", ""); - if (in_map == 1) { - sec=$(NF-1); in_sec=1; - } - } - - # This rule identifies the end of a section, and disables the - # symbol rule - /.*}/ {in_sec=0} - - # This rule matches on a + followed by any characters except a : - # (which denotes a global vs local segment), and ends with a ;. - # The semicolon is removed and the symbol is printed with its - # association file name and version section, along with an - # indicator that the symbol is a new addition. Note this rule - # only works if we have found a version section in the rule - # above (hence the in_sec check) And found a map file (the - # in_map check). If we are not in a map chunk, do nothing. If - # we are in a map chunk but not a section chunk, record it as - # unknown. - /^+[^}].*[^:*];/ {gsub(";","");sym=$2; - if (in_map == 1) { - if (in_sec == 1) { - print map " " sym " " sec " add" - } else { - print map " " sym " unknown add" - } - } - } - - # This is the same rule as above, but the rule matches on a - # leading - rather than a +, denoting that the symbol is being - # removed. - /^-[^}].*[^:*];/ {gsub(";","");sym=$2; - if (in_map == 1) { - if (in_sec == 1) { - print map " " sym " " sec " del" - } else { - print map " " sym " unknown del" - } - } - }' > "$mapdb" - - sort -u "$mapdb" > "$mapdb.2" - mv -f "$mapdb.2" "$mapdb" - -} - -is_stable_section() { - [ "$1" != 'EXPERIMENTAL' ] && [ "$1" != 'INTERNAL' ] -} - -check_for_rule_violations() -{ - local mapdb="$1" - local mname - local symname - local secname - local ar - local ret=0 - - while read mname symname secname ar - do - if [ "$ar" = "add" ] - then - - if [ "$secname" = "unknown" ] - then - # Just inform the user of this occurrence, but - # don't flag it as an error - echo -n "INFO: symbol $symname is added but " - echo -n "patch has insufficient context " - echo -n "to determine the section name " - echo -n "please ensure the version is " - echo "EXPERIMENTAL" - continue - fi - - oldsecname=$(sed -n \ - "s#$mname $symname \(.*\) del#\1#p" "$mapdb") - - # A symbol can not enter a stable section directly - if [ -z "$oldsecname" ] - then - if ! is_stable_section $secname - then - echo -n "INFO: symbol $symname has " - echo -n "been added to the " - echo -n "$secname section of the " - echo "version map" - continue - else - echo -n "ERROR: symbol $symname " - echo -n "is added in the $secname " - echo -n "section, but is expected to " - echo -n "be added in the EXPERIMENTAL " - echo "section of the version map" - ret=1 - continue - fi - fi - - # This symbol is moving inside a section, nothing to do - if [ "$oldsecname" = "$secname" ] - then - continue - fi - - # This symbol is moving between two sections (the - # original section is a stable section). - # This can be legit, just warn. - if is_stable_section $oldsecname - then - echo -n "INFO: symbol $symname is being " - echo -n "moved from $oldsecname to $secname. " - echo -n "Ensure that it has gone through the " - echo "deprecation process" - continue - fi - else - - if ! grep -q "$mname $symname .* add" "$mapdb" && \ - is_stable_section $secname - then - # Just inform users that stable - # symbols need to go through a deprecation - # process - echo -n "INFO: symbol $symname is being " - echo -n "removed, ensure that it has " - echo "gone through the deprecation process" - fi - fi - done < "$mapdb" - - return $ret -} - -trap clean_and_exit_on_sig EXIT - -mapfile=`mktemp -t dpdk.mapdb.XXXXXX` -patch=$1 -exit_code=1 - -clean_and_exit_on_sig() -{ - rm -f "$mapfile" - exit $exit_code -} - -build_map_changes "$patch" "$mapfile" -check_for_rule_violations "$mapfile" -exit_code=$? -rm -f "$mapfile" - -exit $exit_codedevtools/check-symbol-maps.sh deleted +0
-101@@ -1,101 +0,0 @@ -#! /bin/sh -e -# SPDX-License-Identifier: BSD-3-Clause -# Copyright 2018 Mellanox Technologies, Ltd - -cd $(dirname $0)/.. - -# speed up by ignoring Unicode details -export LC_ALL=C - -if [ $# = 0 ] ; then - set -- $(find lib drivers -name '*.map' -a ! -path drivers/version.map) -fi - -ret=0 - -find_orphan_symbols () -{ - for map in $@ ; do - for sym in $(sed -rn 's,^([^}]*_.*);.*$,\1,p' $map) ; do - if echo $sym | grep -q '^per_lcore_' ; then - symsrc=${sym#per_lcore_} - elif echo $sym | grep -q '^__rte_.*_trace_' ; then - symsrc=${sym#__} - else - symsrc=$sym - fi - if [ -z "$(grep -rlw $symsrc $(dirname $map) | grep -v $map)" ] ; then - echo "$map: $sym" - fi - done - done -} - -orphan_symbols=$(find_orphan_symbols $@) -if [ -n "$orphan_symbols" ] ; then - echo "Found only in symbol map file:" - echo "$orphan_symbols" | sed 's,^,\t,' - ret=1 -fi - -find_duplicate_symbols () -{ - for map in $@ ; do - buildtools/map-list-symbol.sh $map | \ - sort | uniq -c | grep -v " 1 $map" || true - done -} - -duplicate_symbols=$(find_duplicate_symbols $@) -if [ -n "$duplicate_symbols" ] ; then - echo "Found duplicates in symbol map file:" - echo "$duplicate_symbols" - ret=1 -fi - -local_miss_maps=$(grep -L 'local: \*;' $@ || true) -if [ -n "$local_miss_maps" ] ; then - echo "Found maps without local catch-all:" - echo "$local_miss_maps" - ret=1 -fi - -find_bad_format_maps () -{ - abi_version=$(cut -d'.' -f 1 ABI_VERSION) - next_abi_version=$((abi_version + 1)) - for map in $@ ; do - cat $map | awk ' - /^(DPDK_('$abi_version'|'$next_abi_version')|EXPERIMENTAL|INTERNAL) \{$/ { next; } # start of a section - /^}( DPDK_'$abi_version')?;$/ { next; } # end of a section - /^$/ { next; } # empty line - /^\t(global:|local: \*;)$/ { next; } # qualifiers - /^\t[a-zA-Z_0-9]*;( # WINDOWS_NO_EXPORT)?$/ { next; } # symbols - /^\t# added in [0-9]*\.[0-9]*$/ { next; } # version comments - { print $0; }' || echo $map - done -} - -bad_format_maps=$(find_bad_format_maps $@) -if [ -n "$bad_format_maps" ] ; then - echo "Found badly formatted maps:" - echo "$bad_format_maps" - ret=1 -fi - -find_non_versioned_maps () -{ - for map in $@ ; do - [ $(buildtools/map-list-symbol.sh -S EXPERIMENTAL -V unset $map | wc -l) = '0' ] || - echo $map - done -} - -non_versioned_maps=$(find_non_versioned_maps $@) -if [ -n "$non_versioned_maps" ] ; then - echo "Found non versioned maps:" - echo "$non_versioned_maps" - ret=1 -fi - -exit $retdevtools/checkpatches.sh +1
-1@@ -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 pathdevtools/update-abi.sh deleted +0
-46@@ -1,46 +0,0 @@ -#!/bin/sh -e -# SPDX-License-Identifier: BSD-3-Clause -# Copyright(c) 2019 Intel Corporation - -abi_version=$1 -abi_version_file="./ABI_VERSION" -update_path="lib drivers" - -# check ABI version format string -check_abi_version() { - echo $1 | grep -q -e "^[[:digit:]]\{1,2\}\.[[:digit:]]\{1,2\}$" -} - -if [ -z "$1" ]; then - # output to stderr - >&2 echo "Please provide ABI version" - exit 1 -fi - -# check version string format -if ! check_abi_version $abi_version ; then - # output to stderr - >&2 echo "ABI version must be formatted as MAJOR.MINOR version" - exit 1 -fi - -if [ -n "$2" ]; then - abi_version_file=$2 -fi - -if [ -n "$3" ]; then - # drop $1 and $2 - shift 2 - # assign all other arguments as update paths - update_path=$@ -fi - -echo "New ABI version:" $abi_version -echo "ABI_VERSION path:" $abi_version_file -echo "Path to update:" $update_path - -echo $abi_version > $abi_version_file - -find $update_path -name version.map -exec \ - devtools/update_version_map_abi.py {} \ - $abi_version \; -printdevtools/update_version_map_abi.py deleted +0
-210@@ -1,210 +0,0 @@ -#!/usr/bin/env python3 -# SPDX-License-Identifier: BSD-3-Clause -# Copyright(c) 2019 Intel Corporation - -""" -A Python program that updates and merges all available stable ABI versions into -one ABI version, while leaving experimental ABI exactly as it is. The intended -ABI version is supplied via command-line parameter. This script is to be called -from the devtools/update-abi.sh utility. -""" - -import argparse -import sys -import re - - -def __parse_map_file(f_in): - # match function name, followed by semicolon, followed by EOL or comments, - # optionally with whitespace in between each item - func_line_regex = re.compile(r"\s*" - r"(?P<line>" - r"(?P<func>[a-zA-Z_0-9]+)" - r"\s*" - r";" - r"\s*" - r"(?P<comment>#.+)?" - r")" - r"\s*" - r"$") - # match section name, followed by opening bracked, followed by EOL, - # optionally with whitespace in between each item - section_begin_regex = re.compile(r"\s*" - r"(?P<version>[a-zA-Z0-9_\.]+)" - r"\s*" - r"{" - r"\s*" - r"$") - # match closing bracket, optionally followed by section name (for when we - # inherit from another ABI version), followed by semicolon, followed by - # EOL, optionally with whitespace in between each item - section_end_regex = re.compile(r"\s*" - r"}" - r"\s*" - r"(?P<parent>[a-zA-Z0-9_\.]+)?" - r"\s*" - r";" - r"\s*" - r"$") - - # for stable ABI, we don't care about which version introduced which - # function, we just flatten the list. there are dupes in certain files, so - # use a set instead of a list - stable_lines = set() - # copy experimental section as is - experimental_lines = [] - # copy internal section as is - internal_lines = [] - in_experimental = False - in_internal = False - has_stable = False - - # gather all functions - for line in f_in: - # clean up the line - line = line.strip('\n').strip() - - # is this an end of section? - match = section_end_regex.match(line) - if match: - # whatever section this was, it's not active any more - in_experimental = False - in_internal = False - continue - - # if we're in the middle of experimental section, we need to copy - # the section verbatim, so just add the line - if in_experimental: - experimental_lines += [line] - continue - - # if we're in the middle of internal section, we need to copy - # the section verbatim, so just add the line - if in_internal: - internal_lines += [line] - continue - - # skip empty lines - if not line: - continue - - # is this a beginning of a new section? - match = section_begin_regex.match(line) - if match: - cur_section = match.group("version") - # is it experimental? - in_experimental = cur_section == "EXPERIMENTAL" - # is it internal? - in_internal = cur_section == "INTERNAL" - if not in_experimental and not in_internal: - has_stable = True - continue - - # is this a function? - match = func_line_regex.match(line) - if match: - stable_lines.add(match.group("line")) - - return has_stable, stable_lines, experimental_lines, internal_lines - - -def __generate_stable_abi(f_out, abi_major, lines): - # print ABI version header - print("DPDK_{} {{".format(abi_major), file=f_out) - - # print global section if it exists - if lines: - print("\tglobal:", file=f_out) - # blank line - print(file=f_out) - - # print all stable lines, alphabetically sorted - for line in sorted(lines): - print("\t{}".format(line), file=f_out) - - # another blank line - print(file=f_out) - - # print local section - print("\tlocal: *;", file=f_out) - - # end stable version - print("};", file=f_out) - - -def __generate_experimental_abi(f_out, lines): - # start experimental section - print("EXPERIMENTAL {", file=f_out) - - # print all experimental lines as they were - for line in lines: - # don't print empty whitespace - if not line: - print("", file=f_out) - else: - print("\t{}".format(line), file=f_out) - - # end section - print("};", file=f_out) - -def __generate_internal_abi(f_out, lines): - # start internal section - print("INTERNAL {", file=f_out) - - # print all internal lines as they were - for line in lines: - # don't print empty whitespace - if not line: - print("", file=f_out) - else: - print("\t{}".format(line), file=f_out) - - # end section - print("};", file=f_out) - -def __main(): - arg_parser = argparse.ArgumentParser( - description='Merge versions in linker version script.') - - arg_parser.add_argument("map_file", type=str, - help='path to linker version script file ' - '(pattern: version.map)') - arg_parser.add_argument("abi_version", type=str, - help='target ABI version (pattern: MAJOR.MINOR)') - - parsed = arg_parser.parse_args() - - if not parsed.map_file.endswith('version.map'): - print("Invalid input file: {}".format(parsed.map_file), - file=sys.stderr) - arg_parser.print_help() - sys.exit(1) - - if not re.match(r"\d{1,2}\.\d{1,2}", parsed.abi_version): - print("Invalid ABI version: {}".format(parsed.abi_version), - file=sys.stderr) - arg_parser.print_help() - sys.exit(1) - abi_major = parsed.abi_version.split('.')[0] - - with open(parsed.map_file) as f_in: - has_stable, stable_lines, experimental_lines, internal_lines = __parse_map_file(f_in) - - with open(parsed.map_file, 'w') as f_out: - need_newline = has_stable and experimental_lines - if has_stable: - __generate_stable_abi(f_out, abi_major, stable_lines) - if need_newline: - # separate sections with a newline - print(file=f_out) - if experimental_lines: - __generate_experimental_abi(f_out, experimental_lines) - if internal_lines: - if has_stable or experimental_lines: - # separate sections with a newline - print(file=f_out) - __generate_internal_abi(f_out, internal_lines) - - -if __name__ == "__main__": - __main()doc/guides/contributing/abi_policy.rst +0
-0
doc/guides/contributing/abi_policy.rst become part of a tracked ABI version. · line 334
Quoted 7 lines
doc/guides/contributing/abi_policy.rst +2
-2@@ -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.
When reading through, this line stuck out as getting very long (92 characters). I know it's .rst file so generally more like a markup language, but maybe consider breaking ~79 characters region. If you agree, it's okay for this to be on apply.
Quoted 647 lines
doc/guides/contributing/abi_policy.rst +0
-17Experimental 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-builtdoc/guides/contributing/img/patch_cheatsheet.svg +136
-167@@ -1,18 +1,18 @@ <?xml version="1.0" encoding="UTF-8" standalone="no"?> <svg - xmlns:dc="http://purl.org/dc/elements/1.1/" - xmlns:cc="http://creativecommons.org/ns#" - xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" - xmlns:svg="http://www.w3.org/2000/svg" - xmlns="http://www.w3.org/2000/svg" - xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" - xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" version="1.1" width="210mm" height="297mm" id="svg2985" - inkscape:version="1.0.1 (3bc2e813f5, 2020-09-07)" - sodipodi:docname="patch_cheatsheet.svg"> + inkscape:version="1.4 (e7c3feb100, 2024-10-09)" + sodipodi:docname="patch_cheatsheet.svg" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns="http://www.w3.org/2000/svg" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:dc="http://purl.org/dc/elements/1.1/"> <sodipodi:namedview pagecolor="#ffffff" bordercolor="#666666"@@ -23,18 +23,22 @@ inkscape:pageopacity="0" inkscape:pageshadow="2" inkscape:window-width="1920" - inkscape:window-height="1017" + inkscape:window-height="975" id="namedview274" showgrid="false" inkscape:zoom="0.89702958" - inkscape:cx="246.07409" - inkscape:cy="416.76022" - inkscape:window-x="1072" - inkscape:window-y="-8" + inkscape:cx="546.24732" + inkscape:cy="385.71749" + inkscape:window-x="0" + inkscape:window-y="0" inkscape:window-maximized="1" inkscape:current-layer="layer1" inkscape:document-rotation="0" - inkscape:snap-grids="false" /> + inkscape:snap-grids="false" + inkscape:showpageshadow="2" + inkscape:pagecheckerboard="0" + inkscape:deskcolor="#d1d1d1" + inkscape:document-units="mm" /> <defs id="defs3"> <linearGradient@@ -906,7 +910,7 @@ style="font-style:normal;font-variant:normal;font-weight:300;font-stretch:normal;font-size:11.5613px;line-height:125%;font-family:monospace;-inkscape-font-specification:'Monospace Bold';text-align:start;writing-mode:lr-tb;text-anchor:start" id="tspan4092-8-7-6-9-7" y="855.79816" - x="460.18405">****</tspan></text> + x="460.18405">***</tspan></text> </g> </g> <text@@ -1132,161 +1136,126 @@ id="tspan4092-8-6-3-1-8-4-4-55-7" style="font-style:normal;font-variant:normal;font-weight:300;font-stretch:normal;font-size:13px;line-height:125%;font-family:monospace;-inkscape-font-specification:'Monospace Bold';text-align:start;writing-mode:lr-tb;text-anchor:start">*</tspan></text> </g> + <text + x="424.10629" + y="363.21423" + id="text4090-8" + xml:space="preserve" + style="font-style:normal;font-weight:normal;font-size:40.4213px;line-height:0%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1.01053" + transform="scale(1.0105317,0.98957807)"><tspan + x="424.10629" + y="363.21423" + id="tspan4092-8" + style="font-style:normal;font-variant:normal;font-weight:300;font-stretch:normal;font-size:21.2212px;line-height:125%;font-family:monospace;-inkscape-font-specification:'Monospace Bold';text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:1.01053">+ Rebase to git </tspan></text> + <text + x="424.10629" + y="393.60123" + id="text4090-8-5" + xml:space="preserve" + style="font-style:normal;font-weight:normal;font-size:40.4213px;line-height:0%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1.01053" + transform="scale(1.0105317,0.98957807)"><tspan + x="424.10629" + y="393.60123" + id="tspan4092-8-5" + style="font-style:normal;font-variant:normal;font-weight:300;font-stretch:normal;font-size:21.2212px;line-height:125%;font-family:monospace;-inkscape-font-specification:'Monospace Bold';text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:1.01053">+ Checkpatch </tspan></text> + <text + x="424.10629" + y="424.20575" + id="text4090-8-5-6" + xml:space="preserve" + style="font-style:normal;font-weight:normal;font-size:40.4213px;line-height:0%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1.01053" + transform="scale(1.0105317,0.98957807)"><tspan + x="424.10629" + y="424.20575" + id="tspan4092-8-5-5" + style="font-style:normal;font-variant:normal;font-weight:300;font-stretch:normal;font-size:21.2212px;line-height:125%;font-family:monospace;-inkscape-font-specification:'Monospace Bold';text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:1.01053">+ ABI breakage </tspan></text> + <text + x="424.10629" + y="453.10339" + id="text4090-8-5-6-9-4" + xml:space="preserve" + style="font-style:normal;font-weight:normal;font-size:40.4213px;line-height:0%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1.01053" + transform="scale(1.0105317,0.98957807)"><tspan + x="424.10629" + y="453.10339" + id="tspan4092-8-5-5-3-4" + style="font-style:normal;font-variant:normal;font-weight:300;font-stretch:normal;font-size:21.2212px;line-height:125%;font-family:monospace;-inkscape-font-specification:'Monospace Bold';text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:1.01053">+ Maintainers file</tspan></text> + <text + x="424.10629" + y="514.09497" + id="text4090-8-5-6-9-4-6" + xml:space="preserve" + style="font-style:normal;font-weight:normal;font-size:40.4213px;line-height:0%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1.01053" + transform="scale(1.0105317,0.98957807)"><tspan + x="424.10629" + y="514.09497" + id="tspan4092-8-5-5-3-4-0" + style="font-style:normal;font-variant:normal;font-weight:300;font-stretch:normal;font-size:21.2212px;line-height:125%;font-family:monospace;-inkscape-font-specification:'Monospace Bold';text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:1.01053">+ Release notes</tspan></text> + <text + x="425.12708" + y="544.91718" + id="text4090-8-5-6-9-4-6-6" + xml:space="preserve" + style="font-style:normal;font-weight:normal;font-size:40.4213px;line-height:0%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1.01053" + transform="scale(1.0105317,0.98957807)"><tspan + x="425.12708" + y="544.91718" + id="tspan4092-8-5-5-3-4-0-6" + style="font-style:normal;font-variant:normal;font-weight:300;font-stretch:normal;font-size:21.2212px;line-height:125%;font-family:monospace;-inkscape-font-specification:'Monospace Bold';text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:1.01053">+ Documentation</tspan></text> <g - transform="translate(1.0962334,-2.7492248)" - id="g3605"> - <text - x="42.176418" - y="1020.4383" - id="text4090-8-7-8-7-6-3-8-4" - xml:space="preserve" - style="font-style:normal;font-variant:normal;font-weight:300;font-stretch:normal;font-size:13px;line-height:0%;font-family:monospace;-inkscape-font-specification:'Monospace Bold';text-align:start;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none"><tspan - x="42.176418" - y="1020.4383" - id="tspan4092-8-6-3-1-8-4-4-55" - style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:125%;font-family:monospace;-inkscape-font-specification:Monospace;text-align:start;writing-mode:lr-tb;text-anchor:start">The version.map function names must be in alphabetical order.</tspan></text> - <text - x="30.942892" - y="1024.2014" - id="text4090-8-7-8-7-6-3-8-4-1-5" - xml:space="preserve" - style="font-style:normal;font-variant:normal;font-weight:300;font-stretch:normal;font-size:13px;line-height:0%;font-family:monospace;-inkscape-font-specification:'Monospace Bold';text-align:start;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none"><tspan - x="30.942892" - y="1024.2014" - id="tspan4092-8-6-3-1-8-4-4-55-7-2" - style="font-style:normal;font-variant:normal;font-weight:300;font-stretch:normal;font-size:13px;line-height:125%;font-family:monospace;-inkscape-font-specification:'Monospace Bold';text-align:start;writing-mode:lr-tb;text-anchor:start">*</tspan></text> - <text - x="25.247679" - y="1024.2014" - id="text4090-8-7-8-7-6-3-8-4-1-5-6" - xml:space="preserve" - style="font-style:normal;font-variant:normal;font-weight:300;font-stretch:normal;font-size:13px;line-height:0%;font-family:monospace;-inkscape-font-specification:'Monospace Bold';text-align:start;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none"><tspan - x="25.247679" - y="1024.2014" - id="tspan4092-8-6-3-1-8-4-4-55-7-2-8" - style="font-style:normal;font-variant:normal;font-weight:300;font-stretch:normal;font-size:13px;line-height:125%;font-family:monospace;-inkscape-font-specification:'Monospace Bold';text-align:start;writing-mode:lr-tb;text-anchor:start">*</tspan></text> - </g> - <g - transform="matrix(1.0211743,0,0,1,25.427515,-30.749225)" - id="g3275"> + transform="matrix(1.0211743,0,0,1,25.427515,-31.583927)" + id="g3334"> <g - id="g3341"> + id="g3267" + transform="translate(-13.517932,3.1531035)"> <text - x="394.78601" - y="390.17807" - id="text4090-8" - xml:space="preserve" - style="font-style:normal;font-weight:normal;font-size:40px;line-height:0%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none"><tspan - x="394.78601" - y="390.17807" - id="tspan4092-8" - style="font-style:normal;font-variant:normal;font-weight:300;font-stretch:normal;font-size:21px;line-height:125%;font-family:monospace;-inkscape-font-specification:'Monospace Bold';text-align:start;writing-mode:lr-tb;text-anchor:start">+ Rebase to git </tspan></text> - <text - x="394.78601" - y="420.24835" - id="text4090-8-5" + x="660.46729" + y="468.01297" + id="text4090-8-1-8-9-1-4-1" xml:space="preserve" - style="font-style:normal;font-weight:normal;font-size:40px;line-height:0%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none"><tspan - x="394.78601" - y="420.24835" - id="tspan4092-8-5" - style="font-style:normal;font-variant:normal;font-weight:300;font-stretch:normal;font-size:21px;line-height:125%;font-family:monospace;-inkscape-font-specification:'Monospace Bold';text-align:start;writing-mode:lr-tb;text-anchor:start">+ Checkpatch </tspan></text> - <text - x="394.78601" - y="450.53394" - id="text4090-8-5-6" - xml:space="preserve" - style="font-style:normal;font-weight:normal;font-size:40px;line-height:0%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none"><tspan - x="394.78601" - y="450.53394" - id="tspan4092-8-5-5" - style="font-style:normal;font-variant:normal;font-weight:300;font-stretch:normal;font-size:21px;line-height:125%;font-family:monospace;-inkscape-font-specification:'Monospace Bold';text-align:start;writing-mode:lr-tb;text-anchor:start">+ ABI breakage </tspan></text> - <text + style="font-style:normal;font-weight:normal;font-size:25.6917px;line-height:0%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none"><tspan + x="660.46729" + y="468.01297" + id="tspan4092-8-7-6-9-7-0-7" + style="font-style:normal;font-variant:normal;font-weight:300;font-stretch:normal;font-size:11.5613px;line-height:125%;font-family:monospace;-inkscape-font-specification:'Monospace Bold';text-align:start;writing-mode:lr-tb;text-anchor:start" /></text> + </g> + <text + x="394.78601" + y="483.59955" + id="text4090-8-5-6-9" + xml:space="preserve" + style="font-style:normal;font-weight:normal;font-size:40px;line-height:0%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none"><tspan x="394.78601" - y="513.13031" - id="text4090-8-5-6-9-4" - xml:space="preserve" - style="font-style:normal;font-weight:normal;font-size:40px;line-height:0%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none"><tspan - x="394.78601" - y="513.13031" - id="tspan4092-8-5-5-3-4" - style="font-style:normal;font-variant:normal;font-weight:300;font-stretch:normal;font-size:21px;line-height:125%;font-family:monospace;-inkscape-font-specification:'Monospace Bold';text-align:start;writing-mode:lr-tb;text-anchor:start">+ Maintainers file</tspan></text> - <text + y="483.59955" + id="tspan4092-8-5-5-3" + style="font-style:normal;font-variant:normal;font-weight:300;font-stretch:normal;font-size:21px;line-height:125%;font-family:monospace;-inkscape-font-specification:'Monospace Bold';text-align:start;writing-mode:lr-tb;text-anchor:start" /></text> + </g> + <g + id="g3428" + transform="matrix(1.0211743,0,0,1,25.427515,-63.867847)"> + <text + x="394.78601" + y="541.38928" + id="text4090-8-5-6-9-4-6-1" + xml:space="preserve" + style="font-style:normal;font-weight:normal;font-size:40px;line-height:0%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none"><tspan x="394.78601" - y="573.48621" - id="text4090-8-5-6-9-4-6" - xml:space="preserve" - style="font-style:normal;font-weight:normal;font-size:40px;line-height:0%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none"><tspan - x="394.78601" - y="573.48621" - id="tspan4092-8-5-5-3-4-0" - style="font-style:normal;font-variant:normal;font-weight:300;font-stretch:normal;font-size:21px;line-height:125%;font-family:monospace;-inkscape-font-specification:'Monospace Bold';text-align:start;writing-mode:lr-tb;text-anchor:start">+ Release notes</tspan></text> + y="541.38928" + id="tspan4092-8-5-5-3-4-0-7" + style="font-style:normal;font-variant:normal;font-weight:300;font-stretch:normal;font-size:21px;line-height:125%;font-family:monospace;-inkscape-font-specification:'Monospace Bold';text-align:start;writing-mode:lr-tb;text-anchor:start">+ Doxygen</tspan></text> + <g + transform="translate(-119.92979,57.949844)" + id="g3267-9"> <text - x="395.79617" - y="603.98718" - id="text4090-8-5-6-9-4-6-6" + x="628.93628" + y="473.13675" + id="text4090-8-1-8-9-1-4-1-4" xml:space="preserve" - style="font-style:normal;font-weight:normal;font-size:40px;line-height:0%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none"><tspan - x="395.79617" - y="603.98718" - id="tspan4092-8-5-5-3-4-0-6" - style="font-style:normal;font-variant:normal;font-weight:300;font-stretch:normal;font-size:21px;line-height:125%;font-family:monospace;-inkscape-font-specification:'Monospace Bold';text-align:start;writing-mode:lr-tb;text-anchor:start">+ Documentation</tspan></text> - <g - transform="translate(0,-0.83470152)" - id="g3334"> - <g - id="g3267" - transform="translate(-13.517932,3.1531035)"> - <text - x="660.46729" - y="468.01297" - id="text4090-8-1-8-9-1-4-1" - xml:space="preserve" - style="font-style:normal;font-weight:normal;font-size:25.6917px;line-height:0%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none"><tspan - x="660.46729" - y="468.01297" - id="tspan4092-8-7-6-9-7-0-7" - style="font-style:normal;font-variant:normal;font-weight:300;font-stretch:normal;font-size:11.5613px;line-height:125%;font-family:monospace;-inkscape-font-specification:'Monospace Bold';text-align:start;writing-mode:lr-tb;text-anchor:start">**</tspan></text> - </g> - <text - x="394.78601" - y="483.59955" - id="text4090-8-5-6-9" - xml:space="preserve" - style="font-style:normal;font-weight:normal;font-size:40px;line-height:0%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none"><tspan - x="394.78601" - y="483.59955" - id="tspan4092-8-5-5-3" - style="font-style:normal;font-variant:normal;font-weight:300;font-stretch:normal;font-size:21px;line-height:125%;font-family:monospace;-inkscape-font-specification:'Monospace Bold';text-align:start;writing-mode:lr-tb;text-anchor:start">+ Update version.map</tspan></text> - </g> - <g - id="g3428" - transform="translate(0,0.88137813)"> - <text - x="394.78601" - y="541.38928" - id="text4090-8-5-6-9-4-6-1" - xml:space="preserve" - style="font-style:normal;font-weight:normal;font-size:40px;line-height:0%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none"><tspan - x="394.78601" - y="541.38928" - id="tspan4092-8-5-5-3-4-0-7" - style="font-style:normal;font-variant:normal;font-weight:300;font-stretch:normal;font-size:21px;line-height:125%;font-family:monospace;-inkscape-font-specification:'Monospace Bold';text-align:start;writing-mode:lr-tb;text-anchor:start">+ Doxygen</tspan></text> - <g - transform="translate(-119.92979,57.949844)" - id="g3267-9"> - <text - x="628.93628" - y="473.13675" - id="text4090-8-1-8-9-1-4-1-4" - xml:space="preserve" - style="font-style:normal;font-weight:normal;font-size:25.6917px;line-height:0%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none"><tspan - x="628.93628" - y="473.13675" - id="tspan4092-8-7-6-9-7-0-7-8" - style="font-style:normal;font-variant:normal;font-weight:300;font-stretch:normal;font-size:11.5613px;line-height:125%;font-family:monospace;-inkscape-font-specification:'Monospace Bold';text-align:start;writing-mode:lr-tb;text-anchor:start">***</tspan></text> - </g> - </g> + style="font-style:normal;font-weight:normal;font-size:25.6917px;line-height:0%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none"><tspan + x="628.93628" + y="473.13675" + id="tspan4092-8-7-6-9-7-0-7-8" + style="font-style:normal;font-variant:normal;font-weight:300;font-stretch:normal;font-size:11.5613px;line-height:125%;font-family:monospace;-inkscape-font-specification:'Monospace Bold';text-align:start;writing-mode:lr-tb;text-anchor:start">**</tspan></text> </g> </g> <text@@ -1301,7 +1270,7 @@ id="tspan4092-8-5-5-3-4-0-6-2-11-0" style="font-style:normal;font-variant:normal;font-weight:300;font-stretch:normal;font-size:21px;line-height:125%;font-family:monospace;-inkscape-font-specification:'Monospace Bold';text-align:start;writing-mode:lr-tb;text-anchor:start">+</tspan></text> <g - transform="translate(1.0962334,-2.7492248)" + transform="translate(1.0962334,-14.749225)" id="g3595"> <text x="30.942892"@@ -1332,7 +1301,7 @@ x="19.552465" y="1037.0271" id="tspan4092-8-6-3-1-8-4-4-55-7-3-9" - style="font-style:normal;font-variant:normal;font-weight:300;font-stretch:normal;font-size:13px;line-height:125%;font-family:monospace;-inkscape-font-specification:'Monospace Bold';text-align:start;writing-mode:lr-tb;text-anchor:start">*</tspan></text> + style="font-style:normal;font-variant:normal;font-weight:300;font-stretch:normal;font-size:13px;line-height:125%;font-family:monospace;-inkscape-font-specification:'Monospace Bold';text-align:start;writing-mode:lr-tb;text-anchor:start" /></text> <text x="42.830166" y="1033.2393"@@ -1345,7 +1314,7 @@ style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:125%;font-family:monospace;-inkscape-font-specification:Monospace;text-align:start;writing-mode:lr-tb;text-anchor:start">New header files must get a new page in the API docs.</tspan></text> </g> <g - transform="translate(1.0962334,-2.7492248)" + transform="translate(1.0962334,-14.749225)" id="g3619"> <text x="42.212418"@@ -1396,7 +1365,7 @@ x="14.016749" y="1049.8527" id="tspan4092-8-6-3-1-8-4-4-55-7-3-9-6-5" - style="font-style:normal;font-variant:normal;font-weight:300;font-stretch:normal;font-size:13px;line-height:125%;font-family:monospace;-inkscape-font-specification:'Monospace Bold';text-align:start;writing-mode:lr-tb;text-anchor:start">*</tspan></text> + style="font-style:normal;font-variant:normal;font-weight:300;font-stretch:normal;font-size:13px;line-height:125%;font-family:monospace;-inkscape-font-specification:'Monospace Bold';text-align:start;writing-mode:lr-tb;text-anchor:start" /></text> </g> <rect width="196.44218"doc/guides/contributing/patches.rst +3
-3@@ -160,9 +160,9 @@ Make your planned changes in the cloned ``dpdk`` repo. Here are some guidelines * For other PMDs and more info, refer to the ``MAINTAINERS`` file. -* New external functions should be added to the local ``version.map`` file. See - the :doc:`ABI policy <abi_policy>` and :ref:`ABI versioning <abi_versioning>` - guides. New external functions should also be added in alphabetical order. +* New external functions should be exported. + See the :doc:`ABI policy <abi_policy>` and :ref:`ABI versioning <abi_versioning>` + guides. * Any new API function should be used in ``/app`` test directory.drivers/meson.build +20
-54@@ -5,8 +5,6 @@ if is_ms_compiler subdir_done() endif -fs = import('fs') - # Defines the order of dependencies evaluation subdirs = [ 'common',@@ -290,57 +288,25 @@ foreach subpath:subdirs install: true) # now build the shared driver - version_map = '@0@/@1@/version.map'.format(meson.current_source_dir(), drv_path) - - if not fs.is_file(version_map) - if is_ms_linker - link_mode = 'mslinker' - elif is_windows - link_mode = 'mingw' - else - link_mode = 'gnu' - endif - version_map = custom_target(lib_name + '_map', - command: [gen_version_map, link_mode, abi_version_file, '@OUTPUT@', '@INPUT@'], - input: sources + sources_avx2 + sources_avx512, - output: '_'.join([class, name, 'exports.map'])) - version_map_path = version_map.full_path() - version_map_dep = [version_map] - lk_deps = [version_map] - - if is_ms_linker and is_ms_compiler - lk_args = ['/def:' + version_map.full_path()] - elif is_ms_linker - lk_args = ['-Wl,/def:' + version_map.full_path()] - else - lk_args = ['-Wl,--version-script=' + version_map.full_path()] - endif + if is_ms_linker + link_mode = 'mslinker' + elif is_windows + link_mode = 'mingw' else - version_map_path = version_map - version_map_dep = [] - lk_deps = [version_map] - - if is_windows - if is_ms_linker - def_file = custom_target(lib_name + '_def', - command: [map_to_win_cmd, '@INPUT@', '@OUTPUT@'], - input: version_map, - output: '@0@_exports.def'.format(lib_name)) - lk_deps += [def_file] - - lk_args = ['-Wl,/def:' + def_file.full_path()] - else - mingw_map = custom_target(lib_name + '_mingw', - command: [map_to_win_cmd, '@INPUT@', '@OUTPUT@'], - input: version_map, - output: '@0@_mingw.map'.format(lib_name)) - lk_deps += [mingw_map] - - lk_args = ['-Wl,--version-script=' + mingw_map.full_path()] - endif - else - lk_args = ['-Wl,--version-script=' + version_map] - endif + link_mode = 'gnu' + endif + version_map = custom_target(lib_name + '_map', + command: [gen_version_map, link_mode, abi_version_file, '@OUTPUT@', '@INPUT@'], + input: sources + sources_avx2 + sources_avx512, + output: '_'.join([class, name, 'exports.map'])) + lk_deps = [version_map] + + if is_ms_linker and is_ms_compiler + lk_args = ['/def:' + version_map.full_path()] + elif is_ms_linker + lk_args = ['-Wl,/def:' + version_map.full_path()] + else + lk_args = ['-Wl,--version-script=' + version_map.full_path()] endif if not is_windows and developer_mode@@ -348,11 +314,11 @@ foreach subpath:subdirs # check-symbols.sh script, using it as a # dependency of the .so build lk_deps += custom_target(lib_name + '.sym_chk', - command: [check_symbols, version_map_path, '@INPUT@'], + command: [check_symbols, version_map.full_path(), '@INPUT@'], capture: true, input: static_lib, output: lib_name + '.sym_chk', - depends: version_map_dep) + depends: [version_map]) endif shared_lib = shared_library(lib_name, sources_pmd_info,lib/meson.build +19
-54@@ -1,7 +1,6 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2017-2019 Intel Corporation -fs = import('fs') # process all libraries equally, as far as possible # "core" libs first, then others alphabetically as far as possible@@ -289,59 +288,25 @@ foreach l:libraries include_directories: includes, dependencies: static_deps) - if not fs.is_file('@0@/@1@/version.map'.format(meson.current_source_dir(), l)) - if is_ms_linker - link_mode = 'mslinker' - elif is_windows - link_mode = 'mingw' - else - link_mode = 'gnu' - endif - version_map = custom_target(libname + '_map', - command: [gen_version_map, link_mode, abi_version_file, '@OUTPUT@', '@INPUT@'], - input: sources, - output: '_'.join([name, 'exports.map'])) - version_map_path = version_map.full_path() - version_map_dep = [version_map] - lk_deps = [version_map] - - if is_ms_linker and is_ms_compiler - lk_args = ['/def:' + version_map.full_path()] - elif is_ms_linker - lk_args = ['-Wl,/def:' + version_map.full_path()] - else - lk_args = ['-Wl,--version-script=' + version_map.full_path()] - endif + if is_ms_linker + link_mode = 'mslinker' + elif is_windows + link_mode = 'mingw' else - version_map = '@0@/@1@/version.map'.format(meson.current_source_dir(), l) - version_map_path = version_map - version_map_dep = [] - lk_deps = [version_map] - if is_ms_linker - def_file = custom_target(libname + '_def', - command: [map_to_win_cmd, '@INPUT@', '@OUTPUT@'], - input: version_map, - output: '@0@_exports.def'.format(libname)) - lk_deps += [def_file] - - if is_ms_compiler - lk_args = ['/def:' + def_file.full_path()] - else - lk_args = ['-Wl,/def:' + def_file.full_path()] - endif - else - if is_windows - mingw_map = custom_target(libname + '_mingw', - command: [map_to_win_cmd, '@INPUT@', '@OUTPUT@'], - input: version_map, - output: '@0@_mingw.map'.format(libname)) - lk_deps += [mingw_map] + link_mode = 'gnu' + endif + version_map = custom_target(libname + '_map', + command: [gen_version_map, link_mode, abi_version_file, '@OUTPUT@', '@INPUT@'], + input: sources, + output: '_'.join([name, 'exports.map'])) + lk_deps = [version_map] - lk_args = ['-Wl,--version-script=' + mingw_map.full_path()] - else - lk_args = ['-Wl,--version-script=' + version_map] - endif - endif + if is_ms_linker and is_ms_compiler + lk_args = ['/def:' + version_map.full_path()] + elif is_ms_linker + lk_args = ['-Wl,/def:' + version_map.full_path()] + else + lk_args = ['-Wl,--version-script=' + version_map.full_path()] endif if developer_mode and not is_windows@@ -349,11 +314,11 @@ foreach l:libraries # check-symbols.sh script, using it as a # dependency of the .so build lk_deps += custom_target(name + '.sym_chk', - command: [check_symbols, version_map_path, '@INPUT@'], + command: [check_symbols, version_map.full_path(), '@INPUT@'], capture: true, input: static_lib, output: name + '.sym_chk', - depends: version_map_dep) + depends: [version_map]) endif if not use_function_versioning or is_windows
PATCH v5 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.48.1
Part of the diff is not shown here. View the raw message.