DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] doc: add pmdinfogen rewrite to release notes
@ 2021-02-12 11:04 Thomas Monjalon
  2021-02-12 14:17 ` [dpdk-dev] [PATCH v2] " Thomas Monjalon
  2021-02-12 15:15 ` [dpdk-dev] [PATCH v3] " Thomas Monjalon
  0 siblings, 2 replies; 6+ messages in thread
From: Thomas Monjalon @ 2021-02-12 11:04 UTC (permalink / raw)
  To: dev; +Cc: john.mcnamara, Dmitry Kozlyuk

From: Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>

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 <dmitry.kozliuk@gmail.com>
Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
---
 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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [dpdk-dev] [PATCH v2] doc: add pmdinfogen rewrite to release notes
  2021-02-12 11:04 [dpdk-dev] [PATCH] doc: add pmdinfogen rewrite to release notes Thomas Monjalon
@ 2021-02-12 14:17 ` Thomas Monjalon
  2021-02-12 14:29   ` Bruce Richardson
  2021-02-12 15:15 ` [dpdk-dev] [PATCH v3] " Thomas Monjalon
  1 sibling, 1 reply; 6+ messages in thread
From: Thomas Monjalon @ 2021-02-12 14:17 UTC (permalink / raw)
  To: dev; +Cc: john.mcnamara, bruce.richardson, Dmitry Kozlyuk

From: Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>

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 <dmitry.kozliuk@gmail.com>
Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
---
 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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [dpdk-dev] [PATCH v2] doc: add pmdinfogen rewrite to release notes
  2021-02-12 14:17 ` [dpdk-dev] [PATCH v2] " Thomas Monjalon
@ 2021-02-12 14:29   ` Bruce Richardson
  2021-02-12 14:36     ` Kevin Traynor
  0 siblings, 1 reply; 6+ messages in thread
From: Bruce Richardson @ 2021-02-12 14:29 UTC (permalink / raw)
  To: Thomas Monjalon; +Cc: dev, john.mcnamara, Dmitry Kozlyuk

On Fri, Feb 12, 2021 at 03:17:39PM +0100, Thomas Monjalon wrote:
> From: Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>
> 
> 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 <dmitry.kozliuk@gmail.com>
> Signed-off-by: Thomas Monjalon <thomas@monjalon.net>

Acked-by: Bruce Richardson <bruce.richardson@intel.com>

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

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

> +
>  
>  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
> 

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [dpdk-dev] [PATCH v2] doc: add pmdinfogen rewrite to release notes
  2021-02-12 14:29   ` Bruce Richardson
@ 2021-02-12 14:36     ` Kevin Traynor
  0 siblings, 0 replies; 6+ messages in thread
From: Kevin Traynor @ 2021-02-12 14:36 UTC (permalink / raw)
  To: Bruce Richardson, Thomas Monjalon; +Cc: dev, john.mcnamara, Dmitry Kozlyuk

On 12/02/2021 14:29, Bruce Richardson wrote:
> On Fri, Feb 12, 2021 at 03:17:39PM +0100, Thomas Monjalon wrote:
>> From: Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>
>>
>> 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 <dmitry.kozliuk@gmail.com>
>> Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
> 
> Acked-by: Bruce Richardson <bruce.richardson@intel.com>
> 
> One additional suggestion below if you want to take it too.
> 
>> ---
>>  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.

>> +
>>  
>>  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
>>
> 


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [dpdk-dev] [PATCH v3] doc: add pmdinfogen rewrite to release notes
  2021-02-12 11:04 [dpdk-dev] [PATCH] doc: add pmdinfogen rewrite to release notes Thomas Monjalon
  2021-02-12 14:17 ` [dpdk-dev] [PATCH v2] " Thomas Monjalon
@ 2021-02-12 15:15 ` Thomas Monjalon
  2021-02-14  9:53   ` Thomas Monjalon
  1 sibling, 1 reply; 6+ messages in thread
From: Thomas Monjalon @ 2021-02-12 15:15 UTC (permalink / raw)
  To: dev; +Cc: john.mcnamara, Dmitry Kozlyuk, Bruce Richardson

From: Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>

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 <dmitry.kozliuk@gmail.com>
Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
---
 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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [dpdk-dev] [PATCH v3] doc: add pmdinfogen rewrite to release notes
  2021-02-12 15:15 ` [dpdk-dev] [PATCH v3] " Thomas Monjalon
@ 2021-02-14  9:53   ` Thomas Monjalon
  0 siblings, 0 replies; 6+ messages in thread
From: Thomas Monjalon @ 2021-02-14  9:53 UTC (permalink / raw)
  To: john.mcnamara, Dmitry Kozlyuk, Bruce Richardson; +Cc: dev

12/02/2021 16:15, Thomas Monjalon:
> From: Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>
> 
> 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 <dmitry.kozliuk@gmail.com>
> Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
> Acked-by: Bruce Richardson <bruce.richardson@intel.com>

Applied





^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-02-14  9:53 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-12 11:04 [dpdk-dev] [PATCH] doc: add pmdinfogen rewrite to release notes Thomas Monjalon
2021-02-12 14:17 ` [dpdk-dev] [PATCH v2] " Thomas Monjalon
2021-02-12 14:29   ` Bruce Richardson
2021-02-12 14:36     ` Kevin Traynor
2021-02-12 15:15 ` [dpdk-dev] [PATCH v3] " Thomas Monjalon
2021-02-14  9:53   ` Thomas Monjalon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).