From patchwork Mon Jan 29 06:59:48 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yuanhan Liu X-Patchwork-Id: 867277 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; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=fridaylinux.org header.i=@fridaylinux.org header.b="OWLk40VG"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.b="aCizq5wM"; dkim-atps=neutral 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 3zVgvb4Vtsz9sCZ for ; Tue, 30 Jan 2018 07:23:55 +1100 (AEDT) Received: from mail.linux-foundation.org (localhost [127.0.0.1]) by mail.linuxfoundation.org (Postfix) with ESMTP id DF62229F2; Mon, 29 Jan 2018 20:04:54 +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 C336F1A25 for ; Mon, 29 Jan 2018 07:00:11 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 59FA5149 for ; Mon, 29 Jan 2018 07:00:11 +0000 (UTC) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id B752720CB8; Mon, 29 Jan 2018 02:00:10 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute1.internal (MEProxy); Mon, 29 Jan 2018 02:00:10 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fridaylinux.org; h=cc:date:from:in-reply-to:message-id:references:subject:to :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=j4kUyPT1ZcUjgV0Qv SuBcanA1pRR43pnhnevPpiM/e8=; b=OWLk40VGn5DhWfFggGj6PejvJG3Sl+quv Gy7SxWIkakqmWF/VYk1D9P8ua0t9nQhE44f69Ph8gitTPsj8SKKINUUSA5hKSCfD 6LeIuZf+SH7fbVCyx7wTQhoN/go1PcQ4cjNryKRWnLr8qCza/g62P8LvILV+Mu1M 1wvRf8vcu2AQiaTJ4zsY0xClf5CDJb38NNcSrUNO/5wq7cMfYbJpNIqxSsm7uMMH inkrn7lw75l9oKEOd97AbInwgjaoeP479rjn4bkQJVOjc2vjhneJmpAI5zNbkvkb F5/7a+FAkMPZddl2hXTVkgZeO77baZU1+FfoLqSrMSFp6CLq0zETw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:date:from:in-reply-to:message-id :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; bh=j4kUyPT1ZcUjgV0QvSuBcanA1pRR43pnhnevPpiM/e8=; b=aCizq5wM 6fDuG40qbUnZdpSuCUJ2WeBpDU/zAqy6roLw9Q7vyUUXDfyy3UK1gAsuh3qElg6e wjDTCoihHWLYcAlv+23EjsG4DF2yUcyKDHHvLSMlwL4hzv9u5ycqLD1t4AVwjA9Q nLu/+HCF+cu/Ucgwz3eGN25vu/B0Dr7HIfUBgneso0ow0yL1FmNRwYCtRaZpC6lY VsaDGyD2IrPTmJYwV6lE1nX2wAY7k/1K8TUK6Vcqdjn61hpa5m53HVxPZbL5ijug IBhqFu2wujc43AEUHtKAukq5V+rCQaxSMu3E9voCmEKWcNFX787L7tBNBkgOSssL d1AAhJlemF2m9A== X-ME-Sender: Received: from yliu-dev.mtl.com (unknown [220.177.86.229]) by mail.messagingengine.com (Postfix) with ESMTPA id 597647E34D; Mon, 29 Jan 2018 02:00:08 -0500 (EST) From: Yuanhan Liu To: dev@openvswitch.org Date: Mon, 29 Jan 2018 14:59:48 +0800 Message-Id: <1517209188-16608-7-git-send-email-yliu@fridaylinux.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1517209188-16608-1-git-send-email-yliu@fridaylinux.org> References: <1517209188-16608-1-git-send-email-yliu@fridaylinux.org> X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on smtp1.linux-foundation.org Cc: Simon Horman Subject: [ovs-dev] [PATCH v7 6/6] Documentation: document ovs-dpdk flow offload 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 And mark it as experimental. Signed-off-by: Yuanhan Liu --- Documentation/howto/dpdk.rst | 17 +++++++++++++++++ NEWS | 1 + 2 files changed, 18 insertions(+) diff --git a/Documentation/howto/dpdk.rst b/Documentation/howto/dpdk.rst index 40f9d96..047525c 100644 --- a/Documentation/howto/dpdk.rst +++ b/Documentation/howto/dpdk.rst @@ -727,3 +727,20 @@ devices to bridge ``br0``. Once complete, follow the below steps: Check traffic on multiple queues:: $ cat /proc/interrupts | grep virtio + +.. _dpdk-flow-hardware-offload: + +Flow Hardware Offload (Experimental) +------------------------------------ + +The flow hardware offload is disabled by default and can be enabled by:: + + $ ovs-vsctl set Open_vSwitch . other_config:hw-offload=true + +So far only partial flow offload is implemented. Moreover, it only works +with PDM drivers have the rte flow action "MARK + RSS" support. + +The validated NICs are: + +- Mellanox (ConnectX-4, ConnectX-4 Lx, ConnectX-5) +- Napatech (NT200B01) diff --git a/NEWS b/NEWS index d7d585b..d0c9f44 100644 --- a/NEWS +++ b/NEWS @@ -54,6 +54,7 @@ v2.9.0 - xx xxx xxxx * New appctl command 'dpif-netdev/pmd-rxq-rebalance' to rebalance rxq to pmd assignments. * Add rxq utilization of pmd to appctl 'dpif-netdev/pmd-rxq-show'. + * Add experimental flow hardware offload support - Userspace datapath: * Output packet batching support. - vswitchd: