162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only 262306a36Sopenharmony_ciconfig INFINIBAND_IPOIB 362306a36Sopenharmony_ci tristate "IP-over-InfiniBand" 462306a36Sopenharmony_ci depends on NETDEVICES && INET && (IPV6 || IPV6=n) 562306a36Sopenharmony_ci help 662306a36Sopenharmony_ci Support for the IP-over-InfiniBand protocol (IPoIB). This 762306a36Sopenharmony_ci transports IP packets over InfiniBand so you can use your IB 862306a36Sopenharmony_ci device as a fancy NIC. 962306a36Sopenharmony_ci 1062306a36Sopenharmony_ci See Documentation/infiniband/ipoib.rst for more information 1162306a36Sopenharmony_ci 1262306a36Sopenharmony_ciconfig INFINIBAND_IPOIB_CM 1362306a36Sopenharmony_ci bool "IP-over-InfiniBand Connected Mode support" 1462306a36Sopenharmony_ci depends on INFINIBAND_IPOIB 1562306a36Sopenharmony_ci default n 1662306a36Sopenharmony_ci help 1762306a36Sopenharmony_ci This option enables support for IPoIB connected mode. After 1862306a36Sopenharmony_ci enabling this option, you need to switch to connected mode 1962306a36Sopenharmony_ci through /sys/class/net/ibXXX/mode to actually create 2062306a36Sopenharmony_ci connections, and then increase the interface MTU with 2162306a36Sopenharmony_ci e.g. ifconfig ib0 mtu 65520. 2262306a36Sopenharmony_ci 2362306a36Sopenharmony_ci WARNING: Enabling connected mode will trigger some packet 2462306a36Sopenharmony_ci drops for multicast and UD mode traffic from this interface, 2562306a36Sopenharmony_ci unless you limit mtu for these destinations to 2044. 2662306a36Sopenharmony_ci 2762306a36Sopenharmony_ciconfig INFINIBAND_IPOIB_DEBUG 2862306a36Sopenharmony_ci bool "IP-over-InfiniBand debugging" if EXPERT 2962306a36Sopenharmony_ci depends on INFINIBAND_IPOIB 3062306a36Sopenharmony_ci default y 3162306a36Sopenharmony_ci help 3262306a36Sopenharmony_ci This option causes debugging code to be compiled into the 3362306a36Sopenharmony_ci IPoIB driver. The output can be turned on via the 3462306a36Sopenharmony_ci debug_level and mcast_debug_level module parameters (which 3562306a36Sopenharmony_ci can also be set after the driver is loaded through sysfs). 3662306a36Sopenharmony_ci 3762306a36Sopenharmony_ci This option also creates a directory tree under ipoib/ in 3862306a36Sopenharmony_ci debugfs, which contains files that expose debugging 3962306a36Sopenharmony_ci information about IB multicast groups used by the IPoIB 4062306a36Sopenharmony_ci driver. 4162306a36Sopenharmony_ci 4262306a36Sopenharmony_ciconfig INFINIBAND_IPOIB_DEBUG_DATA 4362306a36Sopenharmony_ci bool "IP-over-InfiniBand data path debugging" 4462306a36Sopenharmony_ci depends on INFINIBAND_IPOIB_DEBUG 4562306a36Sopenharmony_ci help 4662306a36Sopenharmony_ci This option compiles debugging code into the data path 4762306a36Sopenharmony_ci of the IPoIB driver. The output can be turned on via the 4862306a36Sopenharmony_ci data_debug_level module parameter; however, even with output 4962306a36Sopenharmony_ci turned off, this debugging code will have some performance 5062306a36Sopenharmony_ci impact. 51