From: Alex Williamson <alex.williamson@hp.com>
To: rusty@rustcorp.com.au
Cc: markmc@redhat.com, netdev@vger.kernel.org, kvm@vger.kernel.org
Subject: [PATCH v4 0/4] virtio_net: Add MAC and VLAN filtering
Date: Tue, 03 Feb 2009 12:25:50 -0700 [thread overview]
Message-ID: <20090203192550.2678.14498.stgit@debian.lart> (raw)
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
next reply other threads:[~2009-02-03 19:28 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-03 19:25 Alex Williamson [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090203192550.2678.14498.stgit@debian.lart \
--to=alex.williamson@hp.com \
--cc=kvm@vger.kernel.org \
--cc=markmc@redhat.com \
--cc=netdev@vger.kernel.org \
--cc=rusty@rustcorp.com.au \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).