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 E6EA6A0548; Fri, 18 Jun 2021 16:10:18 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 70A1D40150; Fri, 18 Jun 2021 16:10:18 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mails.dpdk.org (Postfix) with ESMTP id 8804140142 for ; Fri, 18 Jun 2021 16:10:16 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1624025416; 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=Ixd5VwMggV39ZqQy47k6HbLs8PTcdjhhOKdgP5ytgnQ=; b=fYCMRkDt31BZMMGodP+qd192E02SWfyb9Pyy7f5sUxtc8jhPpjh5QpSnvaaxguwErM8Azg QmaColvhERymNiClsPjE2LlfphPhn5VdfDXuxCulWLfPKe9q/9sexifjSyYKph5908OJ+5 siYA/trPY0vd/ZChIxRoEDw6Fpqa6FM= 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-328-XjdrK3kmPb66a5aoPFTBwg-1; Fri, 18 Jun 2021 10:10:14 -0400 X-MC-Unique: XjdrK3kmPb66a5aoPFTBwg-1 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 40527BBEE0; Fri, 18 Jun 2021 14:10:13 +0000 (UTC) Received: from [10.36.110.21] (unknown [10.36.110.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 4175F60BE5; Fri, 18 Jun 2021 14:10:12 +0000 (UTC) To: Wenwu Ma , dev@dpdk.org Cc: chenbo.xia@intel.com, cheng1.jiang@intel.com References: <20210602083110.5530-1-yuanx.wang@intel.com> <20210618200305.662515-1-wenwux.ma@intel.com> From: Maxime Coquelin Message-ID: Date: Fri, 18 Jun 2021 16:10:10 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: <20210618200305.662515-1-wenwux.ma@intel.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 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 v2 0/4] vhost: support async dequeue for split ring 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 Sender: "dev" Hi, It seems the series does not build: http://mails.dpdk.org/archives/test-report/2021-June/199414.html Could you please look at it? Thanks, Maxime On 6/18/21 10:03 PM, Wenwu Ma wrote: > This patch implements asynchronous dequeue data path for split ring. > A new asynchronous dequeue function is introduced. With this function, > the application can try to receive packets from the guest with > offloading large copies to the DMA engine, thus saving precious CPU > cycles. > > v2: > - Refactor vhost datapath as preliminary patch for this series. > - The change of using new API in examples/vhost is put into a > dedicated patch. > - Check queue_id value before using it. > - Async dequeue performance enhancement. 160% performance improvement > for v2 vs. v1. > - Async dequeue API name change from rte_vhost_try_dequeue_burst to > rte_vhost_async_try_dequeue_burst. > - The completed package updates the used ring directly. > > Wenwu Ma (3): > examples/vhost: refactor vhost enqueue and dequeue datapaths. > examples/vhost: use a new API to query remaining ring space > examples/vhost: support vhost async dequeue data path > > Yuan Wang (1): > vhost: support async dequeue for split ring > > doc/guides/prog_guide/vhost_lib.rst | 10 + > doc/guides/sample_app_ug/vhost.rst | 9 +- > examples/vhost/ioat.c | 40 +- > examples/vhost/ioat.h | 4 + > examples/vhost/main.c | 225 +++++++---- > examples/vhost/main.h | 38 +- > examples/vhost/virtio_net.c | 16 +- > lib/vhost/rte_vhost_async.h | 44 ++- > lib/vhost/version.map | 3 + > lib/vhost/virtio_net.c | 553 ++++++++++++++++++++++++++++ > 10 files changed, 839 insertions(+), 103 deletions(-) >