patches for DPDK stable branches
 help / color / mirror / Atom feed
* patch 'doc: replace characters for (R) symbol in Linux guide' has been queued to stable release 21.11.1
@ 2022-03-21 14:43 Kevin Traynor
  2022-03-21 14:43 ` patch 'doc: fix missing note on UIO module " Kevin Traynor
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Kevin Traynor @ 2022-03-21 14:43 UTC (permalink / raw)
  To: Bruce Richardson; +Cc: dpdk stable

Hi,

FYI, your patch has been queued to stable release 21.11.1

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 03/22/22. So please
shout if anyone has objections.

Also note that after the patch there's a diff of the upstream commit vs the
patch applied to the branch. This will indicate if there was any rebasing
needed to apply to the stable branch. If there were code changes for rebasing
(ie: not only metadata diffs), please double check that the rebase was
correctly done.

Queued patches are on a temporary branch at:
https://github.com/kevintraynor/dpdk-stable

This queued commit can be viewed at:
https://github.com/kevintraynor/dpdk-stable/commit/713a4bc48c52058172520805373103c79ef17a3a

Thanks.

Kevin

---
From 713a4bc48c52058172520805373103c79ef17a3a Mon Sep 17 00:00:00 2001
From: Bruce Richardson <bruce.richardson@intel.com>
Date: Wed, 16 Mar 2022 13:45:43 +0000
Subject: [PATCH] doc: replace characters for (R) symbol in Linux guide

[ upstream commit c265d58619e7fc0f72441faafec56a2a8633a15b ]

Some IDEs, such as eclipse, complained on save about the use of special
characters in the (R) symbol in linux GSG doc. We can replace those with
the equivalent "|reg|" text, and including isonum.txt.

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
---
 doc/guides/linux_gsg/enable_func.rst   | 8 +++++---
 doc/guides/linux_gsg/linux_drivers.rst | 6 ++++--
 doc/guides/linux_gsg/sys_reqs.rst      | 6 ++++--
 3 files changed, 13 insertions(+), 7 deletions(-)

diff --git a/doc/guides/linux_gsg/enable_func.rst b/doc/guides/linux_gsg/enable_func.rst
index 7bd6b03f10..25f87f6b1a 100644
--- a/doc/guides/linux_gsg/enable_func.rst
+++ b/doc/guides/linux_gsg/enable_func.rst
@@ -2,4 +2,6 @@
     Copyright(c) 2010-2014 Intel Corporation.
 
+.. include:: <isonum.txt>
+
 .. _Enabling_Additional_Functionality:
 
@@ -120,13 +122,13 @@ Power Management and Power Saving Functionality
 -----------------------------------------------
 
-Enhanced Intel SpeedStep® Technology must be enabled in the platform BIOS if the power management feature of DPDK is to be used.
+Enhanced Intel SpeedStep\ |reg| Technology must be enabled in the platform BIOS if the power management feature of DPDK is to be used.
 Otherwise, the sys file folder ``/sys/devices/system/cpu/cpu0/cpufreq`` will not exist, and the CPU frequency- based power management cannot be used.
 Consult the relevant BIOS documentation to determine how these settings can be accessed.
 
-For example, on some Intel reference platform BIOS variants, the path to Enhanced Intel SpeedStep® Technology is::
+For example, on some Intel reference platform BIOS variants, the path to Enhanced Intel SpeedStep\ |reg| Technology is::
 
    Advanced
      -> Processor Configuration
-     -> Enhanced Intel SpeedStep® Tech
+     -> Enhanced Intel SpeedStep\ |reg| Tech
 
 In addition, C3 and C6 should be enabled as well for power management. The path of C3 and C6 on the same platform BIOS is::
diff --git a/doc/guides/linux_gsg/linux_drivers.rst b/doc/guides/linux_gsg/linux_drivers.rst
index 2dd711bb37..56564286ac 100644
--- a/doc/guides/linux_gsg/linux_drivers.rst
+++ b/doc/guides/linux_gsg/linux_drivers.rst
@@ -4,4 +4,6 @@
     All rights reserved.
 
+.. include:: <isonum.txt>
+
 .. _linux_gsg_linux_drivers:
 
@@ -100,5 +102,5 @@ The token will be used for all PF and VF ports within the application.
 To make use of full VFIO functionality,
 both kernel and BIOS must support and be configured
-to use IO virtualization (such as Intel® VT-d).
+to use IO virtualization (such as Intel\ |reg| VT-d).
 
 .. note::
@@ -336,5 +338,5 @@ correctly for your system.
 
 If the kernel is configured correctly, one also has to make sure that
-the BIOS configuration has virtualization features (such as Intel® VT-d).
+the BIOS configuration has virtualization features (such as Intel\ |reg| VT-d).
 There is no standard way to check if the platform is configured correctly,
 so please check with your platform documentation to see if it has such features,
diff --git a/doc/guides/linux_gsg/sys_reqs.rst b/doc/guides/linux_gsg/sys_reqs.rst
index d95a78d156..cfaa2db301 100644
--- a/doc/guides/linux_gsg/sys_reqs.rst
+++ b/doc/guides/linux_gsg/sys_reqs.rst
@@ -2,4 +2,6 @@
     Copyright(c) 2010-2014 Intel Corporation.
 
+.. include:: <isonum.txt>
+
 System Requirements
 ===================
@@ -73,8 +75,8 @@ Compilation of the DPDK
 **Optional Tools:**
 
-*   Intel® C++ Compiler (icc). For installation, additional libraries may be required.
+*   Intel\ |reg| C++ Compiler (icc). For installation, additional libraries may be required.
     See the icc Installation Guide found in the Documentation directory under the compiler installation.
 
-*   IBM® Advance ToolChain for Powerlinux. This is a set of open source development tools and runtime libraries
+*   IBM\ |reg| Advance ToolChain for Powerlinux. This is a set of open source development tools and runtime libraries
     which allows users to take leading edge advantage of IBM's latest POWER hardware features on Linux. To install
     it, see the IBM official installation document.
-- 
2.34.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2022-03-21 14:24:08.436475218 +0000
+++ 0001-doc-replace-characters-for-R-symbol-in-Linux-guide.patch	2022-03-21 14:24:08.411777655 +0000
@@ -1 +1 @@
-From c265d58619e7fc0f72441faafec56a2a8633a15b Mon Sep 17 00:00:00 2001
+From 713a4bc48c52058172520805373103c79ef17a3a Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit c265d58619e7fc0f72441faafec56a2a8633a15b ]
+
@@ -10,2 +11,0 @@
-Cc: stable@dpdk.org
-
@@ -20 +20 @@
-index 44c3b05130..1df3ab0255 100644
+index 7bd6b03f10..25f87f6b1a 100644
@@ -30 +30 @@
-@@ -67,13 +69,13 @@ Power Management and Power Saving Functionality
+@@ -120,13 +122,13 @@ Power Management and Power Saving Functionality
@@ -48 +48 @@
-index 006a9df83e..ef6fec10d7 100644
+index 2dd711bb37..56564286ac 100644
@@ -73 +73 @@
-index b2eacac6dc..08d45898f0 100644
+index d95a78d156..cfaa2db301 100644
@@ -83 +83 @@
-@@ -69,8 +71,8 @@ Compilation of the DPDK
+@@ -73,8 +75,8 @@ Compilation of the DPDK


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

* patch 'doc: fix missing note on UIO module in Linux guide' has been queued to stable release 21.11.1
  2022-03-21 14:43 patch 'doc: replace characters for (R) symbol in Linux guide' has been queued to stable release 21.11.1 Kevin Traynor
@ 2022-03-21 14:43 ` Kevin Traynor
  2022-03-21 14:43 ` patch 'doc: fix telemetry example in cryptodev " Kevin Traynor
  2022-03-21 14:43 ` patch 'raw/ifpga: fix build with optimization' " Kevin Traynor
  2 siblings, 0 replies; 4+ messages in thread
