qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Re: [PATCH][RFC] qemu:virtio-net: Use TUNSETTXFILTER for MAC filteringlogin register about
@ 2010-11-14 14:25 Dragos Tatulea
  2011-01-12 17:26 ` Dragos Tatulea
  0 siblings, 1 reply; 4+ messages in thread
From: Dragos Tatulea @ 2010-11-14 14:25 UTC (permalink / raw)
  To: alex.williamson, paul, anthony, Michael S. Tsirkin; +Cc: qemu-devel, kvm

I'd like to pick up this patch and rework it based on your
suggestions. Need it for [1]. Most opinions seem to be pointing to a
generic software mac filtering in the VLAN layer with hw support if
necessary. Here's what I had in mind:
- For the generic mac filtering we can use something similar to
VirtIONet's mac_table.
- Make receive_filter a callback in NetClientInfo. NIC's that don't
support filtering can use a generic_receive_filter based on the mac
table (but should be turned off by default).
- For hw filtering support I'm not sure how to validate the
"interesting" setup with a tap/macvtap and virtio-net on top of it.
- Of course, this needs to be documented as "best effort" filtering.
Just like the virtio-net mac table.

Please give me your feedback. Thanks.

[1] - http://www.linux-kvm.org/page/GuestProgrammableMacVlanFiltering

-- Dragos

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

end of thread, other threads:[~2011-01-12 17:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-14 14:25 [Qemu-devel] Re: [PATCH][RFC] qemu:virtio-net: Use TUNSETTXFILTER for MAC filteringlogin register about Dragos Tatulea
2011-01-12 17:26 ` Dragos Tatulea
2011-01-12 17:35   ` Michael S. Tsirkin
2011-01-12 17:53   ` Michael S. Tsirkin

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).