11da177e4SLinus Torvaldsconfig INFINIBAND_IPOIB
21da177e4SLinus Torvalds	tristate "IP-over-InfiniBand"
306cc8508SJan Engelhardt	depends on NETDEVICES && INET && (IPV6 || IPV6=n)
41da177e4SLinus Torvalds	---help---
51da177e4SLinus Torvalds	  Support for the IP-over-InfiniBand protocol (IPoIB). This
61da177e4SLinus Torvalds	  transports IP packets over InfiniBand so you can use your IB
71da177e4SLinus Torvalds	  device as a fancy NIC.
81da177e4SLinus Torvalds
997162a1eSMauro Carvalho Chehab	  See Documentation/infiniband/ipoib.rst for more information
101da177e4SLinus Torvalds
11839fcabaSMichael S. Tsirkinconfig INFINIBAND_IPOIB_CM
12839fcabaSMichael S. Tsirkin	bool "IP-over-InfiniBand Connected Mode support"
1399c3a5a9SRoland Dreier	depends on INFINIBAND_IPOIB
14839fcabaSMichael S. Tsirkin	default n
15839fcabaSMichael S. Tsirkin	---help---
1699c3a5a9SRoland Dreier	  This option enables support for IPoIB connected mode.  After
1799c3a5a9SRoland Dreier	  enabling this option, you need to switch to connected mode
1899c3a5a9SRoland Dreier	  through /sys/class/net/ibXXX/mode to actually create
1999c3a5a9SRoland Dreier	  connections, and then increase the interface MTU with
2099c3a5a9SRoland Dreier	  e.g. ifconfig ib0 mtu 65520.
21839fcabaSMichael S. Tsirkin
2299c3a5a9SRoland Dreier	  WARNING: Enabling connected mode will trigger some packet
2399c3a5a9SRoland Dreier	  drops for multicast and UD mode traffic from this interface,
24839fcabaSMichael S. Tsirkin	  unless you limit mtu for these destinations to 2044.
25839fcabaSMichael S. Tsirkin
261da177e4SLinus Torvaldsconfig INFINIBAND_IPOIB_DEBUG
276a108a14SDavid Rientjes	bool "IP-over-InfiniBand debugging" if EXPERT
281da177e4SLinus Torvalds	depends on INFINIBAND_IPOIB
29f5545d24SRoland Dreier	default y
301da177e4SLinus Torvalds	---help---
311da177e4SLinus Torvalds	  This option causes debugging code to be compiled into the
321da177e4SLinus Torvalds	  IPoIB driver.  The output can be turned on via the
331da177e4SLinus Torvalds	  debug_level and mcast_debug_level module parameters (which
341da177e4SLinus Torvalds	  can also be set after the driver is loaded through sysfs).
351da177e4SLinus Torvalds
3699059224SRoland Dreier	  This option also creates a directory tree under ipoib/ in
3799059224SRoland Dreier	  debugfs, which contains files that expose debugging
3899059224SRoland Dreier	  information about IB multicast groups used by the IPoIB
3999059224SRoland Dreier	  driver.
401da177e4SLinus Torvalds
411da177e4SLinus Torvaldsconfig INFINIBAND_IPOIB_DEBUG_DATA
421da177e4SLinus Torvalds	bool "IP-over-InfiniBand data path debugging"
431da177e4SLinus Torvalds	depends on INFINIBAND_IPOIB_DEBUG
441da177e4SLinus Torvalds	---help---
45cab00891SMatt LaPlante	  This option compiles debugging code into the data path
461da177e4SLinus Torvalds	  of the IPoIB driver.  The output can be turned on via the
471da177e4SLinus Torvalds	  data_debug_level module parameter; however, even with output
481da177e4SLinus Torvalds	  turned off, this debugging code will have some performance
491da177e4SLinus Torvalds	  impact.
50