From: Kevin Traynor @ 2022-03-21 14:43 UTC (permalink / raw)
  To: Bruce Richardson; +Cc: dpdk stable

Hi,

FYI, your patch has been queued to stable release 21.11.1

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 03/22/22. So please
shout if anyone has objections.

Also note that after the patch there's a diff of the upstream commit vs the
patch applied to the branch. This will indicate if there was any rebasing
needed to apply to the stable branch. If there were code changes for rebasing
(ie: not only metadata diffs), please double check that the rebase was
correctly done.

Queued patches are on a temporary branch at:
https://github.com/kevintraynor/dpdk-stable

This queued commit can be viewed at:
https://github.com/kevintraynor/dpdk-stable/commit/2740b29e4892fa5b6220a3090d9cbc46eaf3cd14

Thanks.

Kevin

---
From 2740b29e4892fa5b6220a3090d9cbc46eaf3cd14 Mon Sep 17 00:00:00 2001
From: Bruce Richardson <bruce.richardson@intel.com>
Date: Wed, 16 Mar 2022 13:45:44 +0000
Subject: [PATCH] doc: fix missing note on UIO module in Linux guide

[ upstream commit b421909ce7c42109ebb3236275793b1c7fd3394e ]

The docs on binding drivers was updated as part of the removal of the
igb_uio module from the main DPDK repo. As part of that update, a note
about uio_pci_generic requiring legacy interrupts was removed, but
should have been kept.

Fixes: 56bb5841fd06 ("kernel/linux: remove igb_uio")

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
---
 doc/guides/linux_gsg/linux_drivers.rst | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/doc/guides/linux_gsg/linux_drivers.rst b/doc/guides/linux_gsg/linux_drivers.rst
