11da177e4SLinus Torvaldsconfig INFINIBAND_IPOIB
21da177e4SLinus Torvalds	tristate "IP-over-InfiniBand"
3*839fcabaSMichael S. Tsirkin	depends on INFINIBAND && 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
98ddc7c53SOr Gerlitz	  See Documentation/infiniband/ipoib.txt for more information
101da177e4SLinus Torvalds
11*839fcabaSMichael S. Tsirkinconfig INFINIBAND_IPOIB_CM
12*839fcabaSMichael S. Tsirkin	bool "IP-over-InfiniBand Connected Mode support"
13*839fcabaSMichael S. Tsirkin	depends on INFINIBAND_IPOIB && EXPERIMENTAL
14*839fcabaSMichael S. Tsirkin	default n
15*839fcabaSMichael S. Tsirkin	---help---
16*839fcabaSMichael S. Tsirkin	  This option enables experimental support for IPoIB connected mode.
17*839fcabaSMichael S. Tsirkin	  After enabling this option, you need to switch to connected mode through
18*839fcabaSMichael S. Tsirkin	  /sys/class/net/ibXXX/mode to actually create connections, and then increase
19*839fcabaSMichael S. Tsirkin	  the interface MTU with e.g. ifconfig ib0 mtu 65520.
20*839fcabaSMichael S. Tsirkin
21*839fcabaSMichael S. Tsirkin	  WARNING: Enabling connected mode will trigger some
22*839fcabaSMichael S. Tsirkin	  packet drops for multicast and UD mode traffic from this interface,
23*839fcabaSMichael S. Tsirkin	  unless you limit mtu for these destinations to 2044.
24*839fcabaSMichael S. Tsirkin
251da177e4SLinus Torvaldsconfig INFINIBAND_IPOIB_DEBUG
26f5545d24SRoland Dreier	bool "IP-over-InfiniBand debugging" if EMBEDDED
271da177e4SLinus Torvalds	depends on INFINIBAND_IPOIB
28f5545d24SRoland Dreier	default y
291da177e4SLinus Torvalds	---help---
301da177e4SLinus Torvalds	  This option causes debugging code to be compiled into the
311da177e4SLinus Torvalds	  IPoIB driver.  The output can be turned on via the
321da177e4SLinus Torvalds	  debug_level and mcast_debug_level module parameters (which
331da177e4SLinus Torvalds	  can also be set after the driver is loaded through sysfs).
341da177e4SLinus Torvalds
351da177e4SLinus Torvalds	  This option also creates an "ipoib_debugfs," which can be
361da177e4SLinus Torvalds	  mounted to expose debugging information about IB multicast
371da177e4SLinus Torvalds	  groups used by the IPoIB driver.
381da177e4SLinus Torvalds
391da177e4SLinus Torvaldsconfig INFINIBAND_IPOIB_DEBUG_DATA
401da177e4SLinus Torvalds	bool "IP-over-InfiniBand data path debugging"
411da177e4SLinus Torvalds	depends on INFINIBAND_IPOIB_DEBUG
421da177e4SLinus Torvalds	---help---
43cab00891SMatt LaPlante	  This option compiles debugging code into the data path
441da177e4SLinus Torvalds	  of the IPoIB driver.  The output can be turned on via the
451da177e4SLinus Torvalds	  data_debug_level module parameter; however, even with output
461da177e4SLinus Torvalds	  turned off, this debugging code will have some performance
471da177e4SLinus Torvalds	  impact.
48