From mboxrd@z Thu Jan 1 00:00:00 1970 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) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 164D820D21; Wed, 17 Jan 2018 09:46:34 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute1.internal (MEProxy); Wed, 17 Jan 2018 09:46:34 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fridaylinux.org; h=cc:content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; bh=CuTKeT6pBESPPMZ9ltbu5m5gAMRnaheVddAAKrs0Kss=; b=SB6e7Jf1 J27CyPWHN49HcHS9wtu8IZdxitkbEeXz5258ZHsLVsdz0qn4n6nszWR0FwTHoYn+ YB6bQ0ROSkNePbzB0zjRgtQkWbv2MZTmnP/X2BcOhmnVAv6jNY19h90nWlDecfGZ X5CiDLztqvpIE32dauZNsPeBq/ouv9vo+tCmmSEna+PLzLPLm2r72/IiQoj42qlj AzpQmnBSUIKq9myShWhyqC85z0h9zFDf677/Yju4g9u3Zjjp9cqPe3zOZg/0gkio cwvwImq9yc5oRF8J4Hf2RlDtLue0MLhCV1neiNE4xjHAtWyLFJ6iErxKLRO6zYku +iKFu8cJsbSb4w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; bh=CuTKeT6pBESPPMZ9ltbu5m5gAMRna heVddAAKrs0Kss=; b=MSSCvR4uC+LE42Vc13vCqF/oc5qiYctcjn2jfTSOkfs2L Z3jVAZyd4PSpkekUezFy/KtR7BFL+SaJfjDJD9xwTFWgJMoRSE6++/qugjuMQSKb mcmStMguHXHEiMeHTdZwbBhnGBH1TZpp8QvMej1pHlWXLRddpd+98ZmuEdDjvisj jc+MTwhhC3ARlo7hDIZe+3mJHrD+3M146ADmXp3p6IPzEiJNKwHDWOtcXgJMCnrq AzGIyqKKnEnioUGWNE9lgR4NE1+ZJftc+Hoq0m6TnbSDpRvyXDPsPROMC9AVzasR yvWE3EKOXtgOUSh1/Z0oLy9R5bIBQCbyhn+uztkRA== X-ME-Sender: Received: from yliu-mob (unknown [115.148.90.22]) by mail.messagingengine.com (Postfix) with ESMTPA id 0179F24800; Wed, 17 Jan 2018 09:46:31 -0500 (EST) Date: Wed, 17 Jan 2018 22:46:21 +0800 From: Yuanhan Liu To: Junjie Chen Cc: maxime.coquelin@redhat.com, dev@dpdk.org 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 Content-Disposition: inline In-Reply-To: <1516015939-11266-1-git-send-email-junjie.j.chen@intel.com> User-Agent: Mutt/1.5.24 (2015-08-30) Subject: Re: [dpdk-dev] [PATCH] vhost: do deep copy while reallocate vq 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: Wed, 17 Jan 2018 14:46:34 -0000 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