[RFC,v2,0/2] vduse: Add support for reconnection

Message ID 20231017142403.2995341-1-lulu@redhat.com (mailing list archive)
Series vduse: Add support for reconnection |


Cindy Lu Oct. 17, 2023, 2:24 p.m. UTC
  This patch changes based on Maxime's patch
The biggest change is sync the information with kernel by mmap

the kernel branch is
the dpdk branch is

test passed in vduse+dpdk-testpmd

changes in V2
1. move struct vhost_reconnect_data to uAPI
2. Add struct vduse_reconnect_mmap_info to save the reconnect
related information

Signed-off-by: Cindy Lu <lulu@redhat.com>

Cindy Lu (1):
  vduse: add mapping process in vduse create and destroy

Maxime Coquelin (1):
  vhost: add reconnection support to VDUSE (WIP)

 lib/vhost/vduse.c           | 191 +++++++++++++++++++++++++++---------
 lib/vhost/vhost.h           |  10 ++
 lib/vhost/virtio_net.c      |  22 +++++
 lib/vhost/virtio_net_ctrl.c |   4 +
 4 files changed, 183 insertions(+), 44 deletions(-)