[RFC v2 2/2] vhost: add reconnection support to VDUSE (WIP)

2023-10-17 Thread Cindy Lu
From: Maxime Coquelin this patch is changed from https://gitlab.com/mcoquelin/dpdk-next-virtio/-/commit/a89dc311f2d03e99b8180f377b4a60a0e94 the biggest change is moving the mmaping-related process to the Previous patch Signed-off-by: Cindy Lu --- lib/vhost/vduse.c | 43

[RFC v2 1/2] vduse: add mapping process in vduse create and destroy

2023-10-17 Thread Cindy Lu
p process Signed-off-by: Cindy Lu --- lib/vhost/vduse.c | 148 -- lib/vhost/vhost.h | 10 2 files changed, 127 insertions(+), 31 deletions(-) diff --git a/lib/vhost/vduse.c b/lib/vhost/vduse.c index 4f36277d3b..9b7f829a7a 100644 --- a/lib/vhos

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

2023-10-17 Thread Cindy Lu
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 Cindy Lu (1): vduse: add mapping process in vduse creat

[RFC v1 2/2] vhost: add reconnection support to VDUSE (WIP)

2023-09-17 Thread Cindy Lu
From: Maxime Coquelin this patch is changed from https://gitlab.com/mcoquelin/dpdk-next-virtio/-/commit/a89dc311f2d03e99b8180f377b4a60a0e94 the biggest change is moving the mmaping-related process to the Previous patch Signed-off-by: Cindy Lu --- lib/vhost/vduse.c | 43

[RFC v1 1/2] vduse: add mapping process in vduse create and destroy

2023-09-17 Thread Cindy Lu
p process Signed-off-by: Cindy Lu --- lib/vhost/vduse.c | 148 -- lib/vhost/vhost.h | 21 +++ 2 files changed, 138 insertions(+), 31 deletions(-) diff --git a/lib/vhost/vduse.c b/lib/vhost/vduse.c index 4f36277d3b..4b9bfdbe73 100644 --- a/lib/vhos

[RFC v1 0/2] Vduse: Add support for reconncect

2023-09-17 Thread Cindy Lu
lulu6/vhost/-/tree/vduse4 test passed in vduse+dpdk-testpmd 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/vh