From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by dpdk.org (Postfix) with ESMTP id 088061B612 for ; Fri, 8 Feb 2019 18:33:04 +0100 (CET) Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 4C51D81DE5; Fri, 8 Feb 2019 17:33:03 +0000 (UTC) Received: from [10.36.112.52] (ovpn-112-52.ams2.redhat.com [10.36.112.52]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 10B9857A3; Fri, 8 Feb 2019 17:33:00 +0000 (UTC) To: Xiao Wang Cc: dev@dpdk.org, tiwei.bie@intel.com, xiaolong.ye@intel.com References: <20190123130259.162871-1-xiao.w.wang@intel.com> From: Maxime Coquelin Message-ID: <824efa1c-e56e-2e08-a6c9-d9ed24a66e90@redhat.com> Date: Fri, 8 Feb 2019 18:32:58 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 In-Reply-To: <20190123130259.162871-1-xiao.w.wang@intel.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.25]); Fri, 08 Feb 2019 17:33:03 +0000 (UTC) Subject: Re: [dpdk-dev] [PATCH] vhost: remove available ring relay helper 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: , X-List-Received-Date: Fri, 08 Feb 2019 17:33:04 -0000 On 1/23/19 2:02 PM, Xiao Wang wrote: > We don't need to relay available ring and check the desc, vdpa device > can access the available ring in the guest directly. With this patch, > we can achieve better throughput and lower CPU usage. > > Signed-off-by: Xiao Wang > --- > drivers/net/ifc/ifcvf_vdpa.c | 27 ++++--- > lib/librte_vhost/rte_vdpa.h | 19 ----- > lib/librte_vhost/rte_vhost_version.map | 1 - > lib/librte_vhost/vdpa.c | 126 --------------------------------- > 4 files changed, 12 insertions(+), 161 deletions(-) > Reviewed-by: Maxime Coquelin Thanks, Maxime