On 22/09/2022 13:40, Michael Phelan wrote:
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/[email protected]/
Signed-off-by: Michael Phelan <[email protected]>
For branches 2.15 [0] and 2.16 [1] I ran github actions and it failed.
For 2.16 branch I removed the patch and it passed [2]. It seems like
that the meson used (0.47.1 - which is min version for 20.11) does not
like the 20.11.5/6 package, or there is some other github effect. It is
working fine with 20.11.4.
Afterwards, checking the ovs-build mailing [4] list I also see failures
here and an additional failure for 2.17 branch. So all these failures
need to checked.
[1] https://github.com/kevintraynor/ovs/actions/runs/3111862351
[2] https://github.com/kevintraynor/ovs/actions/runs/3111865180
[3] https://github.com/kevintraynor/ovs/actions/runs/3112089634
[4]
https://mail.openvswitch.org/pipermail/ovs-build/2022-September/date.html
---
v2:
- Update recommended DPDK version for older OvS versions in Documentation.
---
---
.ci/linux-build.sh | 2 +-
Documentation/faq/releases.rst | 8 ++++----
Documentation/intro/install/dpdk.rst | 8 ++++----
NEWS | 15 +++++++++++++++
4 files changed, 24 insertions(+), 9 deletions(-)
diff --git a/.ci/linux-build.sh b/.ci/linux-build.sh
index c06e88c57..dd0a57850 100755
--- a/.ci/linux-build.sh
+++ b/.ci/linux-build.sh
@@ -216,7 +216,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 d62d575eb..977822984 100644
--- a/Documentation/faq/releases.rst
+++ b/Documentation/faq/releases.rst
@@ -205,10 +205,10 @@ 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.16.x 20.11.4
+ 2.13.x 19.11.13
+ 2.14.x 19.11.13
+ 2.15.x 20.11.6
+ 2.16.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 9ce5285c5..8bc6043f7 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 c6b9c2ca8..76ecb2b80 100644
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,20 @@
v2.16.5 - 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/[email protected]/.
+ 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.16.4 - 15 Jun 2022
---------------------
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev