where is the ethernet device number determined?

3 messages, 2 authors, 2016-05-12 · open the first message on its own page

where is the ethernet device number determined?

From: Chris Friesen <hidden>
Date: 2016-05-12 20:14:12

Hi,

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.

Thanks,
Chris

Re: where is the ethernet device number determined?

From: Cong Wang <hidden>
Date: 2016-05-12 20:19:54

On Thu, May 12, 2016 at 1:05 PM, Chris Friesen [off-list ref] wrote:
Hi,

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()

Re: where is the ethernet device number determined?

From: Chris Friesen <hidden>
Date: 2016-05-12 20:36:08

On 05/12/2016 02:19 PM, Cong Wang wrote:
On Thu, May 12, 2016 at 1:05 PM, Chris Friesen [off-list ref] wrote:
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help