On Wed, Oct 31, 2018 at 11:26:39AM +0100, Maxime Coquelin wrote:
For packed ring layout, we need save avail index and its wrap
counter value. At restore time, the used index and its wrap counter
are set to available's ones, as the ring procressing is stopped
at vring base get time.

Signed-off-by: Maxime Coquelin <maxime.coque...@redhat.com>
---
lib/librte_vhost/vhost_user.c | 40 +++++++++++++++++++++++++++++------
1 file changed, 34 insertions(+), 6 deletions(-)


Reviewed-by: Jens Freimann <jfreim...@redhat.com>


Reply via email to