[dpdk-dev] [PATCH] doc: add pmdinfogen rewrite to release notes

Subsystems: the rest

6 messages, 3 authors, 2021-02-14 · open the first message on its own page

[dpdk-dev] [PATCH] doc: add pmdinfogen rewrite to release notes

From: Thomas Monjalon <hidden>
Date: 2021-02-12 11:05:00

From: Dmitry Kozlyuk <redacted>

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")

Signed-off-by: Dmitry Kozlyuk <redacted>
Signed-off-by: Thomas Monjalon <redacted>
---
 doc/guides/rel_notes/release_21_02.rst | 7 +++++++
 1 file changed, 7 insertions(+)
diff --git a/doc/guides/rel_notes/release_21_02.rst b/doc/guides/rel_notes/release_21_02.rst
index 64e220f2ac..786c70455d 100644
--- a/doc/guides/rel_notes/release_21_02.rst
+++ b/doc/guides/rel_notes/release_21_02.rst
@@ -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,
-- 
2.30.0

[dpdk-dev] [PATCH v2] doc: add pmdinfogen rewrite to release notes

From: Thomas Monjalon <hidden>
Date: 2021-02-12 14:18:00

From: Dmitry Kozlyuk <redacted>

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")

Signed-off-by: Dmitry Kozlyuk <redacted>
Signed-off-by: Thomas Monjalon <redacted>
---
 doc/guides/rel_notes/release_21_02.rst | 13 +++++++++++++
 1 file changed, 13 insertions(+)
diff --git a/doc/guides/rel_notes/release_21_02.rst b/doc/guides/rel_notes/release_21_02.rst
index 64e220f2ac..99a559479b 100644
--- a/doc/guides/rel_notes/release_21_02.rst
+++ b/doc/guides/rel_notes/release_21_02.rst
@@ -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,
-- 
2.30.0

Re: [dpdk-dev] [PATCH v2] doc: add pmdinfogen rewrite to release notes

From: Bruce Richardson <hidden>
Date: 2021-02-12 14:30:06

On Fri, Feb 12, 2021 at 03:17:39PM +0100, Thomas Monjalon wrote:
From: Dmitry Kozlyuk <redacted>

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")

Signed-off-by: Dmitry Kozlyuk <redacted>
Signed-off-by: Thomas Monjalon <redacted>
Acked-by: Bruce Richardson <redacted>

One additional suggestion below if you want to take it too.
quoted hunk
---
 doc/guides/rel_notes/release_21_02.rst | 13 +++++++++++++
 1 file changed, 13 insertions(+)
diff --git a/doc/guides/rel_notes/release_21_02.rst b/doc/guides/rel_notes/release_21_02.rst
index 64e220f2ac..99a559479b 100644
--- a/doc/guides/rel_notes/release_21_02.rst
+++ b/doc/guides/rel_notes/release_21_02.rst
@@ -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 hunk
+
 
 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,
-- 
2.30.0

Re: [dpdk-dev] [PATCH v2] doc: add pmdinfogen rewrite to release notes

From: Kevin Traynor <hidden>
Date: 2021-02-12 14:36:45

On 12/02/2021 14:29, Bruce Richardson wrote:
On Fri, Feb 12, 2021 at 03:17:39PM +0100, Thomas Monjalon wrote:
quoted
From: Dmitry Kozlyuk <redacted>

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")

Signed-off-by: Dmitry Kozlyuk <redacted>
Signed-off-by: Thomas Monjalon <redacted>
Acked-by: Bruce Richardson <redacted>

One additional suggestion below if you want to take it too.
quoted
---
 doc/guides/rel_notes/release_21_02.rst | 13 +++++++++++++
 1 file changed, 13 insertions(+)
diff --git a/doc/guides/rel_notes/release_21_02.rst b/doc/guides/rel_notes/release_21_02.rst
index 64e220f2ac..99a559479b 100644
--- a/doc/guides/rel_notes/release_21_02.rst
+++ b/doc/guides/rel_notes/release_21_02.rst
@@ -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".
yep, just about to send a doc patch for that.
quoted
+
 
 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,
-- 
2.30.0

[dpdk-dev] [PATCH v3] doc: add pmdinfogen rewrite to release notes

From: Thomas Monjalon <hidden>
Date: 2021-02-12 15:15:46

From: Dmitry Kozlyuk <redacted>

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")

Signed-off-by: Dmitry Kozlyuk <redacted>
Signed-off-by: Thomas Monjalon <redacted>
Acked-by: Bruce Richardson <redacted>
---
 doc/guides/rel_notes/release_21_02.rst | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
diff --git a/doc/guides/rel_notes/release_21_02.rst b/doc/guides/rel_notes/release_21_02.rst
index 64e220f2ac..743f1505ef 100644
--- a/doc/guides/rel_notes/release_21_02.rst
+++ b/doc/guides/rel_notes/release_21_02.rst
@@ -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,
-- 
2.30.0

Re: [dpdk-dev] [PATCH v3] doc: add pmdinfogen rewrite to release notes

From: Thomas Monjalon <hidden>
Date: 2021-02-14 09:53:24

12/02/2021 16:15, Thomas Monjalon:
From: Dmitry Kozlyuk <redacted>

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")

Signed-off-by: Dmitry Kozlyuk <redacted>
Signed-off-by: Thomas Monjalon <redacted>
Acked-by: Bruce Richardson <redacted>
Applied



Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help