Skip to content

virtio-net: Filter cleanup/improvements

Alex Williamson qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 25 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7virtio-net: Add version_id 7 placeholder for vnet header supporthw/virtio-net.c+8 -10 replies
2/7virtio-net: Use a byte to store RX mode flagshw/virtio-net.c+12 -70 replies
3/7virtio-net: reorganize receive_filter()hw/virtio-net.c+11 -80 replies
4/7virtio-net: Fix MAC filter overflow handlinghw/virtio-net.c+23 -80 replies
5/7virtio-net: MAC filter optimizationhw/virtio-net.c+25 -40 replies
6/7virtio-net: Add new RX filter controlshw/virtio-net.c hw/virtio-net.h+46 -817 replies
7/7virtio-net: Increase filter and control limitshw/virtio-net.c+2 -22 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/7] virtio-net: Filter cleanup/improvements

This series cleans up a few things around packet filtering. I've probably gone a little overboard on breaking up patches, if we want to avoid bumping the save version_id so much, these could be mostly lumped together. The main features here are more efficient handling of the filtering between unicast and multicast, better overflow tracking, adding more RX modes, and increasing the size of the filter table and control queue depth.

I took the reserved version_id 7 for vnet header support into consideration on the first patch. I think we should be able to safely add the guts later with the placeholder. If there are other RX mode controls we should add, let me know, now would be a good time to round out any other flags we can think of. Thanks,

Alex

---

Alex Williamson (7):
virtio-net: Increase filter and control limits
virtio-net: Add new RX filter controls
virtio-net: MAC filter optimization
virtio-net: Fix MAC filter overflow handling
virtio-net: reorganize receive_filter()
virtio-net: Use a byte to store RX mode flags
virtio-net: Add version_id 7 placeholder for vnet header support

 hw/virtio-net.c |  133 +++++++++++++++++++++++++++++++++++++++++++++----------
 hw/virtio-net.h |   14 ++++--
 2 files changed, 118 insertions(+), 29 deletions(-)