> -----Original Message----- > From: Pei, Andy <andy....@intel.com> > Sent: Monday, May 23, 2022 5:35 PM > To: dev@dpdk.org > Cc: Xia, Chenbo <chenbo....@intel.com>; maxime.coque...@redhat.com; Cao, > Gang <gang....@intel.com>; Liu, Changpeng <changpeng....@intel.com>; Xu, > Rosen <rosen...@intel.com>; Xiao, QimaiX <qimaix.x...@intel.com> > Subject: [PATCH v9 06/13] vdpa/ifc: add block device SW live-migration > > Add SW live-migration support to block device. > For block device, it is critical that no packet > should be dropped. So when virtio blk device is > paused, make sure hardware last_avail_idx and > last_used_idx are the same. This indicates all > requests have received acks, and no inflight IO. > > Signed-off-by: Andy Pei <andy....@intel.com> > --- > drivers/vdpa/ifc/base/ifcvf.h | 1 + > drivers/vdpa/ifc/ifcvf_vdpa.c | 42 > ++++++++++++++++++++++++++++++++++++++---- > 2 files changed, 39 insertions(+), 4 deletions(-)
Reviewed-by: Chenbo Xia <chenbo....@intel.com>