From: Tiwei Bie <tiwei.bie@intel.com>
To: Maxime Coquelin <maxime.coquelin@redhat.com>
Cc: dev@dpdk.org, jfreimann@redhat.com, zhihong.wang@intel.com,
jasowang@redhat.com, mst@redhat.com, wexu@redhat.com
Subject: Re: [dpdk-dev] [PATCH v4 0/2] vhost: packed ring support completion
Date: Fri, 2 Nov 2018 21:42:00 +0800 [thread overview]
Message-ID: <20181102134159.GA17867@debian> (raw)
In-Reply-To: <20181031102640.15377-1-maxime.coquelin@redhat.com>
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 <tiwei.bie@intel.com>
Thanks!
next prev parent reply other threads:[~2018-11-02 13:43 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-10-31 10:26 Maxime Coquelin
2018-10-31 10:26 ` [dpdk-dev] [PATCH v4 1/2] vhost: add packed ring support to vring base requests Maxime Coquelin
2018-11-02 8:21 ` Jens Freimann
2018-10-31 10:26 ` [dpdk-dev] [PATCH v4 2/2] vhost: advertize packed ring layout support Maxime Coquelin
2018-11-02 8:23 ` Jens Freimann
2018-11-02 13:42 ` Tiwei Bie [this message]
2018-11-02 14:48 ` [dpdk-dev] [PATCH v4 0/2] vhost: packed ring support completion Maxime Coquelin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20181102134159.GA17867@debian \
--to=tiwei.bie@intel.com \
--cc=dev@dpdk.org \
--cc=jasowang@redhat.com \
--cc=jfreimann@redhat.com \
--cc=maxime.coquelin@redhat.com \
--cc=mst@redhat.com \
--cc=wexu@redhat.com \
--cc=zhihong.wang@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).