| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | config INFINIBAND_IPOIB | 
|  | 2 | tristate "IP-over-InfiniBand" | 
| Jan Engelhardt | 06cc850 | 2007-05-23 14:21:22 -0700 | [diff] [blame] | 3 | depends on NETDEVICES && INET && (IPV6 || IPV6=n) | 
| Vladimir Sokolovsky | af40da8 | 2008-07-14 23:48:48 -0700 | [diff] [blame] | 4 | select INET_LRO | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 5 | ---help--- | 
|  | 6 | Support for the IP-over-InfiniBand protocol (IPoIB). This | 
|  | 7 | transports IP packets over InfiniBand so you can use your IB | 
|  | 8 | device as a fancy NIC. | 
|  | 9 |  | 
| Or Gerlitz | 8ddc7c5 | 2006-07-13 11:00:39 +0300 | [diff] [blame] | 10 | See Documentation/infiniband/ipoib.txt for more information | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 11 |  | 
| Michael S. Tsirkin | 839fcab | 2007-02-05 22:12:23 +0200 | [diff] [blame] | 12 | config INFINIBAND_IPOIB_CM | 
|  | 13 | bool "IP-over-InfiniBand Connected Mode support" | 
| Roland Dreier | 99c3a5a | 2008-07-24 20:37:25 -0700 | [diff] [blame] | 14 | depends on INFINIBAND_IPOIB | 
| Michael S. Tsirkin | 839fcab | 2007-02-05 22:12:23 +0200 | [diff] [blame] | 15 | default n | 
|  | 16 | ---help--- | 
| Roland Dreier | 99c3a5a | 2008-07-24 20:37:25 -0700 | [diff] [blame] | 17 | This option enables support for IPoIB connected mode.  After | 
|  | 18 | enabling this option, you need to switch to connected mode | 
|  | 19 | through /sys/class/net/ibXXX/mode to actually create | 
|  | 20 | connections, and then increase the interface MTU with | 
|  | 21 | e.g. ifconfig ib0 mtu 65520. | 
| Michael S. Tsirkin | 839fcab | 2007-02-05 22:12:23 +0200 | [diff] [blame] | 22 |  | 
| Roland Dreier | 99c3a5a | 2008-07-24 20:37:25 -0700 | [diff] [blame] | 23 | WARNING: Enabling connected mode will trigger some packet | 
|  | 24 | drops for multicast and UD mode traffic from this interface, | 
| Michael S. Tsirkin | 839fcab | 2007-02-05 22:12:23 +0200 | [diff] [blame] | 25 | unless you limit mtu for these destinations to 2044. | 
|  | 26 |  | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 27 | config INFINIBAND_IPOIB_DEBUG | 
| Roland Dreier | f5545d2 | 2006-04-02 14:39:19 -0700 | [diff] [blame] | 28 | bool "IP-over-InfiniBand debugging" if EMBEDDED | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 29 | depends on INFINIBAND_IPOIB | 
| Roland Dreier | f5545d2 | 2006-04-02 14:39:19 -0700 | [diff] [blame] | 30 | default y | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 31 | ---help--- | 
|  | 32 | This option causes debugging code to be compiled into the | 
|  | 33 | IPoIB driver.  The output can be turned on via the | 
|  | 34 | debug_level and mcast_debug_level module parameters (which | 
|  | 35 | can also be set after the driver is loaded through sysfs). | 
|  | 36 |  | 
| Roland Dreier | 9905922 | 2008-07-24 20:37:25 -0700 | [diff] [blame] | 37 | This option also creates a directory tree under ipoib/ in | 
|  | 38 | debugfs, which contains files that expose debugging | 
|  | 39 | information about IB multicast groups used by the IPoIB | 
|  | 40 | driver. | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 41 |  | 
|  | 42 | config INFINIBAND_IPOIB_DEBUG_DATA | 
|  | 43 | bool "IP-over-InfiniBand data path debugging" | 
|  | 44 | depends on INFINIBAND_IPOIB_DEBUG | 
|  | 45 | ---help--- | 
| Matt LaPlante | cab0089 | 2006-10-03 22:36:44 +0200 | [diff] [blame] | 46 | This option compiles debugging code into the data path | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 47 | of the IPoIB driver.  The output can be turned on via the | 
|  | 48 | data_debug_level module parameter; however, even with output | 
|  | 49 | turned off, this debugging code will have some performance | 
|  | 50 | impact. |