lkml.org 
[lkml]   [2023]   [Nov]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v2 0/5] vduse: Add support for reconnection
Date
Here is the reconnect support in vduse,

kernel will allocted pages for reconnection
userspace need use ioctl VDUSE_GET_RECONNECT_INFO to
get the mmap related information and then mapping these pages
to userspace.
kernel and userspace will use these pages to sync
the reconnect information
kernel will use VDUSE_VQ_GET_INFO to sync the information
userspace App will call during the "user_app_dev_start()".

change in V2
1. Address the comments from v1
2. Add the document for reconnect process

Cindy Lu (5):
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
Documentation: Add reconnect process for VDUSE

Documentation/userspace-api/vduse.rst | 29 ++++
drivers/vdpa/vdpa_user/vduse_dev.c | 198 +++++++++++++++++++++++++-
include/uapi/linux/vduse.h | 50 +++++++
3 files changed, 276 insertions(+), 1 deletion(-)

--
2.34.3

\
 
 \ /
  Last update: 2023-11-21 08:32    [W:0.069 / U:0.612 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site