[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1290106849.2573.11.camel@bwh-desktop>
Date: Thu, 18 Nov 2010 19:00:49 +0000
From: Ben Hutchings <bhutchings@...arflare.com>
To: Matt Domsch <Matt_Domsch@...l.com>
Cc: Bill Nottingham <notting@...hat.com>,
linux-hotplug@...r.kernel.org, netdev@...r.kernel.org,
narendra_k@...l.com, jcm@...hat.com
Subject: Re: extended netdevice naming proposal
On Thu, 2010-11-18 at 12:51 -0600, Matt Domsch wrote:
> On Thu, Nov 18, 2010 at 02:29:57AM +0000, Ben Hutchings wrote:
> > On Wed, 2010-11-17 at 21:10 -0500, Bill Nottingham wrote:
> > > Matt Domsch (Matt_Domsch@...l.com) said:
> > > > (location)(slot)#(port)/(instance).(vlan)
> > >
> > > AIUI, the kernel explicitly rejects '/' in the name (for fairly obvious
> > > sysfs reasons.) So you'd at least need a different delimiter. There may
> > > also be potential confusion with pci01#03:02.0001 with someone thinking
> > > that's bus/dev/fn, if we're being really petty.
> >
> > ':' is also reserved for alias interfaces, the old way of assigning
> > multiple IP addresses.
> >
> > I would say '-' is a good separator, but that might result in ambiguity
> > in IRQ names.
>
> How about underscore to separate VFs?
> (location)(slot)#(port)_(instance).(vlan)
That does seem like the best separator available.
> And 'em' as prefix for embedded?
[...]
That also fits the mnemonic Ethernet on Motherboard, which is nice.
Ben.
--
Ben Hutchings, Senior Software Engineer, Solarflare Communications
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare product names are trademarked.
--
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