From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id C1470A04DD; Thu, 22 Oct 2020 11:10:48 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 47FEF5AAE; Thu, 22 Oct 2020 11:10:46 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [63.128.21.124]) by dpdk.org (Postfix) with ESMTP id CF3D45AAB for ; Thu, 22 Oct 2020 11:10:43 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1603357842; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=MMFSg9NdkE5UFtPv3GF9zLzv5NYfQuR3/8n51N5y4l8=; b=G/xqjyFJGaoi2bmfQDXz853o391U3Yhs+cHuJQT6xhL/lWZ7Xoeeh+XbD7V+caxUNnm45A uw1jffFSQ9NJ3uEjZ2Kn/IO4ZipbTndl+rEcANGY3GUzzNSuQoqLLEYc6KWPIAMnFNkUuT jIRopMeGNm+JqRBDXOXGTOWpB2wekP4= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-360-12pgISrcMr-oz9z_TIOsiA-1; Thu, 22 Oct 2020 05:10:39 -0400 X-MC-Unique: 12pgISrcMr-oz9z_TIOsiA-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 6D71B1882FA0; Thu, 22 Oct 2020 09:10:38 +0000 (UTC) Received: from [10.36.110.30] (unknown [10.36.110.30]) by smtp.corp.redhat.com (Postfix) with ESMTPS id E1AFD5D9F1; Thu, 22 Oct 2020 09:10:36 +0000 (UTC) To: Cheng Jiang , chenbo.xia@intel.com Cc: dev@dpdk.org, patrick.fu@intel.com, YvonneX.Yang@intel.com References: <20201021065044.31839-1-Cheng1.jiang@intel.com> <20201022064625.90974-1-Cheng1.jiang@intel.com> From: Maxime Coquelin Message-ID: <1f043e40-886e-88d2-b31b-e0c02e91f85e@redhat.com> Date: Thu, 22 Oct 2020 11:10:34 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.3.1 MIME-Version: 1.0 In-Reply-To: <20201022064625.90974-1-Cheng1.jiang@intel.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=maxime.coquelin@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v9 0/4] add async data path in vhost sample X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Hi, On 10/22/20 8:46 AM, Cheng Jiang wrote: > This patch set makes vhost-vswitch be able to use vhost async APIs > for enqueue operations. Demonstrated how the application > leverage IOAT DMA channel with vhost async APIs. > > We introduce two parameters to enable DMA acceleration for Tx > operations of queues: > -dma_type This parameter is used to specify DMA type for async > vhost-user net driver. > -dmas This parameter is used to specify the assigned DMA device of a > vhost device and enable async vhost data path. > > --- > v9: > * Optimized code structure to solve compilation issue on non-x86 platforms > > v8: > * Changed meson build file due to the change of ioat component name > > v7: > * Improved IOAT callbacks and added some comments > > v6: > * Cleand code and rebased for latest code > > v5: > * Improved meson build file and fixed dependency problem > > v4: > * Code rebased for latest IOAT driver > > v3: > * Fixed a coding style problem > > v2: > * Changed meson build file to fix dependency problem > * Added parameter description in usage function > * Optimized parameter settings and parsing function > * Optimized abstraction, moved some code to ioat.c > > Cheng Jiang (4): > example/vhost: add async vhost args parsing function > example/vhost: add support for vhost async data path > doc: update vhost sample doc for vhost async data path > doc: update release notes for vhost sample > > doc/guides/rel_notes/release_20_11.rst | 6 + > doc/guides/sample_app_ug/vhost.rst | 11 ++ > examples/vhost/ioat.c | 198 +++++++++++++++++++++++++ > examples/vhost/ioat.h | 47 ++++++ > examples/vhost/main.c | 93 +++++++++++- > examples/vhost/main.h | 1 + > examples/vhost/meson.build | 5 + > 7 files changed, 359 insertions(+), 2 deletions(-) > create mode 100644 examples/vhost/ioat.c > create mode 100644 examples/vhost/ioat.h > > -- > 2.27.0 > It does not build: http://mails.dpdk.org/archives/test-report/2020-October/161193.html Maxime