[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] Re: [PATCH 6/7] virtio-net: Add new RX filter controls
From: |
Jamie Lokier |
Subject: |
[Qemu-devel] Re: [PATCH 6/7] virtio-net: Add new RX filter controls |
Date: |
Wed, 10 Jun 2009 00:50:31 +0100 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
Jan Kiszka wrote:
> > The pcap interface is close to that for ease of configurability, but a
> > bridge would behave better, especially with multiple VMs, and maybe
> > perform better.
>
> Pcap on Linux suffers from the limitation that injected packets are not
> visible to the host, thus guest<->host communication doesn't work.
Ew.
> The same is true for PF_PACKET (or does libpcap actually use that
> internally?).
Yes it does.
> Haven't analyzed the reasons in details yet, but I bet
> it's not solvable in user space.
I think that's probably right, and good solutions would be:
- A new option to the kernel bridging to attach a bridge
to an existing net interface in a way which allows the interface's IP
configuration to keep working
- An alternate pcap mode which makes packets visible to the host.
- An "auto-bridging" tap device mode, where it's told which network
interface to bridge to, with an invisible bridge.
Bridging would be better than pcap because it can more easily take
advantage of multiple MAC address support in the network interface
(like macvlan), to filter properly, although I don't know if the
existing Linux bridge code does that. And it more closely resembles
what you'd do with physical machines instead of VMs, which is plug
them into a switch.
-- Jamie
- [Qemu-devel] [PATCH 4/7] virtio-net: Fix MAC filter overflow handling, (continued)
- [Qemu-devel] [PATCH 4/7] virtio-net: Fix MAC filter overflow handling, Alex Williamson, 2009/06/05
- [Qemu-devel] [PATCH 6/7] virtio-net: Add new RX filter controls, Alex Williamson, 2009/06/05
- Re: [Qemu-devel] [PATCH 6/7] virtio-net: Add new RX filter controls, Michael S. Tsirkin, 2009/06/06
- Re: [Qemu-devel] [PATCH 6/7] virtio-net: Add new RX filter controls, Alex Williamson, 2009/06/08
- Re: [Qemu-devel] [PATCH 6/7] virtio-net: Add new RX filter controls, Anthony Liguori, 2009/06/08
- Re: [Qemu-devel] [PATCH 6/7] virtio-net: Add new RX filter controls, Daniel P. Berrange, 2009/06/08
- Re: [Qemu-devel] [PATCH 6/7] virtio-net: Add new RX filter controls, Anthony Liguori, 2009/06/08
- Re: [Qemu-devel] [PATCH 6/7] virtio-net: Add new RX filter controls, Daniel P. Berrange, 2009/06/09
- Re: [Qemu-devel] [PATCH 6/7] virtio-net: Add new RX filter controls, Jamie Lokier, 2009/06/09
- [Qemu-devel] Re: [PATCH 6/7] virtio-net: Add new RX filter controls, Jan Kiszka, 2009/06/09
- [Qemu-devel] Re: [PATCH 6/7] virtio-net: Add new RX filter controls,
Jamie Lokier <=
- [Qemu-devel] Re: [PATCH 6/7] virtio-net: Add new RX filter controls, Michael S. Tsirkin, 2009/06/10
- [Qemu-devel] Re: [PATCH 6/7] virtio-net: Add new RX filter controls, Jan Kiszka, 2009/06/10
- [Qemu-devel] Re: [PATCH 6/7] virtio-net: Add new RX filter controls, Michael S. Tsirkin, 2009/06/10
- Re: [Qemu-devel] Re: [PATCH 6/7] virtio-net: Add new RX filter controls, Gleb Natapov, 2009/06/10
- Re: [Qemu-devel] Re: [PATCH 6/7] virtio-net: Add new RX filter controls, Michael S. Tsirkin, 2009/06/10
- Re: [Qemu-devel] Re: [PATCH 6/7] virtio-net: Add new RX filter controls, Gleb Natapov, 2009/06/10
- Re: [Qemu-devel] Re: [PATCH 6/7] virtio-net: Add new RX filter controls, Michael S. Tsirkin, 2009/06/10
- Re: [Qemu-devel] [PATCH 6/7] virtio-net: Add new RX filter controls, Alex Williamson, 2009/06/08
[Qemu-devel] [PATCH 5/7] virtio-net: MAC filter optimization, Alex Williamson, 2009/06/05
[Qemu-devel] [PATCH 7/7] virtio-net: Increase filter and control limits, Alex Williamson, 2009/06/05