diff mbox series

[ovs-dev,branch-2.15,v2] dpdk: Use DPDK 20.11.6 release.

Message ID 20220922123716.1341278-1-michael.phelan@intel.com
State Superseded
Headers show
Series [ovs-dev,branch-2.15,v2] dpdk: Use DPDK 20.11.6 release. | expand

Checks

Context Check Description
ovsrobot/intel-ovs-compilation success test: success

Commit Message

Phelan, Michael Sept. 22, 2022, 12:37 p.m. UTC
Update OVS CLI and relevant documentation to use DPDK 20.11.6.

A bug was introduced in DPDK 20.11.5 by the commit 33f2e3756186 ("vhost: fix unsafe vring addresses modifications").
This bug can cause a deadlock when vIOMMU is enabled and NUMA reallocation of the virtqueues happen.
A fix [1] has been posted and pushed to the DPDK 20.11 branch.
If a user wishes to avoid the issue then it is recommended to use DPDK 20.11.4 until the release of DPDK 20.11.7.
It should be noted that DPDK 20.11.4 does not benefit from the numerous bug fixes addressed since its release.
If a user wishes to benefit from these fixes it is recommended to use DPDK 20.11.6.

[1] https://patches.dpdk.org/project/dpdk/patch/20220725203206.427083-2-david.marchand@redhat.com/

Signed-off-by: Michael Phelan <michael.phelan@intel.com>

---
v2:
  - Update recommended DPDK version for older OvS versions in Documentation.

---
---
 .ci/linux-build.sh                   |  2 +-
 Documentation/faq/releases.rst       |  6 +++---
 Documentation/intro/install/dpdk.rst |  8 ++++----
 NEWS                                 | 15 +++++++++++++++
 4 files changed, 23 insertions(+), 8 deletions(-)
diff mbox series

Patch

diff --git a/.ci/linux-build.sh b/.ci/linux-build.sh
index ea51dec8e..ed5fbbb05 100755
--- a/.ci/linux-build.sh
+++ b/.ci/linux-build.sh
@@ -201,7 +201,7 @@  fi
 
 if [ "$DPDK" ] || [ "$DPDK_SHARED" ]; then
     if [ -z "$DPDK_VER" ]; then
-        DPDK_VER="20.11.4"
+        DPDK_VER="20.11.6"
     fi
     install_dpdk $DPDK_VER
     if [ "$CC" = "clang" ]; then
diff --git a/Documentation/faq/releases.rst b/Documentation/faq/releases.rst
index 4c8b97de6..25574fba4 100644
--- a/Documentation/faq/releases.rst
+++ b/Documentation/faq/releases.rst
@@ -204,9 +204,9 @@  Q: What DPDK version does each Open vSwitch release work with?
     2.10.x       17.11.10
     2.11.x       18.11.9
     2.12.x       18.11.9
-    2.13.x       19.11.10
-    2.14.x       19.11.10
-    2.15.x       20.11.4
+    2.13.x       19.11.13
+    2.14.x       19.11.13
+    2.15.x       20.11.6
     ============ ========
 
 Q: Are all the DPDK releases that OVS versions work with maintained?
diff --git a/Documentation/intro/install/dpdk.rst b/Documentation/intro/install/dpdk.rst
index f5edfa756..bd34ffde6 100644
--- a/Documentation/intro/install/dpdk.rst
+++ b/Documentation/intro/install/dpdk.rst
@@ -42,7 +42,7 @@  Build requirements
 In addition to the requirements described in :doc:`general`, building Open
 vSwitch with DPDK will require the following:
 
-- DPDK 20.11.4
+- DPDK 20.11.6
 
 - A `DPDK supported NIC`_
 
@@ -73,9 +73,9 @@  Install DPDK
 #. Download the `DPDK sources`_, extract the file and set ``DPDK_DIR``::
 
        $ cd /usr/src/
-       $ wget https://fast.dpdk.org/rel/dpdk-20.11.4.tar.xz
-       $ tar xf dpdk-20.11.4.tar.xz
-       $ export DPDK_DIR=/usr/src/dpdk-stable-20.11.4
+       $ wget https://fast.dpdk.org/rel/dpdk-20.11.6.tar.xz
+       $ tar xf dpdk-20.11.6.tar.xz
+       $ export DPDK_DIR=/usr/src/dpdk-stable-20.11.6
        $ cd $DPDK_DIR
 
 #. Configure and install DPDK using Meson
diff --git a/NEWS b/NEWS
index f58c2c9e4..fb6f766d1 100644
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,20 @@ 
 v2.15.6 - xx xxx xxxx
 ---------------------
+   - DPDK:
+     * OVS validated with DPDK 20.11.6.
+       A bug was introduced in DPDK 20.11.5 by the commit
+       33f2e3756186 ("vhost: fix unsafe vring addresses modifications").
+       This bug can cause a deadlock when vIOMMU is enabled and NUMA
+       reallocation of the virtqueues happen.
+       A fix has been posted and pushed to the DPDK 20.11 branch.
+       It can be found here:
+       https://patches.dpdk.org/project/dpdk/patch/20220725203206.427083-2-david.marchand@redhat.com/.
+       If a user wishes to avoid the issue then it is recommended to use
+       DPDK 20.11.4 until the release of DPDK 20.11.7.
+       It should be noted that DPDK 20.11.4 does not benefit from the numerous
+       bug fixes addressed since its release.
+       If a user wishes to benefit from these fixes it is recommended to use
+       DPDK 20.11.6.
 
 v2.15.5 - 15 Jun 2022
 ---------------------