DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH v4 0/2] vhost: packed ring support completion
@ 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
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Maxime Coquelin @ 2018-10-31 10:26 UTC (permalink / raw)
  To: dev, jfreimann, tiwei.bie, zhihong.wang, jasowang, mst, wexu
  Cc: Maxime Coquelin

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2018-11-02 14:48 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-31 10:26 [dpdk-dev] [PATCH v4 0/2] vhost: packed ring support completion 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 ` [dpdk-dev] [PATCH v4 0/2] vhost: packed ring support completion Tiwei Bie
2018-11-02 14:48   ` Maxime Coquelin

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).