[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090428083048.GB27798@psychotron.englab.brq.redhat.com>
Date: Tue, 28 Apr 2009 10:30:48 +0200
From: Jiri Pirko <jpirko@...hat.com>
To: David Miller <davem@...emloft.net>
Cc: christopher.leech@...el.com, jeffrey.t.kirsher@...el.com,
netdev@...r.kernel.org, gospo@...hat.com,
linux-scsi@...r.kernel.org
Subject: Re: [PATCH] netdev: storage address support
Tue, Apr 28, 2009 at 03:48:54AM CEST, davem@...emloft.net wrote:
>From: Chris Leech <christopher.leech@...el.com>
>Date: Mon, 27 Apr 2009 15:28:00 -0700
>
>> Ignoring the issue of intended use for the moment, if an ethernet driver
>> wanted to advertise several MAC addresses to the system how should it go
>> about that?
>
>Now that's a more interesting question.
>
>It seems better to formalize this. It can be an ethtool
>callback or whatever, but what it should do is return
>an array of addresses, types, and perhaps even indexes
>with types.
Well the list of device addresses from my patch can pretty much solve this.
There can be additional field in struct netdev_hw_addr to store flags to
identify the mac address type (like primary, lan, san, slave, etc).
I think it would be better to do this in general (in struct net_device) then
inside each driver exported by ethtool or whatever.
>
>So you could return LAN1, LAN2, LAN3, and SAN1.
>--
>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
--
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