mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-29 05:55:02 +08:00
6a108a14fa
The meaning of CONFIG_EMBEDDED has long since been obsoleted; the option is used to configure any non-standard kernel with a much larger scope than only small devices. This patch renames the option to CONFIG_EXPERT in init/Kconfig and fixes references to the option throughout the kernel. A new CONFIG_EMBEDDED option is added that automatically selects CONFIG_EXPERT when enabled and can be used in the future to isolate options that should only be considered for embedded systems (RISC architectures, SLOB, etc). Calling the option "EXPERT" more accurately represents its intention: only expert users who understand the impact of the configuration changes they are making should enable it. Reviewed-by: Ingo Molnar <mingo@elte.hu> Acked-by: David Woodhouse <david.woodhouse@intel.com> Signed-off-by: David Rientjes <rientjes@google.com> Cc: Greg KH <gregkh@suse.de> Cc: "David S. Miller" <davem@davemloft.net> Cc: Jens Axboe <axboe@kernel.dk> Cc: Arnd Bergmann <arnd@arndb.de> Cc: Robin Holt <holt@sgi.com> Cc: <linux-arch@vger.kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
50 lines
1.8 KiB
Plaintext
50 lines
1.8 KiB
Plaintext
config INFINIBAND_IPOIB
|
|
tristate "IP-over-InfiniBand"
|
|
depends on NETDEVICES && INET && (IPV6 || IPV6=n)
|
|
---help---
|
|
Support for the IP-over-InfiniBand protocol (IPoIB). This
|
|
transports IP packets over InfiniBand so you can use your IB
|
|
device as a fancy NIC.
|
|
|
|
See Documentation/infiniband/ipoib.txt for more information
|
|
|
|
config INFINIBAND_IPOIB_CM
|
|
bool "IP-over-InfiniBand Connected Mode support"
|
|
depends on INFINIBAND_IPOIB
|
|
default n
|
|
---help---
|
|
This option enables support for IPoIB connected mode. After
|
|
enabling this option, you need to switch to connected mode
|
|
through /sys/class/net/ibXXX/mode to actually create
|
|
connections, and then increase the interface MTU with
|
|
e.g. ifconfig ib0 mtu 65520.
|
|
|
|
WARNING: Enabling connected mode will trigger some packet
|
|
drops for multicast and UD mode traffic from this interface,
|
|
unless you limit mtu for these destinations to 2044.
|
|
|
|
config INFINIBAND_IPOIB_DEBUG
|
|
bool "IP-over-InfiniBand debugging" if EXPERT
|
|
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
|
|
debug_level and mcast_debug_level module parameters (which
|
|
can also be set after the driver is loaded through sysfs).
|
|
|
|
This option also creates a directory tree under ipoib/ in
|
|
debugfs, which contains files that expose debugging
|
|
information about IB multicast groups used by the IPoIB
|
|
driver.
|
|
|
|
config INFINIBAND_IPOIB_DEBUG_DATA
|
|
bool "IP-over-InfiniBand data path debugging"
|
|
depends on INFINIBAND_IPOIB_DEBUG
|
|
---help---
|
|
This option compiles debugging code into the data path
|
|
of the IPoIB driver. The output can be turned on via the
|
|
data_debug_level module parameter; however, even with output
|
|
turned off, this debugging code will have some performance
|
|
impact.
|