From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id CCC6EA00BE; Thu, 10 Feb 2022 16:14:14 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C114542714; Thu, 10 Feb 2022 16:14:14 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mails.dpdk.org (Postfix) with ESMTP id BFCD3426EE for ; Thu, 10 Feb 2022 16:14:12 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1644506052; 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=iUeRrS3yeDTaqiHGuzp2R+uX3G0xkA5Bh7ICQTwZ78E=; b=KYf0f8fhJgk/Rt6blpzvJNgN9Q8bG/yfobESDmg+t6jqo2zesw1sstHrjgGIeDg/jKD/27 00AXFDtEwrwpyM77zsekGuFr8aQYcRkdDGEaAV0nxnD/+kqzhkz1A8haqhEAZMndr+tFT2 iEPCZum2m+A+pSvEHmGlbcAn3uTtAYk= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-369-PYM41AuUO1OXpXoU78ZALQ-1; Thu, 10 Feb 2022 10:14:09 -0500 X-MC-Unique: PYM41AuUO1OXpXoU78ZALQ-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 7A281835BCC; Thu, 10 Feb 2022 15:14:07 +0000 (UTC) Received: from [10.39.208.19] (unknown [10.39.208.19]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 5288784D13; Thu, 10 Feb 2022 15:14:05 +0000 (UTC) Message-ID: Date: Thu, 10 Feb 2022 16:14:03 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: [PATCH v4 1/1] vhost: integrate dmadev in asynchronous data-path To: Jiayu Hu , dev@dpdk.org Cc: i.maximets@ovn.org, chenbo.xia@intel.com, xuan.ding@intel.com, cheng1.jiang@intel.com, liangma@liangbit.com, Sunil Pai G References: <20220208104031.1885640-2-jiayu.hu@intel.com> <20220209125145.1918050-1-jiayu.hu@intel.com> <20220209125145.1918050-2-jiayu.hu@intel.com> From: Maxime Coquelin In-Reply-To: <20220209125145.1918050-2-jiayu.hu@intel.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 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-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On 2/9/22 13:51, Jiayu Hu wrote: > Since dmadev is introduced in 21.11, to avoid the overhead of vhost DMA > abstraction layer and simplify application logics, this patch integrates > dmadev in asynchronous data path. > > Signed-off-by: Jiayu Hu > Signed-off-by: Sunil Pai G > --- > doc/guides/prog_guide/vhost_lib.rst | 100 +++++----- > examples/vhost/Makefile | 2 +- > examples/vhost/ioat.c | 218 ---------------------- > examples/vhost/ioat.h | 63 ------- > examples/vhost/main.c | 253 ++++++++++++++++++++----- > examples/vhost/main.h | 11 ++ > examples/vhost/meson.build | 6 +- > lib/vhost/meson.build | 2 +- > lib/vhost/rte_vhost.h | 2 + > lib/vhost/rte_vhost_async.h | 145 ++++----------- > lib/vhost/version.map | 3 + > lib/vhost/vhost.c | 121 ++++++++---- > lib/vhost/vhost.h | 85 ++++++++- > lib/vhost/virtio_net.c | 277 ++++++++++++++++++++++------ > 14 files changed, 693 insertions(+), 595 deletions(-) > delete mode 100644 examples/vhost/ioat.c > delete mode 100644 examples/vhost/ioat.h > Applied to dpdk-next-virtio/main. Thanks, Maxime