Skip to content

pmdinfogen: rewrite in Python

Dmitry Kozlyuk dpdk-dev 11 versions – Applied

Status from this message: Applied, thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v10 Latest3 patches 6 repliesApplied
  2. v93 patches 0 repliesSuperseded
  3. v83 patches 18 repliesSuperseded
Earlier versions · 8
VersionPostedPatchesRepliesStatus
v73 patches3 repliesSuperseded
v63 patches2 repliesSuperseded
v53 patches3 repliesSuperseded
v44 patches7 repliesSuperseded
v34 patches0 repliesSuperseded
v2 RFC posting 2/23 patches3 repliesSuperseded
v2 RFC posting 1/20 of 2 patches0 repliesSuperseded
v1 RFC2 patches5 repliesSuperseded

Changes in v10 from the cover letter

* Suppress ABI warnings for generated strings (Thomas).

Patches in v10 Applied

#Subject and filesSizeRepliesApplied
1/3pmdinfogen: add Python implementationbuildtools/pmdinfogen.py+189 -00 replies
2/3build: use Python pmdinfogen.github/workflows/build.yml .travis.yml buildtools/gen-pmdinfo-cfile.sh +6 more+34 -91 reply
3/3pmdinfogen: remove C implementationMAINTAINERS buildtools/pmdinfogen/meson.build buildtools/pmdinfogen/pmdinfogen.c +1 more+2 -5900 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchNeil HormanJie Zhou
SeriesA-b T-b
1/3
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v10 thread

Cover letter [dpdk-dev] [PATCH v10 0/3] pmdinfogen: rewrite in Python

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

---
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
Signature · 1 line
2.29.2