Message ID | 20081001055355.GA27304@verge.net.au |
---|---|
State | Superseded, archived |
Delegated to: | David Miller |
Headers | show |
Hi Simon, Simon Horman wrote: > I took a bit of a stab at this, and here is what I cam up with. > > It should enable IPV6_BONDING if one of the following is true > * EXPERIMENTAL=y && IPV6=m && BONDING=m > * EXPERIMENTAL=y && IPV6=y && BONDING=m > * EXPERIMENTAL=y && IPV6=y && BONDING=y > And disable IPV6_BONDING in all other cases. > > Compile tested only. > > diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig > index 69c81da..60c06f8 100644 > --- a/drivers/net/Kconfig > +++ b/drivers/net/Kconfig > @@ -61,6 +61,7 @@ config DUMMY > config BONDING > tristate "Bonding driver support" > depends on INET > + select IPV6_BONDING if (IPV6=y || IPV6=BONDING) && EXPERIMENTAL > ---help--- > Say 'Y' or 'M' if you wish to be able to 'bond' multiple Ethernet > Channels together. This is called 'Etherchannel' by Cisco, > diff --git a/net/ipv6/Kconfig b/net/ipv6/Kconfig > index ec99215..49108be 100644 > --- a/net/ipv6/Kconfig > +++ b/net/ipv6/Kconfig > @@ -217,4 +217,7 @@ config IPV6_PIMSM_V2 > Support for IPv6 PIM multicast routing protocol PIM-SMv2. > If unsure, say N. > > +config IPV6_BONDING > + bool > + > endif # IPV6 I actually figured out how to do this without having a new Kconfig option at all, and building bonding_ipv6.c without getting a linker error. I'll send out an updated patch soon, just sorting out the vlan support right now. Thanks, -Brian -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
From: Brian Haley <brian.haley@hp.com> Date: Wed, 01 Oct 2008 09:24:08 -0400 > I actually figured out how to do this without having a new Kconfig > option at all, and building bonding_ipv6.c without getting a linker > error. I'll send out an updated patch soon, just sorting out the > vlan support right now. > Great, I'll wait for that meanwhile, thanks everyone. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig index 69c81da..60c06f8 100644 --- a/drivers/net/Kconfig +++ b/drivers/net/Kconfig @@ -61,6 +61,7 @@ config DUMMY config BONDING tristate "Bonding driver support" depends on INET + select IPV6_BONDING if (IPV6=y || IPV6=BONDING) && EXPERIMENTAL ---help--- Say 'Y' or 'M' if you wish to be able to 'bond' multiple Ethernet Channels together. This is called 'Etherchannel' by Cisco, diff --git a/net/ipv6/Kconfig b/net/ipv6/Kconfig index ec99215..49108be 100644 --- a/net/ipv6/Kconfig +++ b/net/ipv6/Kconfig @@ -217,4 +217,7 @@ config IPV6_PIMSM_V2 Support for IPv6 PIM multicast routing protocol PIM-SMv2. If unsure, say N. +config IPV6_BONDING + bool + endif # IPV6