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 8BDB3A04DE; Fri, 23 Oct 2020 13:23:26 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 6A442A964; Fri, 23 Oct 2020 13:23:25 +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 763D5A961 for ; Fri, 23 Oct 2020 13:23:24 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1603452203; 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=as/q8ljtDvfp9dGLD3iMsqIYMQ+SGuh9Ip239dNG2yU=; b=d8ELTPL1L9x4Vnc8+WqP51oOHr9gux0o9kV0Jq/Ds3ELKapq04btLsaBKhD/vSrDpQsX/d kWwdRFcx4m3IEYw/2CWLXUzipKmdyEM9kzGbJVy9dJEQjOTVe4sLR0UrdO0dNdyMhj0lZB FyG8Jc21fPwf5HxaHtvvdxYqcjvTsJY= 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-258-MNgYnclJPQKY_Lvj94wLpA-1; Fri, 23 Oct 2020 07:23:19 -0400 X-MC-Unique: MNgYnclJPQKY_Lvj94wLpA-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 0ECC21084D67; Fri, 23 Oct 2020 11:23:18 +0000 (UTC) Received: from [10.36.110.30] (unknown [10.36.110.30]) by smtp.corp.redhat.com (Postfix) with ESMTPS id AE8881002397; Fri, 23 Oct 2020 11:23:16 +0000 (UTC) To: Cheng Jiang , chenbo.xia@intel.com Cc: dev@dpdk.org, patrick.fu@intel.com, YvonneX.Yang@intel.com References: <20200910064351.35513-1-Cheng1.jiang@intel.com> <20201022085909.112403-1-Cheng1.jiang@intel.com> From: Maxime Coquelin Message-ID: <893690b2-0605-1445-fc31-3186a2ab21d7@redhat.com> Date: Fri, 23 Oct 2020 13:23:15 +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: <20201022085909.112403-1-Cheng1.jiang@intel.com> X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 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 v10 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" On 10/22/20 10:59 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. > > --- > v10: > * Fixed compilation issue on specific environment > > 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 | 201 +++++++++++++++++++++++++ > examples/vhost/ioat.h | 45 ++++++ > examples/vhost/main.c | 93 +++++++++++- > examples/vhost/main.h | 1 + > examples/vhost/meson.build | 5 + > 7 files changed, 360 insertions(+), 2 deletions(-) > create mode 100644 examples/vhost/ioat.c > create mode 100644 examples/vhost/ioat.h > > -- > 2.27.0 > Applied to dpdk-next-virtio/main. Thanks, Maxime