[openib-general] [PATCH][RFC] Turn on IPoIB debug unless EMBEDDED is selected

Roland Dreier rdreier at cisco.com
Wed Mar 29 22:11:51 PST 2006


Here's a patch that changes the Kconfig so that IPoIB debugging is
always compiled in (although of course not turned on unless the module
parameter is set to non-zero).  The thinking is that pretty much
everyone should have this enabled unless they really truly need to
save every byte of .text.  And especially distro kernels should have
it enabled.

Thoughts?

--- infiniband/ulp/ipoib/Kconfig	(revision 6101)
+++ infiniband/ulp/ipoib/Kconfig	(working copy)
@@ -10,8 +10,9 @@ config INFINIBAND_IPOIB
 	  group: <http://www.ietf.org/html.charters/ipoib-charter.html>.
 
 config INFINIBAND_IPOIB_DEBUG
-	bool "IP-over-InfiniBand debugging"
+	bool "IP-over-InfiniBand debugging" if EMBEDDED
 	depends on INFINIBAND_IPOIB
+	default y
 	---help---
 	  This option causes debugging code to be compiled into the
 	  IPoIB driver.  The output can be turned on via the



More information about the general mailing list