Skip to contentSkip to conversation

doc: add pmdinfogen rewrite to release notes

PATCH Superseded Thomas Monjalon 3 participants 6 messages Feb 12, 2021 – Feb 14, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 doc: add pmdinfogen rewrite to release notes

From: Dmitry Kozlyuk <[email protected]>

The build tool pmdinfogen was rewritten in DPDK 21.02, adding Windows support.
There is a new build-time dependency: pyelftools.

Fixes f0f93a7adfee ("buildtools: use Python pmdinfogen")
Fixes 6b19edcb663c ("build: enable pmdinfogen for Windows")
---
 doc/guides/rel_notes/release_21_02.rst | 7 +++++++
 1 file changed, 7 insertions(+)
doc/guides/rel_notes/release_21_02.rst +7 -0
index 64e220f2ac..786c70455d 100644
@@ -180,6 +180,13 @@ New Features
   tests and output graphed results to PDF files.
   See the :doc:`../tools/cryptoperf` guide for more details.
 
+* **Added Windows support to pmdinfogen.**
+
+  PMD information strings were added for Windows as well as for other OS.
+  Extracting them from Windows DLLs is not yet supported.
+  The build-time tool pmdinfogen was rewritten in Python,
+  thus libelf dependency was replaced with pyelftools as new build dependency.
+
 * **Added support for build-time checking of header includes.**
 
   A new build option ``check_includes`` has been added, which, when enabled,
Signature · 1 line
2.30.0
#1 lore raw

PATCH v2 1/1 doc: add pmdinfogen rewrite to release notes

From: Dmitry Kozlyuk <[email protected]>

The build tool pmdinfogen was rewritten in DPDK 21.02, adding Windows support.
There is a new build-time dependency: pyelftools.

Fixes f0f93a7adfee ("buildtools: use Python pmdinfogen")
Fixes 6b19edcb663c ("build: enable pmdinfogen for Windows")
---
 doc/guides/rel_notes/release_21_02.rst | 13 +++++++++++++
 1 file changed, 13 insertions(+)
doc/guides/rel_notes/release_21_02.rst +13 -0
index 64e220f2ac..99a559479b 100644
@@ -20,6 +20,12 @@ DPDK Release 21.02
       make doc-guides-html
       xdg-open build/doc/html/guides/rel_notes/release_21_02.html
 
+.. note::
+
+   A dependency has been added for building DPDK on Linux or FreeBSD:
+   the Python module pyelftools (version 0.22 or greater),
+   often packaged as python3-pyelftools, is required.
+
 
 New Features
 ------------
@@ -180,6 +186,13 @@ New Features
   tests and output graphed results to PDF files.
   See the :doc:`../tools/cryptoperf` guide for more details.
 
+* **Added Windows support to pmdinfogen.**
+
+  PMD information strings were added for Windows as well as for other OS.
+  Extracting them from Windows DLL is not yet supported.
+  The build-time tool pmdinfogen was rewritten in Python,
+  thus libelf dependency was replaced with pyelftools as new build dependency.
+
 * **Added support for build-time checking of header includes.**
 
   A new build option ``check_includes`` has been added, which, when enabled,
Signature · 1 line
2.30.0
Acked-by on v2 1/1
#2 lore raw
Quoted 11 lines · Thomas Monjalon

From: Dmitry Kozlyuk <[email protected]>

The build tool pmdinfogen was rewritten in DPDK 21.02, adding Windows support.
There is a new build-time dependency: pyelftools.

Fixes f0f93a7adfee ("buildtools: use Python pmdinfogen")
Fixes 6b19edcb663c ("build: enable pmdinfogen for Windows")

One additional suggestion below if you want to take it too.

Quoted 9 lines
---
 doc/guides/rel_notes/release_21_02.rst | 13 +++++++++++++
 1 file changed, 13 insertions(+)
doc/guides/rel_notes/release_21_02.rst +0 -0
index 64e220f2ac..99a559479b 100644

doc/guides/rel_notes/release_21_02.rst DPDK Release 21.02 · line 27

Quoted 8 lines
doc/guides/rel_notes/release_21_02.rst +5 -0
@@ -20,6 +20,12 @@ DPDK Release 21.02
       make doc-guides-html
       xdg-open build/doc/html/guides/rel_notes/release_21_02.html
 
+.. note::
+
+   A dependency has been added for building DPDK on Linux or FreeBSD:
+   the Python module pyelftools (version 0.22 or greater),
+   often packaged as python3-pyelftools, is required.

This module can also be installed using pip for python3 e.g. "pip3 install pyelftools".

Quoted 21 lines
doc/guides/rel_notes/release_21_02.rst +8 -0
+
 
 New Features
 ------------
@@ -180,6 +186,13 @@ New Features
   tests and output graphed results to PDF files.
   See the :doc:`../tools/cryptoperf` guide for more details.
 