index 56564286ac..75af2f01e1 100644
--- a/doc/guides/linux_gsg/linux_drivers.rst
+++ b/doc/guides/linux_gsg/linux_drivers.rst
@@ -175,4 +175,9 @@ It can be loaded as shown below:
    sudo insmod igb_uio.ko
 
+.. note::
+
+    For some devices which lack support for legacy interrupts, e.g. virtual function
+    (VF) devices, the ``igb_uio`` module may be needed in place of ``uio_pci_generic``.
+
 .. note::
 
-- 
2.34.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2022-03-21 14:24:08.461169962 +0000
+++ 0002-doc-fix-missing-note-on-UIO-module-in-Linux-guide.patch	2022-03-21 14:24:08.412777659 +0000
@@ -1 +1 @@
-From b421909ce7c42109ebb3236275793b1c7fd3394e Mon Sep 17 00:00:00 2001
+From 2740b29e4892fa5b6220a3090d9cbc46eaf3cd14 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit b421909ce7c42109ebb3236275793b1c7fd3394e ]
+
@@ -12 +13,0 @@
-Cc: stable@dpdk.org
@@ -20 +21 @@
-index ef6fec10d7..bd983b4d81 100644
+index 56564286ac..75af2f01e1 100644


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

* patch 'doc: fix telemetry example in cryptodev guide' has been queued to stable release 21.11.1
  2022-03-21 14:43 patch 'doc: replace characters for (R) symbol in Linux guide' has been queued to stable release 21.11.1 Kevin Traynor
  2022-03-21 14:43 ` patch 'doc: fix missing note on UIO module " Kevin Traynor
@ 2022-03-21 14:43 ` Kevin Traynor
  2022-03-21 14:43 ` patch 'raw/ifpga: fix build with optimization' " Kevin Traynor
  2 siblings, 0 replies; 4+ messages in thread
From: Kevin Traynor @ 2022-03-21 14:43 UTC (permalink / raw)
  To: Sean Morrissey; +Cc: Ciara Power, dpdk stable

Hi,

FYI, your patch has been queued to stable release 21.11.1

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 03/22/22. So please
shout if anyone has objections.

Also note that after the patch there's a diff of the upstream commit vs the
patch applied to the branch. This will indicate if there was any rebasing
needed to apply to the stable branch. If there were code changes for rebasing
(ie: not only metadata diffs), please double check that the rebase was
correctly done.

Queued patches are on a temporary branch at:
https://github.com/kevintraynor/dpdk-stable

This queued commit can be viewed at:
https://github.com/kevintraynor/dpdk-stable/commit/4586b6b8c23cb6c54844001f5bb61204a181934f

Thanks.

Kevin

---
From 4586b6b8c23cb6c54844001f5bb61204a181934f Mon Sep 17 00:00:00 2001
From: Sean Morrissey <sean.morrissey@intel.com>
Date: Wed, 9 Mar 2022 09:33:10 +0000
Subject: [PATCH] doc: fix telemetry example in cryptodev guide

[ upstream commit 4ac7359b5c05f7712f8f85c2633e11388e68edd8 ]

Blank line added to the final telemetry example for the
cryptography device library as to fix the example
rendering.

Fixes: 1c559ee8469 ("cryptodev: add telemetry endpoint for capabilities")

Signed-off-by: Sean Morrissey <sean.morrissey@intel.com>
Acked-by: Ciara Power <ciara.power@intel.com>
---
 doc/guides/prog_guide/cryptodev_lib.rst | 1 +
 1 file changed, 1 insertion(+)

diff --git a/doc/guides/prog_guide/cryptodev_lib.rst b/doc/guides/prog_guide/cryptodev_lib.rst
index 8766bc34a9..8e403cb949 100644
--- a/doc/guides/prog_guide/cryptodev_lib.rst
+++ b/doc/guides/prog_guide/cryptodev_lib.rst
@@ -1310,4 +1310,5 @@ are shown below.
 
 #. Get the capabilities of a particular Crypto device::
+
      --> /cryptodev/caps,0
      {"/cryptodev/caps": {"crypto_caps": [<array of serialized bytes of
-- 
2.34.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2022-03-21 14:24:08.484174308 +0000
+++ 0003-doc-fix-telemetry-example-in-cryptodev-guide.patch	2022-03-21 14:24:08.414777664 +0000
@@ -1 +1 @@
-From 4ac7359b5c05f7712f8f85c2633e11388e68edd8 Mon Sep 17 00:00:00 2001
+From 4586b6b8c23cb6c54844001f5bb61204a181934f Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 4ac7359b5c05f7712f8f85c2633e11388e68edd8 ]
+
@@ -11 +12,0 @@
-Cc: stable@dpdk.org
@@ -20 +21 @@
-index ba4c592b84..edd11059bc 100644
+index 8766bc34a9..8e403cb949 100644
@@ -23 +24 @@
-@@ -1212,4 +1212,5 @@ are shown below.
+@@ -1310,4 +1310,5 @@ are shown below.


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

* patch 'raw/ifpga: fix build with optimization' has been queued to stable release 21.11.1
  2022-03-21 14:43 patch 'doc: replace characters for (R) symbol in Linux guide' has been queued to stable release 21.11.1 Kevin Traynor
  2022-03-21 14:43 ` patch 'doc: fix missing note on UIO module " Kevin Traynor
  2022-03-21 14:43 ` patch 'doc: fix telemetry example in cryptodev " Kevin Traynor
@ 2022-03-21 14:43 ` Kevin Traynor
  2 siblings, 0 replies; 4+ messages in thread
