Skip to content

kvm: qemu: virtio_net: add support for mergeable rx buffers

Mark McLoughlin kvm 1 version Applied

Status from this message: Applied all, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 5 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/5kvm: qemu: Move virtqueue_next_desc() aroundqemu/hw/virtio.c+15 -150 replies
1/5kvm: qemu: virtio: move virtqueue_next_desc() aroundqemu/hw/virtio.c+15 -150 replies
2/5kvm: qemu: Introduce virtqueue_fill() and virtqueue_flush()qemu/hw/virtio.c qemu/hw/virtio.h+21 -50 replies
2/5kvm: qemu: virtio: introduce virtqueue_fill() and virtqueue_flush()qemu/hw/virtio.c qemu/hw/virtio.h+21 -50 replies
3/5kvm: qemu: Simplify virtio_net_can_receive() a littleqemu/hw/virtio-net.c+5 -40 replies
3/5kvm: qemu: virtio: split some helpers out of virtqueue_pop()qemu/hw/virtio.c+29 -160 replies
4/5kvm: qemu: Split iov_fill() out from virtio_net_receive()qemu/hw/virtio-net.c+21 -110 replies
4/5kvm: qemu: virtio-net: split iov_fill() out from virtio_net_receive()qemu/hw/virtio-net.c+18 -90 replies
5/5kvm: qemu: Improve virtio_net recv buffer allocation schemeqemu/hw/virtio-net.c+61 -63 replies
5/5kvm: qemu: virtio-net: add a new virtio-net receive buffer schemeqemu/hw/virtio-net.c qemu/hw/virtio.c qemu/hw/virtio.h+139 -270 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/5] kvm: qemu: virtio_net: add support for mergeable rx buffers

Hi,
The mergeable receive buffers scheme has been in the Linux
virtio_net driver in net-next-2.6 for a while now, so it's probably safe to assume what's there now is the final iteration of the ABI.

The following patches implement support for the scheme in
KVM. Only the 5/5 patch contains functional changes.

Changes since last time:

+ We now peak at how much buffer space is actually available in the ring and no longer assume that buffers are at least 4k

+ The new header is now 'struct virtio_net_hdr_mrg_rxbuf' rather than 'struct virtio_net_hdr2'

+ The new header no longer is padded to 32 bytes

Cheers,
Mark.