From: Pravin M Bathija <pravin.bathija@dell.com>
To: <dev@dpdk.org>
Cc: <pravin.bathija@dell.com>, <pravin.m.bathija.dev@gmail.com>
Subject: [PATCH v4 0/5] Support add/remove memory region & get-max-slots
Date: Tue, 11 Nov 2025 11:39:57 +0000 [thread overview]
Message-ID: <20251111114002.2902696-1-pravin.bathija@dell.com> (raw)
This is version v4 of the patchset and it incorporates the
recommendations made by Feng Cheng Wen.
The patchset includes support for adding and removal of memory
regions, getting max memory slots and other changes to vhost-user
messages. These messages are sent from vhost-user front-end (qemu
or libblkio) to a vhost-user back-end (dpdk, spdk). Support functions
for these message functions have been implemented in the interest of
writing optimized code. Older functions, part of vhost-user back-end
have also been optimized using these newly defined support functions.
This implementation has been extensively tested by doing Read/Write
I/O from multiple instances of fio + libblkio (front-end) talking to
spdk/dpdk (back-end) based drives. Also tested with qemu front-end
talking to dpdk + testpmd (back-end) performing add/removal of memory
regions. The last patch also includes increasing the number of memory
regions from 8 to 128. This has been also extensively tested using the
above test approaches.
Pravin M Bathija (5):
vhost: add user to mailmap and define to vhost hdr
vhost_user: header defines for add/rem mem region
vhost_user: support function defines for back-end
vhost_user: Function defs for add/rem mem regions
vhost_user: Increase number of memory regions
.mailmap | 1 +
lib/vhost/rte_vhost.h | 4 +
lib/vhost/vhost_user.c | 399 ++++++++++++++++++++++++++++++++++++-----
lib/vhost/vhost_user.h | 12 +-
4 files changed, 373 insertions(+), 43 deletions(-)
--
2.43.0
next reply other threads:[~2025-11-11 11:40 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-11 11:39 Pravin M Bathija [this message]
2025-11-11 11:39 ` [PATCH v4 1/5] vhost: add user to mailmap and define to vhost hdr Pravin M Bathija
2025-11-11 11:39 ` [PATCH v4 2/5] vhost_user: header defines for add/rem mem region Pravin M Bathija
2025-11-11 11:40 ` [PATCH v4 3/5] vhost_user: support function defines for back-end Pravin M Bathija
2025-11-11 11:40 ` [PATCH v4 4/5] vhost_user: Function defs for add/rem mem regions Pravin M Bathija
2025-11-11 11:40 ` [PATCH v4 5/5] vhost_user: Increase number of memory regions Pravin M Bathija
-- strict thread matches above, loose matches on Subject: below --
2025-11-11 11:45 [PATCH v4 0/5] Support add/remove memory region & get-max-slots Pravin M Bathija
2025-11-11 11:12 Pravin M Bathija
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=20251111114002.2902696-1-pravin.bathija@dell.com \
--to=pravin.bathija@dell.com \
--cc=dev@dpdk.org \
--cc=pravin.m.bathija.dev@gmail.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;
as well as URLs for NNTP newsgroup(s).