From: Ferruh Yigit Subject: Re: [PATCH 18.05-RC3 0/2] net/virtio-user: support memory hotplug Date: Wed, 9 May 2018 12:30:06 +0100 Message-ID: References: <20180508071045.105475-1-xiao.w.wang@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org, tiwei.bie@intel.com To: Xiao Wang , maxime.coquelin@redhat.com Return-path: Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by dpdk.org (Postfix) with ESMTP id 55C47F984 for ; Wed, 9 May 2018 13:30:09 +0200 (CEST) In-Reply-To: <20180508071045.105475-1-xiao.w.wang@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 5/8/2018 8:10 AM, Xiao Wang wrote: > This patch set has dependency on http://dpdk.org/dev/patchwork/patch/39283/ > ("mem: add argument to mem event callbacks"). > > When memory is hot-added or hot-removed, the virtio-user driver has to > notify the vhost-user backend with sending a VHOST_USER_SET_MEM_TABLE > request with the new memory map as payload. This patch set registers > a mem_event callback to help on that. > > Considering some older vhost-user implementation doesn't support runtime > memory table change, e.g. DPDK 16.11, we have to pause queues explicitly > in the callback routine: > 1. disable all the active queues > 2. update memory table to vhost > 3. resume all the previous active queues > > Maxime Coquelin (2): > vhost: retranslate vring addr when memory table changes > net/virtio-user: support memory hotplug Series applied to dpdk-next-net/master, thanks.