linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ben Hutchings <bhutchings@solarflare.com>
To: Matt Domsch <Matt_Domsch@dell.com>
Cc: Bill Nottingham <notting@redhat.com>,
	linux-hotplug@vger.kernel.org, netdev@vger.kernel.org,
	narendra_k@dell.com, jcm@redhat.com
Subject: Re: extended netdevice naming proposal
Date: Thu, 18 Nov 2010 19:00:49 +0000	[thread overview]
Message-ID: <1290106849.2573.11.camel@bwh-desktop> (raw)
In-Reply-To: <20101118185125.GA4952@auslistsprd01.us.dell.com>

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@dell.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.


  reply	other threads:[~2010-11-18 19:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-17 22:06 extended netdevice naming proposal Matt Domsch
2010-11-18  0:39 ` Ben Hutchings
2010-11-18  2:10 ` Bill Nottingham
2010-11-18  2:29   ` Ben Hutchings
2010-11-18 18:51     ` Matt Domsch
2010-11-18 19:00       ` Ben Hutchings [this message]
2010-11-18 18:34 ` Rick Jones
2010-11-18 18:52   ` Matt Domsch

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1290106849.2573.11.camel@bwh-desktop \
    --to=bhutchings@solarflare.com \
    --cc=Matt_Domsch@dell.com \
    --cc=jcm@redhat.com \
    --cc=linux-hotplug@vger.kernel.org \
    --cc=narendra_k@dell.com \
    --cc=netdev@vger.kernel.org \
    --cc=notting@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).