mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v1 0/4] vduse: Reconnection support in vduse
@ 2023-10-11  6:42 Cindy Lu
  2023-10-11  6:42 ` [PATCH v1 1/4] vduse: Add function to get/free the pages for reconnection Cindy Lu
                   ` (4 more replies)
  0 siblings, 5 replies; 14+ messages in thread
From: Cindy Lu @ 2023-10-11  6:42 UTC (permalink / raw)
  To: lulu, jasowang, mst, xieyongji, linux-kernel, maxime.coquelin

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


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2023-11-07  7:27 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-11  6:42 [PATCH v1 0/4] vduse: Reconnection support in vduse Cindy Lu
2023-10-11  6:42 ` [PATCH v1 1/4] vduse: Add function to get/free the pages for reconnection Cindy Lu
2023-10-18  2:56   ` Jason Wang
2023-11-07  7:26     ` Cindy Lu
2023-10-11  6:42 ` [PATCH v1 2/4] vduse: Add file operation for mmap Cindy Lu
2023-10-18  3:05   ` Jason Wang
2023-10-11  6:42 ` [PATCH v1 3/4] vduse: Add new ioctl VDUSE_GET_RECONNECT_INFO Cindy Lu
2023-10-18  3:23   ` Jason Wang
2023-10-18  3:24     ` Jason Wang
2023-10-11  6:42 ` [PATCH v1 4/4] vduse: update the vq_info in ioctl Cindy Lu
2023-10-18  5:08   ` Jason Wang
2023-10-17  2:44 ` [PATCH v1 0/4] vduse: Reconnection support in vduse Jason Wang
2023-10-17  2:51   ` Cindy Lu
2023-10-18  5:09     ` Jason Wang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®