[RFC 0/4] reconnect support in vduse
From: Cindy Lu
Date: Wed Jun 28 2023 - 04:03:32 EST
Hi all
Here is the reconnect support in vduse, The steps
is map the pages from kernel to userland, usespace
app will wirte the vq_info in the pages
And then sync this information in kernel/user-space
I just the split mode, So only use the last_avail_idx
here, Will send the patch for DPDK later
Tested in vduse + dpdk test-pmd
Cindy Lu (4):
vduse: Add the struct to save the vq reconnect info
vduse: Add file operation for mmap
vduse: Add the function for get/free the mapp pages
vduse: update the vq_info in ioctl
drivers/vdpa/vdpa_user/vduse_dev.c | 107 +++++++++++++++++++++++++++++
1 file changed, 107 insertions(+)
--
2.34.3