Skip to content

vduse: Reconnection support in vduse

Cindy Lu lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4vduse: Add function to get/free the pages for reconnectiondrivers/vdpa/vdpa_user/vduse_dev.c+78 -02 replies
2/4vduse: Add file operation for mmapdrivers/vdpa/vdpa_user/vduse_dev.c+66 -01 reply
3/4vduse: Add new ioctl VDUSE_GET_RECONNECT_INFOdrivers/vdpa/vdpa_user/vduse_dev.c include/uapi/linux/vduse.h+58 -02 replies
4/4vduse: update the vq_info in ioctldrivers/vdpa/vdpa_user/vduse_dev.c+16 -01 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH v1 0/4] vduse: Reconnection support in vduse

Here is the reconnect support in vduse,

The kernel will allocate pages for reconnection userspace needs to use ioctl VDUSE_GET_RECONNECT_INFO to get the mmap related infomation and then map these pages to userspace.
The kernel and userspace will use these pages to sync the reconnect information

Tested in vduse + dpdk test-pmd

Cindy Lu (4):
vduse: Add function to get/free the pages for reconnection
vduse: Add file operation for mmap
vduse: Add new ioctl VDUSE_GET_RECONNECT_INFO
vduse: update the vq_info in ioctl

 drivers/vdpa/vdpa_user/vduse_dev.c | 175 +++++++++++++++++++++++++++++
 include/uapi/linux/vduse.h         |  43 +++++++
 2 files changed, 218 insertions(+)
Signature · 1 line
2.34.3