1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only 21da177e4SLinus Torvaldsconfig INFINIBAND_IPOIB 31da177e4SLinus Torvalds tristate "IP-over-InfiniBand" 406cc8508SJan Engelhardt depends on NETDEVICES && INET && (IPV6 || IPV6=n) 5a7f7f624SMasahiro Yamada help 61da177e4SLinus Torvalds Support for the IP-over-InfiniBand protocol (IPoIB). This 71da177e4SLinus Torvalds transports IP packets over InfiniBand so you can use your IB 81da177e4SLinus Torvalds device as a fancy NIC. 91da177e4SLinus Torvalds 1097162a1eSMauro Carvalho Chehab See Documentation/infiniband/ipoib.rst for more information 111da177e4SLinus Torvalds 12839fcabaSMichael S. Tsirkinconfig INFINIBAND_IPOIB_CM 13839fcabaSMichael S. Tsirkin bool "IP-over-InfiniBand Connected Mode support" 1499c3a5a9SRoland Dreier depends on INFINIBAND_IPOIB 15839fcabaSMichael S. Tsirkin default n 16a7f7f624SMasahiro Yamada help 1799c3a5a9SRoland Dreier This option enables support for IPoIB connected mode. After 1899c3a5a9SRoland Dreier enabling this option, you need to switch to connected mode 1999c3a5a9SRoland Dreier through /sys/class/net/ibXXX/mode to actually create 2099c3a5a9SRoland Dreier connections, and then increase the interface MTU with 2199c3a5a9SRoland Dreier e.g. ifconfig ib0 mtu 65520. 22839fcabaSMichael S. Tsirkin 2399c3a5a9SRoland Dreier WARNING: Enabling connected mode will trigger some packet 2499c3a5a9SRoland Dreier drops for multicast and UD mode traffic from this interface, 25839fcabaSMichael S. Tsirkin unless you limit mtu for these destinations to 2044. 26839fcabaSMichael S. Tsirkin 271da177e4SLinus Torvaldsconfig INFINIBAND_IPOIB_DEBUG 286a108a14SDavid Rientjes bool "IP-over-InfiniBand debugging" if EXPERT 291da177e4SLinus Torvalds depends on INFINIBAND_IPOIB 30f5545d24SRoland Dreier default y 31a7f7f624SMasahiro Yamada help 321da177e4SLinus Torvalds This option causes debugging code to be compiled into the 331da177e4SLinus Torvalds IPoIB driver. The output can be turned on via the 341da177e4SLinus Torvalds debug_level and mcast_debug_level module parameters (which 351da177e4SLinus Torvalds can also be set after the driver is loaded through sysfs). 361da177e4SLinus Torvalds 3799059224SRoland Dreier This option also creates a directory tree under ipoib/ in 3899059224SRoland Dreier debugfs, which contains files that expose debugging 3999059224SRoland Dreier information about IB multicast groups used by the IPoIB 4099059224SRoland Dreier driver. 411da177e4SLinus Torvalds 421da177e4SLinus Torvaldsconfig INFINIBAND_IPOIB_DEBUG_DATA 431da177e4SLinus Torvalds bool "IP-over-InfiniBand data path debugging" 441da177e4SLinus Torvalds depends on INFINIBAND_IPOIB_DEBUG 45a7f7f624SMasahiro Yamada help 46cab00891SMatt LaPlante This option compiles debugging code into the data path 471da177e4SLinus Torvalds of the IPoIB driver. The output can be turned on via the 481da177e4SLinus Torvalds data_debug_level module parameter; however, even with output 491da177e4SLinus Torvalds turned off, this debugging code will have some performance 501da177e4SLinus Torvalds impact. 51