From patchwork Mon Mar 12 11:12:51 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Stokes, Ian" X-Patchwork-Id: 884436 X-Patchwork-Delegate: ian.stokes@intel.com 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=none (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 400Fhc1Ktpz9sSK for ; Mon, 12 Mar 2018 22:13:03 +1100 (AEDT) Received: from mail.linux-foundation.org (localhost [127.0.0.1]) by mail.linuxfoundation.org (Postfix) with ESMTP id E3E7411E4; Mon, 12 Mar 2018 11:12:55 +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 722D911D1 for ; Mon, 12 Mar 2018 11:12:55 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 9FBEF356 for ; Mon, 12 Mar 2018 11:12:54 +0000 (UTC) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 12 Mar 2018 04:12:54 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.47,460,1515484800"; d="scan'208";a="36566628" Received: from sivswdev01.ir.intel.com (HELO localhost.localdomain) ([10.237.217.45]) by fmsmga004.fm.intel.com with ESMTP; 12 Mar 2018 04:12:53 -0700 From: Ian Stokes To: dev@openvswitch.org Date: Mon, 12 Mar 2018 11:12:51 +0000 Message-Id: <1520853171-29411-1-git-send-email-ian.stokes@intel.com> X-Mailer: git-send-email 1.7.0.7 X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on smtp1.linux-foundation.org Subject: [ovs-dev] [PATCH v2 Branch-2.9] dpdk: Use DPDK 17.11.1 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 docs and travis linux build script to use the DPDK 17.11.1 release branch to benefit from most recent bug fixes. There are no new features introduced in the DPDK release, only back ported bug fixes. For completeness these bug fixes have been documented under the 17.11.1 section in the link below. http://dpdk.org/doc/guides-17.11/rel_notes/release_17_11.html#id1 Signed-off-by: Ian Stokes --- v1 -> v2 * Remove details of the rx vectorization virtio pmd bug from vhost-user.rst as this has been fixed in DPDK 17.11.1. --- .travis/linux-build.sh | 2 +- Documentation/faq/releases.rst | 4 ++-- Documentation/intro/install/dpdk.rst | 8 ++++---- Documentation/topics/dpdk/vhost-user.rst | 32 +++++--------------------------- 4 files changed, 12 insertions(+), 34 deletions(-) diff --git a/.travis/linux-build.sh b/.travis/linux-build.sh index 8fd9aa0..004953f 100755 --- a/.travis/linux-build.sh +++ b/.travis/linux-build.sh @@ -83,7 +83,7 @@ fi if [ "$DPDK" ]; then if [ -z "$DPDK_VER" ]; then - DPDK_VER="17.11" + DPDK_VER="17.11.1" fi install_dpdk $DPDK_VER if [ "$CC" = "clang" ]; then diff --git a/Documentation/faq/releases.rst b/Documentation/faq/releases.rst index baa9e97..59252fa 100644 --- a/Documentation/faq/releases.rst +++ b/Documentation/faq/releases.rst @@ -162,9 +162,9 @@ Q: What DPDK version does each Open vSwitch release work with? 2.4.x 2.0 2.5.x 2.2 2.6.x 16.07.2 - 2.7.x 16.11.4 + 2.7.x 16.11.5 2.8.x 17.05.2 - 2.9.x 17.11 + 2.9.x 17.11.1 ============ ======= Q: I get an error like this when I configure Open vSwitch: diff --git a/Documentation/intro/install/dpdk.rst b/Documentation/intro/install/dpdk.rst index ed358d5..e0a96ac 100644 --- a/Documentation/intro/install/dpdk.rst +++ b/Documentation/intro/install/dpdk.rst @@ -40,7 +40,7 @@ Build requirements In addition to the requirements described in :doc:`general`, building Open vSwitch with DPDK will require the following: -- DPDK 17.11 +- DPDK 17.11.1 - A `DPDK supported NIC`_ @@ -69,9 +69,9 @@ Install DPDK #. Download the `DPDK sources`_, extract the file and set ``DPDK_DIR``:: $ cd /usr/src/ - $ wget http://fast.dpdk.org/rel/dpdk-17.11.tar.xz - $ tar xf dpdk-17.11.tar.xz - $ export DPDK_DIR=/usr/src/dpdk-17.11 + $ wget http://fast.dpdk.org/rel/dpdk-17.11.1.tar.xz + $ tar xf dpdk-17.11.1.tar.xz + $ export DPDK_DIR=/usr/src/dpdk-17.11.1 $ 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 95517a6..3aef795 100644 --- a/Documentation/topics/dpdk/vhost-user.rst +++ b/Documentation/topics/dpdk/vhost-user.rst @@ -320,9 +320,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-17.11.tar.xz - $ tar xf dpdk-17.11.tar.xz - $ export DPDK_DIR=/root/dpdk/dpdk-17.11 + $ wget http://fast.dpdk.org/rel/dpdk-17.11.1.tar.xz + $ tar xf dpdk-17.11.1.tar.xz + $ export DPDK_DIR=/root/dpdk/dpdk-17.11.1 $ export DPDK_TARGET=x86_64-native-linuxapp-gcc $ export DPDK_BUILD=$DPDK_DIR/$DPDK_TARGET $ cd $DPDK_DIR @@ -355,28 +355,6 @@ Finally, start the application:: # TODO -.. important:: - - DPDK v17.11 virtio PMD contains a bug in the vectorized Rx function that - affects testpmd/DPDK guest applications. As such, guest DPDK applications - should use a non-vectorized Rx function. - -The DPDK v17.11 virtio net driver contains a bug that prevents guest DPDK -applications from receiving packets when the vectorized Rx function is used. -This only occurs when guest-bound traffic is live before a DPDK application is -started within the guest, and where two or more forwarding cores are used. As -such, it is not recommended for guests which execute DPDK applications to use -the virtio vectorized Rx function. A simple method of ensuring that a non- -vectorized Rx function is used is to enable mergeable buffers for the guest, -with the following QEMU command line option:: - - mrg_rxbuf=on - -Additional details regarding the virtio driver bug are available on the -`DPDK mailing list`_. - -.. _DPDK mailing list: http://dpdk.org/ml/archives/dev/2017-December/082801.html - .. _dpdk-vhost-user-xml: Sample XML @@ -428,7 +406,7 @@ Sample XML - + @@ -530,4 +508,4 @@ issue can be found on Further information can be found in the `DPDK documentation -`__ +`__