Re: Number of IFB devices on a monolithic kernel

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

 



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!

Peter
--
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