All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 0/4] virtio_net: Add MAC and VLAN filtering
@ 2009-02-03 19:25 Alex Williamson
  2009-02-03 19:25 ` [PATCH v4 1/4] virtio_net: Add a virtqueue for outbound control commands Alex Williamson
                   ` (4 more replies)
  0 siblings, 5 replies; 14+ messages in thread
From: Alex Williamson @ 2009-02-03 19:25 UTC (permalink / raw)
  To: rusty; +Cc: markmc, netdev, kvm

This series adds infrastructure for a new control virtqueue and
makes use of it to support set_rx_mode, unicast and multicast address
lists, and supporting a hypervisor based VLAN filter.  The goal is to
make the virtio-net device support more of the features of a physical
NIC and allow the hypervisor to discard packets we don't want.  These
patches are intended for 2.6.30.

This is the 4th and hopefully final revision, incorporating a few
more tweaks from Rusty.  I've renamed VIRTIO_NET_MAX_CTRL_ARGS to
VIRTNET_SEND_COMMAND_SG_MAX and moved it into the c file.  I've
added the flexible 2-dimensional array to virtio_net_ctrl_mac and
cleaned up the code to use it.  I've retained the single scatterlist
parameter and out/in counts for virtnet_send_command() since the
current sg interface doesn't faciliate merging terminated sg[]s
together.  However, this is an internal virtio_net API and can
easily be refined over time, the key is the separate sg entries
for unicast/multicast MACs for the hypervisor ABI.  Thanks,

Alex

---

Alex Williamson (4):
      virtio_net: Add support for VLAN filtering in the hypervisor
      virtio_net: Add a MAC filter table
      virtio_net: Add a set_rx_mode interface
      virtio_net: Add a virtqueue for outbound control commands


 drivers/net/virtio_net.c   |  168 +++++++++++++++++++++++++++++++++++++++++++-
 include/linux/virtio_net.h |   66 +++++++++++++++++
 2 files changed, 231 insertions(+), 3 deletions(-)

-- 
Alex Williamson

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2009-02-05  0:35 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-03 19:25 [PATCH v4 0/4] virtio_net: Add MAC and VLAN filtering Alex Williamson
2009-02-03 19:25 ` [PATCH v4 1/4] virtio_net: Add a virtqueue for outbound control commands Alex Williamson
2009-02-03 19:26 ` [PATCH v4 2/4] virtio_net: Add a set_rx_mode interface Alex Williamson
2009-02-03 19:26 ` [PATCH v4 3/4] virtio_net: Add a MAC filter table Alex Williamson
2009-02-03 19:26 ` [PATCH v4 4/4] virtio_net: Add support for VLAN filtering in the hypervisor Alex Williamson
2009-02-03 23:06 ` [PATCH v4 0/4] virtio_net: Add MAC and VLAN filtering David Miller
2009-02-03 23:42   ` Alex Williamson
2009-02-04  4:03   ` Rusty Russell
2009-02-04 19:02   ` [PATCH v5 " Alex Williamson
2009-02-04 19:02     ` [PATCH v5 1/4] virtio_net: Add a virtqueue for outbound control commands Alex Williamson
2009-02-04 19:02     ` [PATCH v5 2/4] virtio_net: Add a set_rx_mode interface Alex Williamson
2009-02-04 19:02     ` [PATCH v5 3/4] virtio_net: Add a MAC filter table Alex Williamson
2009-02-04 19:02     ` [PATCH v5 4/4] virtio_net: Add support for VLAN filtering in the hypervisor Alex Williamson
2009-02-05  0:35     ` [PATCH v5 0/4] virtio_net: Add MAC and VLAN filtering David Miller

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.