Subject: Re: [PATCH][BONDING] Add max_bonds kernel parameter

From: Jay Vosburgh <[email-masked]>
Date: Fri, 29 Feb 2008 11:03:56 -0800

Phil Oester <[email-masked]> wrote:
[...]
>    The bonding driver (and initscripts) seem to assume everyone loads bonding
>    as a module.  So when compiled into the kernel, changing the max_bonds
>    parameter can only be done in the source code.

	The kernel should already handle options for compiled-in
modules.  For bonding, you'd put something like "bonding.max_bonds=3" on
the kernel boot line.  No need to patch bonding for this.  This is
described in Documentation/kernel-parameters.txt (right at the top).

	On your other patch, I don't see a big issue with allowing
max_bonds to be zero; I'll have a look at the details and test it out.

	-J

---
	-Jay Vosburgh, IBM Linux Technology Center, [email-masked]