From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id 7769A1B44B for ; Fri, 2 Nov 2018 14:43:32 +0100 (CET) X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 02 Nov 2018 06:43:31 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,456,1534834800"; d="scan'208";a="100954676" Received: from btwcube1.sh.intel.com (HELO debian) ([10.67.104.158]) by fmsmga002.fm.intel.com with ESMTP; 02 Nov 2018 06:43:29 -0700 Date: Fri, 2 Nov 2018 21:42:00 +0800 From: Tiwei Bie To: Maxime Coquelin Cc: dev@dpdk.org, jfreimann@redhat.com, zhihong.wang@intel.com, jasowang@redhat.com, mst@redhat.com, wexu@redhat.com Message-ID: <20181102134159.GA17867@debian> References: <20181031102640.15377-1-maxime.coquelin@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20181031102640.15377-1-maxime.coquelin@redhat.com> User-Agent: Mutt/1.10.1 (2018-07-13) Subject: Re: [dpdk-dev] [PATCH v4 0/2] vhost: packed ring support completion 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, 02 Nov 2018 13:43:32 -0000 On Wed, Oct 31, 2018 at 11:26:38AM +0100, Maxime Coquelin wrote: > In this v4, it restores back to only save last avail index and > its wrap counter value at get time, and restore both used > and avail indexes to avail values at set time. > The change compared to v1 is that wrap counter value is > saved into bit 15, so that it is consistent with the event > suppression structure format. > > Initial series ading packed ring layout support to the > vhost library was missing the save and restore of the > wrap counters and indexs on vring base requests used for > migration. > > First patch saves/restores the used and avail indexes and their > wrap counters values into/from the vring state num field. > > Maxime Coquelin (2): > vhost: add packed ring support to vring base requests > vhost: advertize packed ring layout support > > lib/librte_vhost/vhost.h | 3 ++- > lib/librte_vhost/vhost_user.c | 40 +++++++++++++++++++++++++++++------ > 2 files changed, 36 insertions(+), 7 deletions(-) > > -- > 2.17.2 > Reviewed-by: Tiwei Bie Thanks!