where is the ethernet device number determined?
Subsystems (2)
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
Quoted 6 lines · Chris Friesen
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()
Quoted 7 lines · Cong Wang
Quoted 3 lines · Chris Friesen
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