Re: adding more than 100 network devices -- problems

From: David S. Miller
Date: Mon Sep 12 2005 - 15:23:41 EST


From: Abraham van der Merwe <abz@xxxxxxxxxxxx>
Date: Mon, 12 Sep 2005 15:02:42 +0200

> The problem is that network devices are currently limited to 100
> (dev_alloc_name() in net/core/dev.c).

This limit has been increased to 8*PAGE_SIZE in current
2.6.x kernels.

In 2.4.x you can safely increase the hard-coded limit in
dev_alloc_name() but if you have a lot of programs causing
the kernel to lookup devices by string name, you may run
into some performance problems.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/