lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 03 Feb 2009 12:25:50 -0700
From:	Alex Williamson <alex.williamson@...com>
To:	rusty@...tcorp.com.au
Cc:	markmc@...hat.com, netdev@...r.kernel.org, kvm@...r.kernel.org
Subject: [PATCH v4 0/4] virtio_net: Add MAC and VLAN filtering

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
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