| 272f94e5 | 08-Mar-2022 |
Thomas Monjalon <[email protected]> |
devtools: fix symbols check
In some environments, the check of local symbols catch-all was failing. Note: this script is called during the build.
The reason is that grep returns an error if nothing
devtools: fix symbols check
In some environments, the check of local symbols catch-all was failing. Note: this script is called during the build.
The reason is that grep returns an error if nothing is found. The option -e of the shell script makes this error fatal. It is not always fatal because the grep is in a command substitution.
Fixes: b403498e1422 ("build: hide local symbols in shared libraries")
Reported-by: Usama Arif <[email protected]> Signed-off-by: Thomas Monjalon <[email protected]>
show more ...
|
| b403498e | 06-Mar-2022 |
Thomas Monjalon <[email protected]> |
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 var
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: 1afce3086cf4 ("bus/auxiliary: introduce auxiliary bus") Fixes: 8b8036a66e3d ("gpudev: introduce GPU device class library") Cc: [email protected]
Signed-off-by: Thomas Monjalon <[email protected]>
show more ...
|
| 89e290eb | 06-Mar-2022 |
Thomas Monjalon <[email protected]> |
regexdev: fix section attribute of symbols
The functions used by the drivers must be internal, while the function and variables used in inline functions must be experimental.
These are the changes
regexdev: fix section attribute of symbols
The functions used by the drivers must be internal, while the function and variables used in inline functions must be experimental.
These are the changes done in the shared library: - DF .text Base rte_regexdev_get_device_by_name + DF .text INTERNAL rte_regexdev_get_device_by_name - DF .text Base rte_regexdev_register + DF .text INTERNAL rte_regexdev_register - DF .text Base rte_regexdev_unregister + DF .text INTERNAL rte_regexdev_unregister - DF .text Base rte_regexdev_is_valid_dev + DF .text EXPERIMENTAL rte_regexdev_is_valid_dev - DO .bss Base rte_regex_devices + DO .bss EXPERIMENTAL rte_regex_devices - DO .bss Base rte_regexdev_logtype + DO .bss EXPERIMENTAL rte_regexdev_logtype
Because these symbols were exported in the default section in DPDK 21.11, any change in these functions would be seen as incompatible by the ABI compatibility check. An exception rule is added for this experimental library, so the ABI check will skip it until the next ABI version.
Fixes: bab9497ef78b ("regexdev: introduce API") Cc: [email protected]
Signed-off-by: Thomas Monjalon <[email protected]> Acked-by: Ori Kam <[email protected]>
show more ...
|
| 8fdcd513 | 01-Mar-2022 |
David Marchand <[email protected]> |
devtools: use libabigail rule for mlx glue drivers
Convert the existing exception in the ABI script into a libabigail suppression rule.
Note: file_name_regexp could be used to achieve the same with
devtools: use libabigail rule for mlx glue drivers
Convert the existing exception in the ABI script into a libabigail suppression rule.
Note: file_name_regexp could be used to achieve the same with versions of libabigail < 1.7 but soname_regexp has been preferred here since it is already used with a recent change on common/mlx5.
While at it, fix indent from a recent change.
Signed-off-by: David Marchand <[email protected]> Acked-by: Ray Kinsella <[email protected]>
show more ...
|
| d58e0d5d | 01-Mar-2022 |
David Marchand <[email protected]> |
devtools: remove event/dlb exception in ABI check
The event/dlb driver exception can be removed, as this rule made sense for changes in DPDK_21 ABI and is obsolete for DPDK_22.
Fixes: fdab8f2e1749
devtools: remove event/dlb exception in ABI check
The event/dlb driver exception can be removed, as this rule made sense for changes in DPDK_21 ABI and is obsolete for DPDK_22.
Fixes: fdab8f2e1749 ("version: 21.11-rc0") Cc: [email protected]
Signed-off-by: David Marchand <[email protected]> Acked-by: Ray Kinsella <[email protected]>
show more ...
|
| 6f716880 | 01-Nov-2021 |
Ferruh Yigit <[email protected]> |
devtools: remove ugly workaround from get maintainer
Linux kernel 'get_maintainer.pl' script supports running out of Linux tree since commit 31bb82c9caa9 ("get_maintainer: allow usage outside of ker
devtools: remove ugly workaround from get maintainer
Linux kernel 'get_maintainer.pl' script supports running out of Linux tree since commit 31bb82c9caa9 ("get_maintainer: allow usage outside of kernel tree")
As commit is a few years old now, integrating it to DPDK and removing ugly workaround for it.
Signed-off-by: Ferruh Yigit <[email protected]>
show more ...
|
| 1eaa8f01 | 15-Nov-2021 |
Stephen Hemminger <[email protected]> |
devtools: suppress checkpatch warning about strlcpy
Current version of Linux kernel checkpatch now complains about usages of strlcpy because the Linux kernel prefers strscpy.
WARNING:STRLCPY: Prefe
devtools: suppress checkpatch warning about strlcpy
Current version of Linux kernel checkpatch now complains about usages of strlcpy because the Linux kernel prefers strscpy.
WARNING:STRLCPY: Prefer strscpy over strlcpy
But DPDK project allows strlcpy, therefore suppress the warning.
Signed-off-by: Stephen Hemminger <[email protected]> Acked-by: Bruce Richardson <[email protected]>
show more ...
|