[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20121113.205845.1523743296362293053.davem@davemloft.net>
Date: Tue, 13 Nov 2012 20:58:45 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: mchan@...adcom.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH net-next] 8021q: validate SAN MAC address
From: "Michael Chan" <mchan@...adcom.com>
Date: Tue, 13 Nov 2012 17:50:50 -0800
> On Tue, 2012-11-13 at 20:24 -0500, David Miller wrote:
>> From: "Michael Chan" <mchan@...adcom.com>
>> Date: Tue, 13 Nov 2012 15:40:29 -0800
>>
>> > I suppose we can just put the SAN MAC into the real netdev->dev_addr so
>> > that the VLAN will automatically get it. But this doesn't seem very
>> > nice as we would be pretending to have a normal MAC address (for
>> > networking) in this SAN device. The networking MAC address is in a
>> > different PCI function.
>>
>> I certainly would prefer if you took that approach. At least in that
>> way the addressing of the netdev objects would appear more consistent.
>>
> Ok. To be more complete, I think we need to add a flag or something to
> such a netdev to indicate that it is a SAN device only. What's your
> opinion on that?
Yes, that would describe the limitation you mentioned. Maybe
add a new netdev->priv_flags for this.
--
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