DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH v3 0/5] Support add/remove memory region & get-max-slots
@ 2025-11-04  4:21 Pravin M Bathija
  2025-11-04  4:21 ` [PATCH v3 1/5] vhost: add user to mailmap and define to vhost hdr Pravin M Bathija
                   ` (4 more replies)
  0 siblings, 5 replies; 11+ messages in thread
From: Pravin M Bathija @ 2025-11-04  4:21 UTC (permalink / raw)
  To: dev; +Cc: pravin.bathija, pravin.m.bathija.dev

This patchset incorporates 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). Supporting functions corresponding to
these message functions have been implemented in the interest of writing
optimized code. Older functions pasrt 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: Function defs for add/rem mem regions
  vhost_user: support function defines for back-end
  vhost_user: Increase number of memory regions

 .mailmap               |   1 +
 lib/vhost/rte_vhost.h  |   4 +
 lib/vhost/vhost_user.c | 333 +++++++++++++++++++++++++++++++++++------
 lib/vhost/vhost_user.h |  12 +-
 4 files changed, 305 insertions(+), 45 deletions(-)

-- 
2.43.0


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

end of thread, other threads:[~2025-11-04  8:12 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-11-04  4:21 [PATCH v3 0/5] Support add/remove memory region & get-max-slots Pravin M Bathija
2025-11-04  4:21 ` [PATCH v3 1/5] vhost: add user to mailmap and define to vhost hdr Pravin M Bathija
2025-11-04  7:15   ` fengchengwen
2025-11-04  4:21 ` [PATCH v3 2/5] vhost_user: header defines for add/rem mem region Pravin M Bathija
2025-11-04  7:18   ` fengchengwen
2025-11-04  4:21 ` [PATCH v3 3/5] vhost_user: Function defs for add/rem mem regions Pravin M Bathija
2025-11-04  7:48   ` fengchengwen
2025-11-04  4:21 ` [PATCH v3 4/5] vhost_user: support function defines for back-end Pravin M Bathija
2025-11-04  8:05   ` fengchengwen
2025-11-04  4:21 ` [PATCH v3 5/5] vhost_user: Increase number of memory regions Pravin M Bathija
2025-11-04  8:12   ` fengchengwen

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).