Skip to content

RFC virtio_net: MAC filtering

Alex Williamson kvm netdev 1 version In review

Get series with b4
b4 am 1231351559.7109.128.camel@lappy

Versions newest first

  1. v1 RFC Latest2 patches 14 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2virtio_net: Enable setting MAC, promisc, and allmulti modedrivers/net/virtio_net.c include/linux/virtio_net.h+82 -83 replies
2/2virtio_net: Add MAC fitler table supportdrivers/net/virtio_net.c include/linux/virtio_net.h+54 -47 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/2][RFC] virtio_net: MAC filtering

This series builds on some of the patches Mark McLoughlin has sent out recently, so likely won't apply to any current trees until those get upstream. The goal is to enable MAC filtering at the kvm/qemu level for virtio-net packets. Promiscuous and allmulti mode are handled by adding bits to Mark's proposed status field. I also add a 16 entry MAC table for additional unicast and multicast addresses to filter. If this looks reasonable, I'll follow-up with VLAN filtering.

As noted in the RFC thread adding the kvm/qemu backing, this does increase the size of the virtio-net device I/O port space, up to 1kB with PCI rounding if we add a 4k entry VLAN bitmap. A 64 device limit is still pretty high for a VM, but maybe we should think about adding MMIO space for virtio-pci. Thanks,

Alex

Signature · 1 line
Alex Williamson                             HP Open Source & Linux Org.