Skip to content

TUNSETSNDBUF - pushback to help UDP tx

Mark McLoughlin qemu-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8net: add qemu_purge_queued_packets()net.c net.h+17 -00 replies
2/8net: purge queued packets in tap_cleanup()net.c+2 -00 replies
3/8net: add tap_read_poll() helpernet.c+23 -70 replies
4/8net: handle EAGAIN from tapfd write()net.c+25 -20 replies
5/8net: return TAPState from net_tap_init()net.c+16 -110 replies
6/8net: add '-net tap,sndbuf=nbytes'net.c qemu-options.hx+30 -50 replies
7/8net: add packet length to NetPacketSent callbacknet.c net.h+3 -30 replies
8/8virtio-net: implement async packet sendinghw/virtio-net.c+37 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/8] TUNSETSNDBUF - pushback to help UDP tx

Hi,
The first two patches are a fix to fix a potential crash with
host_net_remove while doing heavy network I/O.

The rest of the patches add support for using the new
TUNSETSNDBUF ioctl in 2.6.30 in order to provide some pushback against UDP applications in the guest who are sending packets faster than the host can handle them. More detail in the 06/08 patch.

Cheers,
Mark.