[dpdk-dev] [PATCH v4 1/2] vhost: add packed ring support to vring base requests

Jens Freimann jfreimann at redhat.com
Fri Nov 2 09:21:42 CET 2018


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.coquelin at redhat.com>
>---
> lib/librte_vhost/vhost_user.c | 40 +++++++++++++++++++++++++++++------
> 1 file changed, 34 insertions(+), 6 deletions(-)
>

Reviewed-by: Jens Freimann <jfreimann at redhat.com>




More information about the dev mailing list