From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maxime Coquelin Subject: [PATCH v3 0/2] vhost: packed ring support completion Date: Thu, 18 Oct 2018 11:41:48 +0200 Message-ID: <20181018094150.11219-1-maxime.coquelin@redhat.com> Cc: Maxime Coquelin To: dev@dpdk.org, jfreimann@redhat.com, tiwei.bie@intel.com, zhihong.wang@intel.com, jasowang@redhat.com, mst@redhat.com Return-path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by dpdk.org (Postfix) with ESMTP id E04D71B109 for ; Thu, 18 Oct 2018 11:42:02 +0200 (CEST) List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" In this v3, the vring state num field structure is changed to store both used and avail indexes and their wrap counters. 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. Patch 2 advertise support for the packed ring. 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 | 41 ++++++++++++++++++++++++++++++----- 2 files changed, 37 insertions(+), 7 deletions(-) -- 2.17.1