mbox series

[RFC,0/4] reconnect support in vduse

Message ID 20230628065919.54042-1-lulu@redhat.com (mailing list archive)
Headers show
Series reconnect support in vduse | expand

Message

Cindy Lu June 28, 2023, 6:59 a.m. UTC
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(+)