[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20100721102816.4bef5ada@nehalam>
Date: Wed, 21 Jul 2010 10:28:16 -0700
From: Stephen Hemminger <shemminger@...tta.com>
To: Casey Leedom <leedom@...lsio.com>
Cc: Andy Gospodarek <andy@...yhouse.net>,
Harald Hoyer <harald@...hat.com>,
David Miller <davem@...emloft.net>, bhutchings@...arflare.com,
sassmann@...hat.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, gospo@...hat.com,
gregory.v.rose@...el.com, alexander.h.duyck@...el.com
Subject: Re: [PATCH net-next] sysfs: add entry to indicate network
interfaces with random MAC address
On Wed, 21 Jul 2010 09:34:27 -0700
Casey Leedom <leedom@...lsio.com> wrote:
> | From: Andy Gospodarek <andy@...yhouse.net>
> | Date: Wednesday, July 21, 2010 08:07 am
> |
> | Agreed. The subtle difference between a locally assigned address that
> | is persistent and one that is random would be helpful.
>
> And just to point out that this case _does_ exist: the igb/igbvf drivers use
> random_ether_addr() to generate a random, locally assigned MAC address for the
> PCI-E SR-IOV Virtual Function MAC Addresses while the cxgb4/cxgb4vf drivers use
> a persistent, non-random locally assigned MAC Addresses.
>
> Note that I am neither arguing for nor against the proposal. I'm just
> pointing out an existence case for the distinction. And yes, bit 1 being set in
> the first octet of a MAC address for locally assigned MAC Addresses is part of
> the IEEE 802 specification just as bit 0 being set in the same octet indicates
> that it's a multi-station address.
IMHO no local assigned address should be used by udev. The cxgb4 driver
should be using random value.
Does anyone have an example of locally assigned address that has persistence
so that udev could use it.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists