numam-dpdk/devtools
David Marchand a95d70547c eal: factorize lcore main loop
All OS implementations provide the same main loop.
Introduce helpers (shared for Linux and FreeBSD) to handle synchronisation
between main and threads and factorize the rest as common code.
Thread id are now logged as string in a common format across OS.

Note:
- this change also fixes Windows EAL: worker threads cpu affinity was
  incorrectly reported in log.

- libabigail flags this change as breaking ABI in clang builds:
  1 function with some indirect sub-type change:

  [C] 'function int rte_eal_remote_launch(int (void*)*, void*, unsigned
      int)' at eal_common_launch.c:35:1 has some indirect sub-type
      changes:
    parameter 1 of type 'int (void*)*' changed:
      in pointed to type 'function type int (void*)' at rte_launch.h:31:1:
        entity changed from 'function type int (void*)' to 'typedef
          lcore_function_t' at rte_launch.h:31:1
        type size hasn't changed

  This is being investigated on libabigail side.
  For now, we don't have much choice but to waive reports on this symbol.

Signed-off-by: David Marchand <david.marchand@redhat.com>
Acked-by: Morten Brørup <mb@smartsharesystems.com>
Acked-by: Tyler Retzlaff <roretzla@linux.microsoft.com>
2022-04-14 13:59:50 +02:00
..
cocci devtools/cocci: update script for ethdev namespace 2022-03-08 14:57:06 +01:00
build-dict.sh
build-tags.sh examples/performance-thread: remove 2022-01-20 14:30:59 +01:00
check-abi-version.sh
check-abi.sh devtools: use libabigail rule for mlx glue drivers 2022-03-08 15:02:59 +01:00
check-doc-vs-code.sh devtools: check flow API doc tables 2021-05-18 19:06:56 +02:00
check-dup-includes.sh
check-forbidden-tokens.awk devtools: fix comment detection in forbidden token check 2022-01-27 17:17:41 +01:00
check-git-log.sh devtools: check prefix for libraries patches 2021-11-26 11:11:42 +01:00
check-maintainers.sh devtools: fix file listing in maintainers check 2021-06-23 11:18:54 +02:00
check-meson.py devtools: forbid indent with tabs in Meson 2021-11-02 19:25:30 +01:00
check-spdx-tag.sh devtools: ignore JSON files for SPDX check 2021-05-19 11:01:19 +02:00
check-symbol-change.sh fix spelling in comments and strings 2022-01-11 12:16:53 +01:00
check-symbol-maps.sh devtools: fix symbols check 2022-03-08 22:19:18 +01:00
checkpatches.sh devtools: forbid additions of __reserved 2021-11-26 18:15:47 +01:00
cocci.sh
gen-abi.sh
get-maintainer.sh devtools: remove ugly workaround from get maintainer 2022-01-13 12:32:44 +01:00
git-log-fixes.sh
libabigail.abignore eal: factorize lcore main loop 2022-04-14 13:59:50 +02:00
load-devel-config
parse-flow-support.sh net/bnxt: support tunnel offload 2021-09-21 06:26:00 +02:00
process-iwyu.py devtools: add IWYU script to remove unused includes 2022-02-22 13:10:39 +01:00
test-meson-builds.sh ci: remove redundant drivers enabling 2022-03-01 13:47:38 +01:00
test-null.sh
update_version_map_abi.py
update-abi.sh
update-patches.py
words-case.txt devtools: add acronyms in dictionary for commit checks 2021-11-25 12:40:00 +01:00