On Thu, Sep 08, 2011 at 07:53:11PM -0700, Roopa Prabhu wrote:
quoted
quoted
Phase 1: Goal: Enable hardware filtering for all macvlan modes
- In macvlan passthru mode the single guest virtio-nic connected will
receive traffic that he requested for
- In macvlan non-passthru mode all guest virtio-nics sharing the
physical nic will see all other guest traffic
but the filtering at guest virtio-nic
I don't think guests currently filter anything.
I was referring to Qemu-kvm virtio-net in
virtion_net_receive->receive_filter. I think It only passes pkts that the
guest OS is interested. It uses the filter table that I am passing to
macvtap in this patch.
This happens after userspace thread gets woken up and data
is copied there. So relying on filtering at that level is
going to be very inefficient on a system with
multiple active guests. Further, and for that reason, vhost-net
doesn't do filtering at all, relying on the backends
to pass it correct packets.
--
MST