public inbox for passt-dev@passt.top
 help / color / mirror / code / Atom feed
* [PATCH 0/2] Handle incomplete tap writes for pasta
@ 2023-11-08  3:17 David Gibson
  2023-11-08  3:17 ` [PATCH 1/2] tap, pasta: Handle incomplete tap sends for pasta too David Gibson
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: David Gibson @ 2023-11-08  3:17 UTC (permalink / raw)
  To: passt-dev, Stefano Brivio; +Cc: David Gibson

passt can handle various cases where we're unable to write all the
data we want to to the tap side.  The same logic would make sense for
pasta, however right now we don't properly report incomplete writes
with the tuntap device of pasta, rather than the qemu socket of passt.

I come across these as possible issues with the various stall bugs
we've been investigating.  It doesn't look like they're relevant there
after all, but they should be correct changes nonetheless.

David Gibson (2):
  tap, pasta: Handle incomplete tap sends for pasta too
  tap, pasta: Handle short writes to /dev/tap

 tap.c | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

-- 
2.41.0


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

end of thread, other threads:[~2023-11-10 13:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-08  3:17 [PATCH 0/2] Handle incomplete tap writes for pasta David Gibson
2023-11-08  3:17 ` [PATCH 1/2] tap, pasta: Handle incomplete tap sends for pasta too David Gibson
2023-11-08  3:17 ` [PATCH 2/2] tap, pasta: Handle short writes to /dev/tap David Gibson
2023-11-10 13:51 ` [PATCH 0/2] Handle incomplete tap writes for pasta Stefano Brivio

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