Number of IFB devices on a monolithic kernel

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

 



Hi,

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.

Thank you!

Peter

[1]
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob;f=drivers/net/ifb.c;h=e4fbefc8c82f80797c5808efcadba2219aafb3c7;hb=HEAD

P.S. I am not subscribed, please CC me on replies
--
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

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux