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

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

Message

Cindy Lu Oct. 17, 2023, 2:24 p.m. UTC
  This patch changes based on Maxime's patch
https://gitlab.com/mcoquelin/dpdk-next-virtio/-/commit/a89dc311f2d03e99b8180f377b4a60a0e94
The biggest change is sync the information with kernel by mmap

the kernel branch is
https://gitlab.com/lulu6/vhost/tree/vduse5
the dpdk branch is
https://gitlab.com/lulu6/dpdk/tree/rfc_vduse

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(-)