[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200908101728.15649.arnd@arndb.de>
Date: Mon, 10 Aug 2009 17:28:15 +0200
From: Arnd Bergmann <arnd@...db.de>
To: Stephen Hemminger <shemminger@...ux-foundation.org>
Cc: Or Gerlitz <ogerlitz@...taire.com>,
"Paul Congdon (UC Davis)" <ptcongdon@...avis.edu>,
anna.fischer@...com, netdev@...r.kernel.org,
bridge@...ts.linux-foundation.org, davem@...emloft.net,
adobriyan@...il.com, virtualization@...ts.linux-foundation.org,
"evb@...oogroups.com" <evb@...oogroups.com>
Subject: Re: [evb] RE: [PATCH][RFC] net/bridge: add basic VEPA support
On Monday 10 August 2009, Stephen Hemminger wrote:
> On Sun, 09 Aug 2009 14:19:08 +0300, Or Gerlitz <ogerlitz@...taire.com> wrote:
> > Looking in macvlan_set_multicast_list() it acts in a similar manner to
> > macvlan_set_mac_address() in the sense that it calls dev_mc_sync(). I
> > assume what's left is to add macvlan_hash_xxx multicast logic to
> > map/unmap multicast groups to what macvlan devices want to receive them
> > and this way the flooding can be removed, correct?
>
> The device can just flood all multicast packets, since the filtering
> is done on the receive path anyway.
But we'd still have to copy the frames to user space (for both
macvtap and raw packet sockets) and exit from the guest to inject
it into its stack, right?
I guess for multicast heavy workloads, we could save a lot of cycles
by throwing the frames away as early as possible. How common are those
setups in virtual servers though?
Arnd <><
--
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