Skip to content

RFC Support reconnection in vduse

Cindy Lu kvm lkml netdev oe-kbuild-all stable virtualization 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 RFC Latest4 patches 15 repliesIn review
  2. v1 RFC4 patches 11 repliesSuperseded

Patches in v2 No applies recorded yet

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

Reviews trailers per patch

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

Read the v2 thread

Cover letter [RFC v2 0/4] Support reconnection in vduse

These patches add the reconnect support in vduse, The steps is map the pages from kernel to userspace, userspace app will sync the reconnection status and vq_info in the pages Also, add the new IOCTL VDUSE_GET_RECONNECT_INFO userspace app will use this information to mmap the memory

Will send the patch for DPDK later

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: update the vq_info in ioctl
vduse: Add new ioctl VDUSE_GET_RECONNECT_INFO

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