All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chris Friesen <cbf123@mail.usask.ca>
To: Cong Wang <xiyou.wangcong@gmail.com>
Cc: Linux Kernel Network Developers <netdev@vger.kernel.org>
Subject: Re: where is the ethernet device number determined?
Date: Thu, 12 May 2016 14:27:56 -0600	[thread overview]
Message-ID: <5734E74C.9060409@mail.usask.ca> (raw)
In-Reply-To: <CAM_iQpVmy4bAKB9jwd0+uetw6GZuxg4MOmOb4Zya31VUwRYDQQ@mail.gmail.com>

On 05/12/2016 02:19 PM, Cong Wang wrote:
> On Thu, May 12, 2016 at 1:05 PM, Chris Friesen <cbf123@mail.usask.ca> wrote:

>> I hope this is a simple question...with legacy naming ethernet devices are
>> named ethX.  Where is that X determined?  I've been looking in
>> alloc_netdev_mqs() and friends, but haven't found it yet.
>
> __dev_alloc_name()

Much appreciated.

Chris

      reply	other threads:[~2016-05-12 20:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-12 20:05 where is the ethernet device number determined? Chris Friesen
2016-05-12 20:19 ` Cong Wang
2016-05-12 20:27   ` Chris Friesen [this message]

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=5734E74C.9060409@mail.usask.ca \
    --to=cbf123@mail.usask.ca \
    --cc=netdev@vger.kernel.org \
    --cc=xiyou.wangcong@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.