On Thu, 06 Nov 2008 16:40:51 +0100 Peter Rabbitson <rabbit+list@xxxxxxxxx> wrote: > adi wrote: > > On Thu, Nov 06, 2008 at 02:46:31PM +0100, Peter Rabbitson wrote: > >> The IFB device by default initializes only 2 IFB devices (ifb0 and > >> ifb1). I was able to find (only in the source, no docs) that the code > >> takes an optional numifbs argument, which overrides the default (line > >> 221 at [1]). However it seems that there is no way to pass this variable > >> if the module is compiled into the kernel. Is there some special syntax > >> to do it, or a simple patch that would enable specification of this > >> value? > >> > >> Worst case scenario I can always change the number at line 59 before > >> compiling, but I was hoping there is a cleaner way. > > > > Please try: > > > > # ip link add name ifb2 type ifb > > > > Regards, > > > > P.Y. Adi Prasaja > > I had no idea iproute's add worked on links too. Thank you so much! > You can give parameters to builtin modules by putting the parameter on the kernel boot command line read Documentation/kernel-parameter.txt in GRUB: kernel /boot/vmlinuz root=... ro ifb.numifbs=20 ... -- To unsubscribe from this list: send the line "unsubscribe linux-net" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html