11da177e4SLinus Torvaldsconfig INFINIBAND_IPOIB
21da177e4SLinus Torvalds	tristate "IP-over-InfiniBand"
306cc8508SJan Engelhardt	depends on NETDEVICES && INET && (IPV6 || IPV6=n)
4af40da89SVladimir Sokolovsky	select INET_LRO
51da177e4SLinus Torvalds	---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
108ddc7c53SOr Gerlitz	  See Documentation/infiniband/ipoib.txt for more information
111da177e4SLinus Torvalds
12839fcabaSMichael S. Tsirkinconfig INFINIBAND_IPOIB_CM
13839fcabaSMichael S. Tsirkin	bool "IP-over-InfiniBand Connected Mode support"
14*99c3a5a9SRoland Dreier	depends on INFINIBAND_IPOIB
15839fcabaSMichael S. Tsirkin	default n
16839fcabaSMichael S. Tsirkin	---help---
17*99c3a5a9SRoland Dreier	  This option enables support for IPoIB connected mode.  After
18*99c3a5a9SRoland Dreier	  enabling this option, you need to switch to connected mode
19*99c3a5a9SRoland Dreier	  through /sys/class/net/ibXXX/mode to actually create
20*99c3a5a9SRoland Dreier	  connections, and then increase the interface MTU with
21*99c3a5a9SRoland Dreier	  e.g. ifconfig ib0 mtu 65520.
22839fcabaSMichael S. Tsirkin
23*99c3a5a9SRoland Dreier	  WARNING: Enabling connected mode will trigger some packet
24*99c3a5a9SRoland 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
28f5545d24SRoland Dreier	bool "IP-over-InfiniBand debugging" if EMBEDDED
291da177e4SLinus Torvalds	depends on INFINIBAND_IPOIB
30f5545d24SRoland Dreier	default y
311da177e4SLinus Torvalds	---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
371da177e4SLinus Torvalds	  This option also creates an "ipoib_debugfs," which can be
381da177e4SLinus Torvalds	  mounted to expose debugging information about IB multicast
391da177e4SLinus Torvalds	  groups used by the IPoIB 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