From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yuanhan Liu Subject: Re: [PATCH] vhost: do deep copy while reallocate vq Date: Wed, 17 Jan 2018 22:46:21 +0800 Message-ID: <20180117143708.GV29540@yliu-mob> References: <1516015939-11266-1-git-send-email-junjie.j.chen@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: maxime.coquelin@redhat.com, dev@dpdk.org To: Junjie Chen Return-path: Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id B9005A490 for ; Wed, 17 Jan 2018 15:46:34 +0100 (CET) Content-Disposition: inline In-Reply-To: <1516015939-11266-1-git-send-email-junjie.j.chen@intel.com> 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 Mon, Jan 15, 2018 at 06:32:19AM -0500, Junjie Chen wrote: > When vhost reallocate dev and vq for NUMA enabled case, it doesn't perform > deep copy, which lead to 1) zmbuf list not valid 2) remote memory access. > This patch is to re-initlize the zmbuf list and also do the deep copy. > > Signed-off-by: Junjie Chen > --- Applied to dpdk-next-virtio. Thanks. --yliu