From patchwork Thu Sep 29 17:03:10 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Phelan, Michael" X-Patchwork-Id: 1684570 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=openvswitch.org (client-ip=140.211.166.136; helo=smtp3.osuosl.org; envelope-from=ovs-dev-bounces@openvswitch.org; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=BjAErkaC; dkim-atps=neutral Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Mdfp66gTpz1yqS for ; Fri, 30 Sep 2022 03:03:41 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 80146610EC; Thu, 29 Sep 2022 17:03:39 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org 80146610EC Authentication-Results: smtp3.osuosl.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=BjAErkaC X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nUwMezKJf01Q; Thu, 29 Sep 2022 17:03:38 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [IPv6:2605:bc80:3010:104::8cd3:938]) by smtp3.osuosl.org (Postfix) with ESMTPS id 69B8260B2B; Thu, 29 Sep 2022 17:03:37 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org 69B8260B2B Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id 18710C0033; Thu, 29 Sep 2022 17:03:37 +0000 (UTC) X-Original-To: dev@openvswitch.org Delivered-To: ovs-dev@lists.linuxfoundation.org Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by lists.linuxfoundation.org (Postfix) with ESMTP id 22ABCC002D for ; Thu, 29 Sep 2022 17:03:36 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id DAE1C4064C for ; Thu, 29 Sep 2022 17:03:35 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org DAE1C4064C Authentication-Results: smtp2.osuosl.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=BjAErkaC X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1EWfr3cjJO78 for ; Thu, 29 Sep 2022 17:03:34 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.8.0 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org A645A40145 Received: from mga06.intel.com (mga06b.intel.com [134.134.136.31]) by smtp2.osuosl.org (Postfix) with ESMTPS id A645A40145 for ; Thu, 29 Sep 2022 17:03:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1664471014; x=1696007014; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=Te4IPmBRd1hlfeLEV67C2QFVRwaOKA7Hzz+hgx6fQD8=; b=BjAErkaC7FSbWaeV+wqlHdbNBKCcnmmdLY8rW7ys1UOFq/TL8AmNdq2+ NDWHxNAJ69pOOfojiuh5a71EhxJda0XamjlgAA7Xb80TZTSi4BPsGqIOe JofJBeKsL5jUIUJuUx2QKF+ULy39lG/swJ0DkeWZH0tkcxd/wGBL7gkXW v03BgmjEot3kioH5TTncSOOWjVvZTH3jw2CZvvX66PUvHs4lrScBs1jCg xrvgZiSyZm4aHdLpxkSD4TMDTj0pnYjwG8LfFWdprTJ1489t/Y4aHiMZ/ yKZdhc6Rst4tHXzaIJVr3Ovr2AKqT5AAahs0zZruRYXlH9YrJ7Jn8LWZV A==; X-IronPort-AV: E=McAfee;i="6500,9779,10485"; a="363807805" X-IronPort-AV: E=Sophos;i="5.93,355,1654585200"; d="scan'208";a="363807805" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Sep 2022 10:03:18 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10485"; a="653198071" X-IronPort-AV: E=Sophos;i="5.93,355,1654585200"; d="scan'208";a="653198071" Received: from silpixa00401063.ir.intel.com (HELO silpixa00401063.ger.corp.intel.com) ([10.237.223.107]) by orsmga008.jf.intel.com with ESMTP; 29 Sep 2022 10:03:15 -0700 From: Michael Phelan To: dev@openvswitch.org Date: Thu, 29 Sep 2022 17:03:10 +0000 Message-Id: <20220929170310.1735511-1-michael.phelan@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220922124011.1341381-1-michael.phelan@intel.com> References: <20220922124011.1341381-1-michael.phelan@intel.com> MIME-Version: 1.0 Cc: i.maximets@ovn.org, maxime.coquelin@redhat.com, david.marchand@redhat.com Subject: [ovs-dev] [branch-2.16, v3] dpdk: Use DPDK 20.11.6 release. X-BeenThere: ovs-dev@openvswitch.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ovs-dev-bounces@openvswitch.org Sender: "dev" 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 Acked-by: Kevin Traynor --- v3: - Update recommended meson version. - Refactor commit message. v2: - Update recommended DPDK version for older OvS versions in Documentation. --- --- .ci/linux-build.sh | 2 +- .ci/linux-prepare.sh | 2 +- Documentation/faq/releases.rst | 8 ++++---- Documentation/intro/install/dpdk.rst | 8 ++++---- NEWS | 16 ++++++++++++++++ 5 files changed, 26 insertions(+), 10 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/.ci/linux-prepare.sh b/.ci/linux-prepare.sh index 8d0c37d9d..26a4538c6 100755 --- a/.ci/linux-prepare.sh +++ b/.ci/linux-prepare.sh @@ -27,7 +27,7 @@ cd .. pip3 install --disable-pip-version-check --user wheel pip3 install --disable-pip-version-check --user \ flake8 'hacking>=3.0' sphinx pyOpenSSL setuptools -pip3 install --user 'meson==0.47.1' +pip3 install --user 'meson==0.48.1' if [ "$M32" ]; then # Installing 32-bit libraries. 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..578b845dd 100644 --- a/NEWS +++ b/NEWS @@ -1,5 +1,21 @@ v2.16.5 - xx xxx xxxx --------------------- + - DPDK: + * OVS validated with DPDK 20.11.6. + DPDK 20.11.6 requires a meson version of 0.48.1 or higher. + 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.16.4 - 15 Jun 2022 ---------------------