[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <51B61E38.6000908@intel.com>
Date: Mon, 10 Jun 2013 11:43:04 -0700
From: John Fastabend <john.r.fastabend@...el.com>
To: Narendra_K@...l.com
CC: john.fastabend@...il.com, bhutchings@...arflare.com, bjorn@...k.no,
netdev@...r.kernel.org, yoshfuji@...ux-ipv6.org
Subject: Re: [RFC PATCH] Initialize dev_id sysfs attribute to -1 by default
[...]
> Hi John, thank you for the inputs. It was set to -1 to differentiate between driver setting it to zero and the default value zero.
>
The point I was trying to make here is setting it to a single
digit 0, 1, or -1 doesn't really help in a virtualized environment
where you may not have access to the PCI topology, serial #s, etc.
You need a system-wide unique id.
Anyways looks like your on the right track.
.John
--
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