Re: net device renaming 2-step, IFNAMSIZ limit

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Jan 29, 2011 at 16:23, Matt Domsch <Matt_Domsch@xxxxxxxx> wrote:
> On Tue, Dec 07, 2010 at 12:45:04AM -0200, Piter PUNK wrote:
>> Matt Domsch wrote:

> I need this in udev fairly quickly
> please. ÂSome kind folks from IBM have been testing biosdevname with
> quad-port Intel SR-IOV-capable devices, and instantiating all the VFs,
> can easily have >100 eth* devices created in the kernel
> instantaneously. ÂThat bumps step 1 in the 2-step rename operation
> over IFNAMSIZ Â(eth100-pci2#3_62 is 16 chars).

What is all this about?

If biosdevname ever needs a two-step renaming, there is something
wrong. Two-step renaming happens only for conflicting names. We do not
want to support renaming in conflicting namespaces anymore.

Also, we can not use hashes without checking for conflicts, it's
unlikely to happen, but we just don't do such hacks. Just use the
ifindex or whatever fits to be correct.

Kay
--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux