0001 # SPDX-License-Identifier: GPL-2.0-only
0002 config INFINIBAND_IPOIB
0003 tristate "IP-over-InfiniBand"
0004 depends on NETDEVICES && INET && (IPV6 || IPV6=n)
0005 help
0006 Support for the IP-over-InfiniBand protocol (IPoIB). This
0007 transports IP packets over InfiniBand so you can use your IB
0008 device as a fancy NIC.
0009
0010 See Documentation/infiniband/ipoib.rst for more information
0011
0012 config INFINIBAND_IPOIB_CM
0013 bool "IP-over-InfiniBand Connected Mode support"
0014 depends on INFINIBAND_IPOIB
0015 default n
0016 help
0017 This option enables support for IPoIB connected mode. After
0018 enabling this option, you need to switch to connected mode
0019 through /sys/class/net/ibXXX/mode to actually create
0020 connections, and then increase the interface MTU with
0021 e.g. ifconfig ib0 mtu 65520.
0022
0023 WARNING: Enabling connected mode will trigger some packet
0024 drops for multicast and UD mode traffic from this interface,
0025 unless you limit mtu for these destinations to 2044.
0026
0027 config INFINIBAND_IPOIB_DEBUG
0028 bool "IP-over-InfiniBand debugging" if EXPERT
0029 depends on INFINIBAND_IPOIB
0030 default y
0031 help
0032 This option causes debugging code to be compiled into the
0033 IPoIB driver. The output can be turned on via the
0034 debug_level and mcast_debug_level module parameters (which
0035 can also be set after the driver is loaded through sysfs).
0036
0037 This option also creates a directory tree under ipoib/ in
0038 debugfs, which contains files that expose debugging
0039 information about IB multicast groups used by the IPoIB
0040 driver.
0041
0042 config INFINIBAND_IPOIB_DEBUG_DATA
0043 bool "IP-over-InfiniBand data path debugging"
0044 depends on INFINIBAND_IPOIB_DEBUG
0045 help
0046 This option compiles debugging code into the data path
0047 of the IPoIB driver. The output can be turned on via the
0048 data_debug_level module parameter; however, even with output
0049 turned off, this debugging code will have some performance
0050 impact.