[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20070619152928.38738411@localhost.localdomain>
Date: Tue, 19 Jun 2007 15:29:28 -0700
From: Stephen Hemminger <shemminger@...ux-foundation.org>
To: Patrick McHardy <kaber@...sh.net>
Cc: davem@...emloft.net, netdev@...r.kernel.org
Subject: Re: [NET 00/02]: MACVLAN driver
On Tue, 19 Jun 2007 23:14:21 +0200
Patrick McHardy <kaber@...sh.net> wrote:
> Stephen Hemminger wrote:
> > Looks good. I have some changes to allow devices with multiple MAC addresses
> > (never finished). This device could use that.
>
>
> How would the driver do that? I was thinking about using dev_add_mc,
> but wasn't sure if that would work with all drivers for non-multicast
> addresses.
>
Basically, add a new dev_add_addr hook to netdevice.
Drivers that can do it, would add the hook. If driver didn't have hook,
then core would put device into promiscuous. Most devices with multicast
allow non-multicast addresses, so it could be a simple extension.
Rather than doing it for all devices, wanted to go in one by one and test.
--
Stephen Hemminger <shemminger@...ux-foundation.org>
-
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