summary refs log tree commit diff stats
path: root/hw/baum.c
diff options
context:
space:
mode:
authoraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>2009-02-05 22:36:28 +0000
committeraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>2009-02-05 22:36:28 +0000
commitb6503ed9b8815ecfb82fe9faba28936365321248 (patch)
treefcd2f7c0b3102723e7595cc9215bd913f8524103 /hw/baum.c
parent3831ab2094f6b573617b0f53b663bba1f036dc45 (diff)
downloadfocaccia-qemu-b6503ed9b8815ecfb82fe9faba28936365321248.tar.gz
focaccia-qemu-b6503ed9b8815ecfb82fe9faba28936365321248.zip
qemu:virtio-net: Add additional MACs via a filter table (Alex Williamson)
Create a filter table and allow the guest to populate it with the
MAC class control commands.  We manage the size and usage of the
filter table including enabling promiscuous and all-multi modes
as necessary.  The guest should therefore assume the table is
infinite.  Eventually this might allow us to bind directly to a
hardware NIC and manipulate a physical MAC filter.

The specifics of the TABLE_SET command are documented in
virtio-net.h.  Separate buffers in the same command are used
for unicaste and multicast addresses for priority and
sychronization.  With this we can export the VIRTIO_NET_F_CTRL_RX
feature bit.

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6539 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/baum.c')
0 files changed, 0 insertions, 0 deletions