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 DFAECA09E4; Thu, 21 Jan 2021 13:39:58 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5FA94140DA1; Thu, 21 Jan 2021 13:39:58 +0100 (CET) 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 550F7140D41 for ; Thu, 21 Jan 2021 13:39:57 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1611232796; 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=gSBBc6QaHJNaPhXanZcX+wOr+eBGdnK/qYdI1jc3Fio=; b=bkj9MHSo9H4CxqCk4/f81rSXOAjSJc/U38f7y702Lk8HEXbwhKWTwBWE4pR+zBSSmbnp1N yxxha6RYen2LnP4gO/03N7zbJGycaWsoMNIRhN3emxzXW88fnvGlM8k+pKGaxvaTPOHOCL /w48S1HE5bAybmHNYGsOc6z7A2LXNqI= 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-16-gGskh1ZNPLOPjUpEExRsLg-1; Thu, 21 Jan 2021 07:39:52 -0500 X-MC-Unique: gGskh1ZNPLOPjUpEExRsLg-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 70854DF8B8; Thu, 21 Jan 2021 12:39:51 +0000 (UTC) Received: from [10.36.110.29] (unknown [10.36.110.29]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 4879C60C74; Thu, 21 Jan 2021 12:39:49 +0000 (UTC) To: Cheng Jiang , chenbo.xia@intel.com Cc: dev@dpdk.org, Jiayu.Hu@intel.com, YvonneX.Yang@intel.com, yinan.wang@intel.com References: <20201218113327.70528-1-Cheng1.jiang@intel.com> <20210112043857.19826-1-Cheng1.jiang@intel.com> <20210112043857.19826-3-Cheng1.jiang@intel.com> From: Maxime Coquelin Message-ID: Date: Thu, 21 Jan 2021 13:39:47 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 MIME-Version: 1.0 In-Reply-To: <20210112043857.19826-3-Cheng1.jiang@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 v9 2/2] examples/vhost: refactor vhost data path 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" On 1/12/21 5:38 AM, Cheng Jiang wrote: > Change the vm2vm data path to batch enqueue for better performance. > Support latest async vhost API, refactor vhost async data path, > replace rte_atomicNN_xxx to __atomic_XXX and clean some codes. > > Signed-off-by: Cheng Jiang > Reviewed-by: Jiayu Hu > --- > examples/vhost/ioat.h | 2 +- > examples/vhost/main.c | 238 ++++++++++++++++++++++++++++++------------ > examples/vhost/main.h | 6 +- > 3 files changed, 178 insertions(+), 68 deletions(-) > Reviewed-by: Maxime Coquelin Thanks, Maxime