From: Maxime Coquelin Subject: Re: [PATCH 2/3] net/virtio-user: avoid parsing process mappings Date: Tue, 11 Sep 2018 14:58:20 +0200 Message-ID: References: <20180905042852.6212-1-tiwei.bie@intel.com> <20180905042852.6212-3-tiwei.bie@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Cc: seanbh@gmail.com, anatoly.burakov@intel.com To: Tiwei Bie , zhihong.wang@intel.com, dev@dpdk.org Return-path: Received: from mx1.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by dpdk.org (Postfix) with ESMTP id E4FB84C90 for ; Tue, 11 Sep 2018 14:58:23 +0200 (CEST) In-Reply-To: <20180905042852.6212-3-tiwei.bie@intel.com> Content-Language: en-US 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 09/05/2018 06:28 AM, Tiwei Bie wrote: > Recently some memory APIs were introduced to allow users to > get the file descriptor and offset for each memory segment. > We can leverage those APIs to get rid of the /proc magic on > memory table preparation in vhost-user backend. > > Signed-off-by: Tiwei Bie > --- > drivers/net/virtio/virtio_user/vhost_user.c | 211 +++++++++----------- > 1 file changed, 90 insertions(+), 121 deletions(-) > Nice to get rid off the /proc parsing! Reviewed-by: Maxime Coquelin Thanks, Maxime