This patchset implements existing pmdinfogen logic in Python, replaces and removes the old code. The goals of rewriting are:
* easier maintenance by using a more high-level language, * simpler build process without host application and libelf, * foundation for adding Windows support. Identity of generated PMD information is checked by comparing output of pmdinfo before and after the patch: find build/drivers -name '*.so' -exec usertools/dpdk-pmdinfo.py Acked-by: Neil Horman <nhor...@tuxdriver.com> Tested-by: Jie Zhou <j...@linux.microsoft.com> --- Changes in v10: * Suppress ABI warnings for generated strings (Thomas). Dmitry Kozlyuk (3): pmdinfogen: add Python implementation build: use Python pmdinfogen pmdinfogen: remove C implementation .github/workflows/build.yml | 4 +- .travis.yml | 2 +- MAINTAINERS | 3 +- buildtools/gen-pmdinfo-cfile.sh | 6 +- buildtools/meson.build | 15 + buildtools/pmdinfogen.py | 189 +++++++++++ buildtools/pmdinfogen/meson.build | 14 - buildtools/pmdinfogen/pmdinfogen.c | 456 -------------------------- buildtools/pmdinfogen/pmdinfogen.h | 119 ------- devtools/libabigail.abignore | 4 + doc/guides/freebsd_gsg/build_dpdk.rst | 3 +- doc/guides/linux_gsg/sys_reqs.rst | 6 + drivers/meson.build | 2 +- meson.build | 1 - 14 files changed, 225 insertions(+), 599 deletions(-) create mode 100755 buildtools/pmdinfogen.py delete mode 100644 buildtools/pmdinfogen/meson.build delete mode 100644 buildtools/pmdinfogen/pmdinfogen.c delete mode 100644 buildtools/pmdinfogen/pmdinfogen.h -- 2.29.2