From: Cindy Lu <lulu@redhat.com>
To: lulu@redhat.com, jasowang@redhat.com, mst@redhat.com,
xieyongji@bytedance.com, linux-kernel@vger.kernel.org,
maxime.coquelin@redhat.com
Subject: [PATCH v1 0/4] vduse: Reconnection support in vduse
Date: Wed, 11 Oct 2023 14:42:04 +0800 [thread overview]
Message-ID: <20231011064208.2143245-1-lulu@redhat.com> (raw)
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
next reply other threads:[~2023-10-11 6:43 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-11 6:42 Cindy Lu [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20231011064208.2143245-1-lulu@redhat.com \
--to=lulu@redhat.com \
--cc=jasowang@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=maxime.coquelin@redhat.com \
--cc=mst@redhat.com \
--cc=xieyongji@bytedance.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®