public inbox for passt-dev@passt.top
 help / color / mirror / code / Atom feed
* [RFC PATCH 0/3] Fill exceeding size of vhost-user buffers explicitly
@ 2025-11-03 10:16 Stefano Brivio
  2025-11-03 10:16 ` [RFC PATCH 1/3] vu_common: Stick to size of input buffer in vu_send_single() Stefano Brivio
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Stefano Brivio @ 2025-11-03 10:16 UTC (permalink / raw)
  To: passt-dev, Laurent Vivier; +Cc: David Gibson

While looking for a way to ensure inbound frames are padded to 60 bytes
in vhost-user mode, I spotted the issue described in 1/3, which looks a
bit too obvious to be true, so I'm sending this as RFC.

Am I missing something there, or do we actually need to fix that?

Stefano Brivio (3):
  vu_common: Stick to size of input buffer in vu_send_single()
  iov: Fix coding style of basic (non-IOV_TAIL) parts
  iov, vu_common: Make iov_from_buf() fill destination iov entirely

 iov.c       | 116 +++++++++++++++++++++++++++-------------------------
 iov.h       |   4 +-
 vu_common.c |  22 +++++-----
 3 files changed, 74 insertions(+), 68 deletions(-)

-- 
2.43.0


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

end of thread, other threads:[~2025-11-05  4:01 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-11-03 10:16 [RFC PATCH 0/3] Fill exceeding size of vhost-user buffers explicitly Stefano Brivio
2025-11-03 10:16 ` [RFC PATCH 1/3] vu_common: Stick to size of input buffer in vu_send_single() Stefano Brivio
2025-11-04 15:01   ` Laurent Vivier
2025-11-04 16:09     ` Stefano Brivio
2025-11-04 16:24       ` Laurent Vivier
2025-11-03 10:16 ` [RFC PATCH 2/3] iov: Fix coding style of basic (non-IOV_TAIL) parts Stefano Brivio
2025-11-04 15:14   ` Laurent Vivier
2025-11-05  3:58   ` David Gibson
2025-11-03 10:16 ` [RFC PATCH 3/3] iov, vu_common: Make iov_from_buf() fill destination iov entirely Stefano Brivio
2025-11-04 15:11   ` Laurent Vivier
2025-11-05  4:01   ` David Gibson

Code repositories for project(s) associated with this public inbox

	https://passt.top/passt

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 IMAP folder(s).