lkml.org 
[lkml]   [2023]   [Oct]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v1 0/4] vduse: Reconnection support in vduse
Date
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(+)

--
2.34.3

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