[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4A967DAB.2010209@voltaire.com>
Date: Thu, 27 Aug 2009 15:35:55 +0300
From: Or Gerlitz <ogerlitz@...taire.com>
To: Stephen Hemminger <shemminger@...ux-foundation.org>
CC: "Paul Congdon (UC Davis)" <ptcongdon@...avis.edu>, arnd@...db.de,
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
Stephen Hemminger wrote:
> 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.
for each multicast packet, macvlan_broadcast is invoked and calls
skb_clone/ netif_rx for each device, now a smart scheme that takes into
account (hash) the multicast list of the different macvlan devices
would save the skb_clone call, isn't it?
Or.
--
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