From: Kevin Traynor @ 2022-03-21 14:43 UTC (permalink / raw)
  To: Wei Huang; +Cc: Tianfei Zhang, Rosen Xu, dpdk stable

Hi,

FYI, your patch has been queued to stable release 21.11.1

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 03/22/22. So please
shout if anyone has objections.

Also note that after the patch there's a diff of the upstream commit vs the
patch applied to the branch. This will indicate if there was any rebasing
needed to apply to the stable branch. If there were code changes for rebasing
(ie: not only metadata diffs), please double check that the rebase was
correctly done.

Queued patches are on a temporary branch at:
https://github.com/kevintraynor/dpdk-stable

This queued commit can be viewed at:
https://github.com/kevintraynor/dpdk-stable/commit/dec4b1b89ec3e34c26537e3acd76b628d75d7253

Thanks.

Kevin

---
From dec4b1b89ec3e34c26537e3acd76b628d75d7253 Mon Sep 17 00:00:00 2001
From: Wei Huang <wei.huang@intel.com>
Date: Wed, 16 Mar 2022 03:26:30 -0400
Subject: [PATCH] raw/ifpga: fix build with optimization

[ upstream commit 047c25401d2b4001e7e20200a5ec05868a113290 ]

Compile failed with cflag optimization=1 on Ubuntu20.04 with GCC10.3,
it reported vendor_id and dev_id may be used uninitialized in function
ifpga_rawdev_fill_info().
Actually it's not the truth, the variables are initialized in function
ifpga_get_dev_vendor_id(). To avoid such compile error, the variables
are initialized when they are defined.

Fixes: 9c006c45d0c5 ("raw/ifpga: scan PCIe BDF device tree")

Signed-off-by: Wei Huang <wei.huang@intel.com>
Acked-by: Tianfei Zhang <tianfei.zhang@intel.com>
Acked-by: Rosen Xu <rosen.xu@intel.com>
---
 drivers/raw/ifpga/ifpga_rawdev.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/raw/ifpga/ifpga_rawdev.c b/drivers/raw/ifpga/ifpga_rawdev.c
index 2d3c4fd229..75800aed3a 100644
--- a/drivers/raw/ifpga/ifpga_rawdev.c
+++ b/drivers/raw/ifpga/ifpga_rawdev.c
@@ -226,5 +226,6 @@ static int ifpga_rawdev_fill_info(struct ifpga_rawdev *ifpga_dev)
 	unsigned int dom, bus, dev;
 	int func;
-	uint32_t dev_id, vendor_id;
+	uint32_t dev_id = 0;
+	uint32_t vendor_id = 0;
 
 	adapter = ifpga_dev ? ifpga_rawdev_get_priv(ifpga_dev->rawdev) : NULL;
-- 
2.34.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2022-03-21 14:24:08.510406455 +0000
+++ 0004-raw-ifpga-fix-build-with-optimization.patch	2022-03-21 14:24:08.415777668 +0000
@@ -1 +1 @@
-From 047c25401d2b4001e7e20200a5ec05868a113290 Mon Sep 17 00:00:00 2001
+From dec4b1b89ec3e34c26537e3acd76b628d75d7253 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 047c25401d2b4001e7e20200a5ec05868a113290 ]
+
@@ -14 +15,0 @@
-Cc: stable@dpdk.org
@@ -24 +25 @@
-index 26c1366a64..6d4117c5e8 100644
+index 2d3c4fd229..75800aed3a 100644


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

end of thread, other threads:[~2022-03-21 14:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-21 14:43 patch 'doc: replace characters for (R) symbol in Linux guide' has been queued to stable release 21.11.1 Kevin Traynor
2022-03-21 14:43 ` patch 'doc: fix missing note on UIO module " Kevin Traynor
2022-03-21 14:43 ` patch 'doc: fix telemetry example in cryptodev " Kevin Traynor
2022-03-21 14:43 ` patch 'raw/ifpga: fix build with optimization' " Kevin Traynor

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