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 2D456A04DB; Thu, 15 Oct 2020 17:40:20 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 676CE1DD74; Thu, 15 Oct 2020 17:40:18 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by dpdk.org (Postfix) with ESMTP id D3A121DC86 for ; Thu, 15 Oct 2020 17:40:15 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1602776414; 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=fRn4OwxTysiFk4iaPQGJUUnWb7MuTgR4u1F9m8l9hes=; b=YGVDomfnlf7p8ieaQCHe2MMFBIP/oDL1YI/dtRrolTQKwbb15A50w18zHvvxataO6UaI6J JgfHJ5STrIsHvc1vdURCkWHPY5la1KrooNMMud/Ex+Da6tTSgNi65t/ydTdZpfv+foIFG7 GvDj027tk2HcGuFkr0XuOiWKL6NlWPw= 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-423-TFTZnf9pPKCgoodF8xloIg-1; Thu, 15 Oct 2020 11:40:11 -0400 X-MC-Unique: TFTZnf9pPKCgoodF8xloIg-1 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 482321084D69; Thu, 15 Oct 2020 15:40:10 +0000 (UTC) Received: from [10.36.110.38] (unknown [10.36.110.38]) by smtp.corp.redhat.com (Postfix) with ESMTPS id C18B255764; Thu, 15 Oct 2020 15:40:08 +0000 (UTC) To: Patrick Fu , dev@dpdk.org, chenbo.xia@intel.com Cc: zhihong.wang@intel.com, cheng1.jiang@intel.com References: <20200911015316.1903181-1-patrick.fu@intel.com> <20201013014546.2896162-1-patrick.fu@intel.com> From: Maxime Coquelin Message-ID: Date: Thu, 15 Oct 2020 17:40:06 +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: <20201013014546.2896162-1-patrick.fu@intel.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 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 v4 0/4] optimize async data path 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/13/20 3:45 AM, Patrick Fu wrote: > This series applies optimization and fixes to the vhost > async data path. > > v4: > - fix transfer error handling in async submit function (patch 1/4) > - add spinlock in async register function (patch 4/4) > - no changes in patch 2/4 & 3/4 > > v3: > - fix a typo in vhost error log (checkpatch warning) > - fix travis-robot ci build warning on aarch64 > > v2: > - minor rewordings on commit message > - minor fix on poll_enenque_completion to correct a packet > number calculation issue > - allocate async buffer memory on the same numa with vq > - add some comments in data path to improve readability > > Patrick Fu (4): > vhost: simplify async copy completion > vhost: dynamically allocate async memory > vhost: fix async vector buffer overrun > vhost: fix async unregister deadlock > > lib/librte_vhost/rte_vhost_async.h | 15 ++- > lib/librte_vhost/vhost.c | 80 +++++++++----- > lib/librte_vhost/vhost.h | 14 +-- > lib/librte_vhost/vhost_user.c | 10 +- > lib/librte_vhost/virtio_net.c | 162 +++++++++++++---------------- > 5 files changed, 148 insertions(+), 133 deletions(-) > Applied to dpdk-next-virtio/main Thanks, Maxime