From patchwork Thu Jun 20 13:00:25 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Stokes, Ian" X-Patchwork-Id: 1119427 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=openvswitch.org (client-ip=140.211.169.12; helo=mail.linuxfoundation.org; envelope-from=ovs-dev-bounces@openvswitch.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=intel.com Received: from mail.linuxfoundation.org (mail.linuxfoundation.org [140.211.169.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 45V2421lmJz9s3l for ; Thu, 20 Jun 2019 23:00:33 +1000 (AEST) Received: from mail.linux-foundation.org (localhost [127.0.0.1]) by mail.linuxfoundation.org (Postfix) with ESMTP id 027DECCC; Thu, 20 Jun 2019 13:00:31 +0000 (UTC) X-Original-To: dev@openvswitch.org Delivered-To: ovs-dev@mail.linuxfoundation.org Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org [172.17.192.35]) by mail.linuxfoundation.org (Postfix) with ESMTPS id E4D48CC2 for ; Thu, 20 Jun 2019 13:00:29 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 47CB77DB for ; Thu, 20 Jun 2019 13:00:29 +0000 (UTC) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 20 Jun 2019 06:00:28 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.63,396,1557212400"; d="scan'208";a="358929947" Received: from sivswdev08.ir.intel.com (HELO localhost.localdomain) ([10.237.217.47]) by fmsmga006.fm.intel.com with ESMTP; 20 Jun 2019 06:00:27 -0700 From: Ian Stokes To: dev@openvswitch.org Date: Thu, 20 Jun 2019 14:00:25 +0100 Message-Id: <1561035625-5933-1-git-send-email-ian.stokes@intel.com> X-Mailer: git-send-email 1.7.0.7 X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on smtp1.linux-foundation.org Cc: i.maximets@samsung.com Subject: [ovs-dev] [PATCH v1 1/1] dpdk: Use DPDK 18.11.2 release. X-BeenThere: ovs-dev@openvswitch.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: ovs-dev-bounces@openvswitch.org Errors-To: ovs-dev-bounces@openvswitch.org Modify travis linux build script to use the latest DPDK stable release 18.11.2. Update docs for latest DPDK stable releases. Note: due to commit [1] in DPDK 18.11.2, the behaviour of the vhost destroy callback has changed. DPDK 18.11.2 is now the default DPDK release currently supported. DPDK 18.11.1 and below are no longer supported. [1] 2b4e951cc341 ("vhost: fix passing destroyed device to destroy callback") Signed-off-by: Ian Stokes --- .travis/linux-build.sh | 2 +- Documentation/faq/releases.rst | 2 +- Documentation/intro/install/dpdk.rst | 8 ++++---- Documentation/topics/dpdk/vhost-user.rst | 6 +++--- NEWS | 4 +++- 5 files changed, 12 insertions(+), 10 deletions(-) diff --git a/.travis/linux-build.sh b/.travis/linux-build.sh index 9d84411c5..17428fa6b 100755 --- a/.travis/linux-build.sh +++ b/.travis/linux-build.sh @@ -105,7 +105,7 @@ fi if [ "$DPDK" ] || [ "$DPDK_SHARED" ]; then if [ -z "$DPDK_VER" ]; then - DPDK_VER="18.11.1" + DPDK_VER="18.11.2" fi install_dpdk $DPDK_VER if [ "$CC" = "clang" ]; then diff --git a/Documentation/faq/releases.rst b/Documentation/faq/releases.rst index d9504d682..723d95f2f 100644 --- a/Documentation/faq/releases.rst +++ b/Documentation/faq/releases.rst @@ -177,7 +177,7 @@ Q: What DPDK version does each Open vSwitch release work with? 2.8.x 17.05.2 2.9.x 17.11.4 2.10.x 17.11.4 - 2.11.x 18.11.1 + 2.11.x 18.11.2 ============ ======= 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 149548bc1..6e5f1ea60 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 18.11.1 +- DPDK 18.11.2 - A `DPDK supported NIC`_ @@ -71,9 +71,9 @@ Install DPDK #. Download the `DPDK sources`_, extract the file and set ``DPDK_DIR``:: $ cd /usr/src/ - $ wget http://fast.dpdk.org/rel/dpdk-18.11.1.tar.xz - $ tar xf dpdk-18.11.1.tar.xz - $ export DPDK_DIR=/usr/src/dpdk-stable-18.11.1 + $ wget http://fast.dpdk.org/rel/dpdk-18.11.2.tar.xz + $ tar xf dpdk-18.11.2.tar.xz + $ export DPDK_DIR=/usr/src/dpdk-stable-18.11.2 $ cd $DPDK_DIR #. (Optional) Configure DPDK as a shared library diff --git a/Documentation/topics/dpdk/vhost-user.rst b/Documentation/topics/dpdk/vhost-user.rst index f7b4b338e..ac5f46c43 100644 --- a/Documentation/topics/dpdk/vhost-user.rst +++ b/Documentation/topics/dpdk/vhost-user.rst @@ -367,9 +367,9 @@ To begin, instantiate a guest as described in :ref:`dpdk-vhost-user` or DPDK sources to VM and build DPDK:: $ cd /root/dpdk/ - $ wget http://fast.dpdk.org/rel/dpdk-18.11.1.tar.xz - $ tar xf dpdk-18.11.1.tar.xz - $ export DPDK_DIR=/root/dpdk/dpdk-stable-18.11.1 + $ wget http://fast.dpdk.org/rel/dpdk-18.11.2.tar.xz + $ tar xf dpdk-18.11.2.tar.xz + $ export DPDK_DIR=/root/dpdk/dpdk-stable-18.11.2 $ export DPDK_TARGET=x86_64-native-linuxapp-gcc $ export DPDK_BUILD=$DPDK_DIR/$DPDK_TARGET $ cd $DPDK_DIR diff --git a/NEWS b/NEWS index a38ab258f..4c6dc3124 100644 --- a/NEWS +++ b/NEWS @@ -4,7 +4,9 @@ Post-v2.11.0 * New option 'other_config:dpdk-socket-limit' to limit amount of hugepage memory that can be used by DPDK. * Add support for vHost Post-copy Live Migration (experimental). - * OVS validated with DPDK 18.11.1 which is recommended to be used. + * DPDK: + - DPDK 18.11.2 is the new minimal supported version. + - DPDK 18.11.1 and lower is no longer supported. - OpenFlow: * Removed support for OpenFlow 1.6 (draft), which ONF abandoned. * New action "check_pkt_larger".