]> git.droids-corp.org - dpdk.git/commit
common/mlx5: consider local functions as internal
authorMichael Baum <michaelba@nvidia.com>
Thu, 24 Feb 2022 23:25:06 +0000 (01:25 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 25 Feb 2022 16:33:31 +0000 (17:33 +0100)
commitc2e3059a10f2389b791d5d485fe71e666984c193
tree5313a8438dcd59c19154dc2711d3e9dc4806cb86
parent5c4d4917916b4d39f0888cfad28c89186502f772
common/mlx5: consider local functions as internal

The functions which are not explicitly marked as internal
were exported because the local catch-all rule was missing in the
version script.
After adding the missing rule, all local functions are hidden.
The function mlx5_get_device_guid is used in another library,
so it needs to be exported (as internal).

Because the local functions were exported as non-internal
in DPDK 21.11, any change in these functions would break the ABI.
An ABI exception is added for this library, considering that all
functions are either local or internal.

Signed-off-by: Michael Baum <michaelba@nvidia.com>
Acked-by: Matan Azrad <matan@nvidia.com>
devtools/libabigail.abignore
drivers/common/mlx5/linux/mlx5_common_os.h
drivers/common/mlx5/version.map