+* **Added Windows support to pmdinfogen.**
+
+  PMD information strings were added for Windows as well as for other OS.
+  Extracting them from Windows DLL is not yet supported.
+  The build-time tool pmdinfogen was rewritten in Python,
+  thus libelf dependency was replaced with pyelftools as new build dependency.
+
 * **Added support for build-time checking of header includes.**
 
   A new build option ``check_includes`` has been added, which, when enabled,
Signature · 1 line
2.30.0
#3 lore raw
Quoted 29 lines · Bruce Richardson
Quoted 11 lines · Thomas Monjalon

From: Dmitry Kozlyuk <[email protected]>

The build tool pmdinfogen was rewritten in DPDK 21.02, adding Windows support.
There is a new build-time dependency: pyelftools.

Fixes f0f93a7adfee ("buildtools: use Python pmdinfogen")
Fixes 6b19edcb663c ("build: enable pmdinfogen for Windows")

One additional suggestion below if you want to take it too.

Quoted 12 lines
---
 doc/guides/rel_notes/release_21_02.rst | 13 +++++++++++++
 1 file changed, 13 insertions(+)
doc/guides/rel_notes/release_21_02.rst +0 -0
index 64e220f2ac..99a559479b 100644
@@ -20,6 +20,12 @@ DPDK Release 21.02
       make doc-guides-html
       xdg-open build/doc/html/guides/rel_notes/release_21_02.html
 
Quoted 8 lines

doc/guides/rel_notes/release_21_02.rst DPDK Release 21.02 · line 27

Quoted 5 lines
doc/guides/rel_notes/release_21_02.rst +5 -0
+.. note::
+
+   A dependency has been added for building DPDK on Linux or FreeBSD:
+   the Python module pyelftools (version 0.22 or greater),
+   often packaged as python3-pyelftools, is required.

This module can also be installed using pip for python3 e.g. "pip3 install pyelftools".

yep, just about to send a doc patch for that.

Quoted 22 lines
Quoted 21 lines
doc/guides/rel_notes/release_21_02.rst +8 -0
+
 
 New Features
 ------------
@@ -180,6 +186,13 @@ New Features
   tests and output graphed results to PDF files.
   See the :doc:`../tools/cryptoperf` guide for more details.
 
+* **Added Windows support to pmdinfogen.**
+
+  PMD information strings were added for Windows as well as for other OS.
+  Extracting them from Windows DLL is not yet supported.
+  The build-time tool pmdinfogen was rewritten in Python,
+  thus libelf dependency was replaced with pyelftools as new build dependency.
+
 * **Added support for build-time checking of header includes.**
 
   A new build option ``check_includes`` has been added, which, when enabled,
Signature · 1 line
2.30.0
#4 lore raw

PATCH v3 1/1 doc: add pmdinfogen rewrite to release notes

In reply to Thomas Monjalon

From: Dmitry Kozlyuk <[email protected]>

The build tool pmdinfogen was rewritten in DPDK 21.02, adding Windows support.
There is a new build-time dependency: pyelftools.

Fixes f0f93a7adfee ("buildtools: use Python pmdinfogen")
Fixes 6b19edcb663c ("build: enable pmdinfogen for Windows")
---
 doc/guides/rel_notes/release_21_02.rst | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
doc/guides/rel_notes/release_21_02.rst +17 -0
index 64e220f2ac..743f1505ef 100644
@@ -20,6 +20,16 @@ DPDK Release 21.02
       make doc-guides-html
       xdg-open build/doc/html/guides/rel_notes/release_21_02.html
 
+.. note::
+
+   A **dependency** has been added for building DPDK on Linux or FreeBSD:
+   the Python module **pyelftools** (version **0.22** or greater),
+   often packaged as python3-pyelftools, is required.
+
+   If not available as a distribution package, it can be installed with::
+
+      pip3 install pyelftools
+
 
 New Features
 ------------
@@ -180,6 +190,13 @@ New Features
   tests and output graphed results to PDF files.
   See the :doc:`../tools/cryptoperf` guide for more details.
 
+* **Added Windows support to pmdinfogen.**
+
+  PMD information strings were added for Windows as well as for other OS.
+  Extracting them from Windows DLL is not yet supported.
+  The build-time tool pmdinfogen was rewritten in Python,
+  thus libelf dependency was replaced with pyelftools as new build dependency.
+
 * **Added support for build-time checking of header includes.**
 
   A new build option ``check_includes`` has been added, which, when enabled,
Signature · 1 line
2.30.0
author Applied
#5 lore raw

12/02/2021 16:15, Thomas Monjalon:

Quoted 6 lines

From: Dmitry Kozlyuk <[email protected]>

The build tool pmdinfogen was rewritten in DPDK 21.02, adding Windows support.
There is a new build-time dependency: pyelftools.

Quoted 6 lines
Fixes f0f93a7adfee ("buildtools: use Python pmdinfogen")
Fixes 6b19edcb663c ("build: enable pmdinfogen for Windows")

Applied