numam-dpdk/lib/gpudev/version.map
Thomas Monjalon b403498e14 build: hide local symbols in shared libraries
The symbols which are not listed in the version script
are exported by default.
Adding a local section with a wildcard make non-listed functions
and variables as hidden, as it should be in all version.map files.

These are the changes done in the shared libraries:
- DF .text  Base          auxiliary_add_device
- DF .text  Base          auxiliary_dev_exists
- DF .text  Base          auxiliary_dev_iterate
- DF .text  Base          auxiliary_insert_device
- DF .text  Base          auxiliary_is_ignored_device
- DF .text  Base          auxiliary_match
- DF .text  Base          auxiliary_on_scan
- DF .text  Base          auxiliary_scan
- DO .bss   Base          auxiliary_bus_logtype
- DO .data  Base          auxiliary_bus
- DO .bss   Base          gpu_logtype

There is no impact on regexdev library.

Because these local symbols were exported as non-internal
in DPDK 21.11, any change in these functions would break the ABI.
Exception rules are added for these experimental libraries,
so the ABI check will skip them until the next ABI version.

A check is added to avoid such miss in future.

Fixes: 1afce3086c ("bus/auxiliary: introduce auxiliary bus")
Fixes: 8b8036a66e ("gpudev: introduce GPU device class library")
Cc: stable@dpdk.org

Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
2022-03-08 15:22:33 +01:00

45 lines
813 B
Plaintext

EXPERIMENTAL {
global:
# added in 21.11
rte_gpu_add_child;
rte_gpu_callback_register;
rte_gpu_callback_unregister;
rte_gpu_close;
rte_gpu_comm_cleanup_list;
rte_gpu_comm_create_flag;
rte_gpu_comm_create_list;
rte_gpu_comm_destroy_flag;
rte_gpu_comm_destroy_list;
rte_gpu_comm_get_flag_value;
rte_gpu_comm_get_status;
rte_gpu_comm_populate_list_pkts;
rte_gpu_comm_set_flag;
rte_gpu_comm_set_status;
rte_gpu_count_avail;
rte_gpu_find_next;
rte_gpu_info_get;
rte_gpu_init;
rte_gpu_is_valid;
rte_gpu_mem_alloc;
rte_gpu_mem_cpu_map;
rte_gpu_mem_free;
rte_gpu_mem_register;
rte_gpu_mem_cpu_unmap;
rte_gpu_mem_unregister;
rte_gpu_wmb;
};
INTERNAL {
global:
rte_gpu_allocate;
rte_gpu_attach;
rte_gpu_complete_new;
rte_gpu_get_by_name;
rte_gpu_notify;
rte_gpu_release;
local: *;
};