Skip to content

virtio_net: MAC filtering

Alex Williamson kvm netdev 1 version In review

Get series with b4
b4 am 1231881795.9095.185.camel@bling

Versions newest first

  1. v1 Latest4 patches 10 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4virtio_net: Allow setting the MAC address of the NICdrivers/net/virtio_net.c+21 -22 replies
2/4virtio_net: Add a virtqueue for outbound control commandsdrivers/net/virtio_net.c include/linux/virtio_net.h+57 -13 replies
3/4virtio_net: Add a set_rx_mode interfacedrivers/net/virtio_net.c include/linux/virtio_net.h+22 -02 replies
4/4virtio_net: Add a MAC filter tabledrivers/net/virtio_net.c include/linux/virtio_net.h+73 -23 replies

Reviews trailers per patch

1 of 4 patches has a Reviewed-by or Acked-by.

PatchMark McLoughlin
1/4A-b
2/4
3/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/4] virtio_net: MAC filtering

Here's an update to the patches I sent last week. The goal of this series is to add RX mode bits, MAC table filtering, and I'll follow up with VLAN filtering, so that the virtio_net device doesn't always run in promiscuous mode.

This version now uses a virtqueue for outbound commands for setting mode bits and table entries. The size of the MAC filter table can be configured by the guest at initialization. I'm no longer bloating the I/O port space of the virtnet device, in fact, I couldn't find any reason to store the RX mode bits in the status register, so I also moved those into the virtqueue channel so we have less shared data. Please comment. Thanks,

Alex

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