All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* [RFC net-next] net: Build IPv6 into kernel by default
@ 2015-07-09 20:42 Tom Herbert
  2015-07-09 20:51 ` Dave Jones
  2015-07-11  5:57 ` David Miller
  0 siblings, 2 replies; 4+ messages in thread
From: Tom Herbert @ 2015-07-09 20:42 UTC (permalink / raw
  To: davem, netdev; +Cc: kernel-team

This patch makes the default to build IPv6 into the kernel. IPv6
now has significant traction and any remaining vestiges of IPv6
not being provided parity with IPv4 should be swept away. IPv6 is now
core to the Internet and kernel.

Points on IPv6 adoption:

- Per Google statistics, IPv6 usage has reached 7% on the Internet
  and continues to exhibit an exponential growth rate
  https://www.google.com/intl/en/ipv6/statistics.html
- Just a few days ago ARIN officially depleted its IPv4 pool
- IPv6 only data centers are being successfully built
  (e.g. at Facebook)

This patch changes the IPv6 Kconfig for IPV6. Default for CONFIG_IPV6
is set to "y" and the text has been updated to reflect the maturity of
IPv6.

Impact:

Under some circumstances building modules in to kernel might have a
performance advantage. In my testing, I did notice a very slight
improvement.

This will obviously increase the size of the kernel image. In my
configuration I see:

IPv6 as module:

   text    data     bss     dec     hex filename
9703666 1899288  933888 12536842         bf4c0a vmlinux

IPv6 built into kernel

  text     data     bss     dec     hex filename
9436490 1879600  913408 12229498         ba9b7a vmlinux

Which increases text size by ~270K (2.8% increase in size for me). If
image size is an issue, presumably for a device which does not do IP
networking (IMO we should be discouraging IPv4-only devices), IPV6 can
be disabled or still built as a module.

Signed-off-by: Tom Herbert <tom@herbertland.com>
---
 net/ipv6/Kconfig | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/net/ipv6/Kconfig b/net/ipv6/Kconfig
index 438a73a..a0016c5 100644
--- a/net/ipv6/Kconfig
+++ b/net/ipv6/Kconfig
@@ -5,16 +5,15 @@
 #   IPv6 as module will cause a CRASH if you try to unload it
 menuconfig IPV6
 	tristate "The IPv6 protocol"
-	default m
+	default y
 	---help---
-	  This is complemental support for the IP version 6.
-	  You will still be able to do traditional IPv4 networking as well.
+	  Support for IP version 6 (IPv6).
 
 	  For general information about IPv6, see
 	  <https://en.wikipedia.org/wiki/IPv6>.
-	  For Linux IPv6 development information, see <http://www.linux-ipv6.org>.
-	  For specific information about IPv6 under Linux, read the HOWTO at
-	  <http://www.bieringer.de/linux/IPv6/>.
+	  For specific information about IPv6 under Linux, see
+	  Documentation/networking/ipv6.txt and read the HOWTO at
+	  <http://http://www.tldp.org/HOWTO/Linux+IPv6-HOWTO/>
 
 	  To compile this protocol support as a module, choose M here: the 
 	  module will be called ipv6.
-- 
1.8.1

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [RFC net-next] net: Build IPv6 into kernel by default
  2015-07-09 20:42 [RFC net-next] net: Build IPv6 into kernel by default Tom Herbert
@ 2015-07-09 20:51 ` Dave Jones
  2015-07-11  5:57 ` David Miller
  1 sibling, 0 replies; 4+ messages in thread
From: Dave Jones @ 2015-07-09 20:51 UTC (permalink / raw
  To: Tom Herbert; +Cc: davem, netdev, kernel-team

On Thu, Jul 09, 2015 at 01:42:29PM -0700, Tom Herbert wrote:
 
 >  	  For general information about IPv6, see
 >  	  <https://en.wikipedia.org/wiki/IPv6>.
 > -	  For Linux IPv6 development information, see <http://www.linux-ipv6.org>.
 > -	  For specific information about IPv6 under Linux, read the HOWTO at
 > -	  <http://www.bieringer.de/linux/IPv6/>.
 > +	  For specific information about IPv6 under Linux, see
 > +	  Documentation/networking/ipv6.txt and read the HOWTO at
 > +	  <http://http://www.tldp.org/HOWTO/Linux+IPv6-HOWTO/>
           ^^^^^^^
Dupe.

	Dave

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [RFC net-next] net: Build IPv6 into kernel by default
  2015-07-09 20:42 [RFC net-next] net: Build IPv6 into kernel by default Tom Herbert
  2015-07-09 20:51 ` Dave Jones
@ 2015-07-11  5:57 ` David Miller
  2015-07-13  6:53   ` YOSHIFUJI Hideaki
  1 sibling, 1 reply; 4+ messages in thread
From: David Miller @ 2015-07-11  5:57 UTC (permalink / raw
  To: tom; +Cc: netdev, kernel-team

From: Tom Herbert <tom@herbertland.com>
Date: Thu, 9 Jul 2015 13:42:29 -0700

> This patch makes the default to build IPv6 into the kernel. IPv6
> now has significant traction and any remaining vestiges of IPv6
> not being provided parity with IPv4 should be swept away. IPv6 is now
> core to the Internet and kernel.

I guess I'm fine with this, just fix up the doc error Dave Jones
pointed out.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [RFC net-next] net: Build IPv6 into kernel by default
  2015-07-11  5:57 ` David Miller
@ 2015-07-13  6:53   ` YOSHIFUJI Hideaki
  0 siblings, 0 replies; 4+ messages in thread
From: YOSHIFUJI Hideaki @ 2015-07-13  6:53 UTC (permalink / raw
  To: David Miller, tom; +Cc: hideaki.yoshifuji, netdev, kernel-team

Hi,

David Miller wrote:
> From: Tom Herbert <tom@herbertland.com>
> Date: Thu, 9 Jul 2015 13:42:29 -0700
> 
>> This patch makes the default to build IPv6 into the kernel. IPv6
>> now has significant traction and any remaining vestiges of IPv6
>> not being provided parity with IPv4 should be swept away. IPv6 is now
>> core to the Internet and kernel.
> 
> I guess I'm fine with this, just fix up the doc error Dave Jones
> pointed out.

I am deeply moved.

Acked-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>

-- 
Hideaki Yoshifuji <hideaki.yoshifuji@miraclelinux.com>
Technical Division, MIRACLE LINUX CORPORATION

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-07-13  6:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-09 20:42 [RFC net-next] net: Build IPv6 into kernel by default Tom Herbert
2015-07-09 20:51 ` Dave Jones
2015-07-11  5:57 ` David Miller
2015-07-13  6:53   ` YOSHIFUJI Hideaki

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.