From: Maxime Coquelin <maxime.coquelin@redhat.com>
To: dev@dpdk.org, jfreimann@redhat.com, tiwei.bie@intel.com,
zhihong.wang@intel.com, jasowang@redhat.com, mst@redhat.com,
wexu@redhat.com
Cc: Maxime Coquelin <maxime.coquelin@redhat.com>
Subject: [dpdk-dev] [PATCH v4 0/2] vhost: packed ring support completion
Date: Wed, 31 Oct 2018 11:26:38 +0100 [thread overview]
Message-ID: <20181031102640.15377-1-maxime.coquelin@redhat.com> (raw)
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
next reply other threads:[~2018-10-31 10:26 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-10-31 10:26 Maxime Coquelin [this message]
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 ` [dpdk-dev] [PATCH v4 0/2] vhost: packed ring support completion Tiwei Bie
2018-11-02 14:48 ` 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=20181031102640.15377-1-maxime.coquelin@redhat.com \
--to=maxime.coquelin@redhat.com \
--cc=dev@dpdk.org \
--cc=jasowang@redhat.com \
--cc=jfreimann@redhat.com \
--cc=mst@redhat.com \
--cc=tiwei.bie@intel.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).