]>
Commit | Line | Data |
---|---|---|
ec8f24b7 | 1 | # SPDX-License-Identifier: GPL-2.0-only |
1da177e4 LT |
2 | config INFINIBAND_IPOIB |
3 | tristate "IP-over-InfiniBand" | |
06cc8508 | 4 | depends on NETDEVICES && INET && (IPV6 || IPV6=n) |
a7f7f624 | 5 | help |
1da177e4 LT |
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 | ||
97162a1e | 10 | See Documentation/infiniband/ipoib.rst for more information |
1da177e4 | 11 | |
839fcaba MT |
12 | config INFINIBAND_IPOIB_CM |
13 | bool "IP-over-InfiniBand Connected Mode support" | |
99c3a5a9 | 14 | depends on INFINIBAND_IPOIB |
839fcaba | 15 | default n |
a7f7f624 | 16 | help |
99c3a5a9 RD |
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. | |
839fcaba | 22 | |
99c3a5a9 RD |
23 | WARNING: Enabling connected mode will trigger some packet |
24 | drops for multicast and UD mode traffic from this interface, | |
839fcaba MT |
25 | unless you limit mtu for these destinations to 2044. |
26 | ||
1da177e4 | 27 | config INFINIBAND_IPOIB_DEBUG |
6a108a14 | 28 | bool "IP-over-InfiniBand debugging" if EXPERT |
1da177e4 | 29 | depends on INFINIBAND_IPOIB |
f5545d24 | 30 | default y |
a7f7f624 | 31 | help |
1da177e4 LT |
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 | ||
99059224 RD |
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. | |
1da177e4 LT |
41 | |
42 | config INFINIBAND_IPOIB_DEBUG_DATA | |
43 | bool "IP-over-InfiniBand data path debugging" | |
44 | depends on INFINIBAND_IPOIB_DEBUG | |
a7f7f624 | 45 | help |
cab00891 | 46 | This option compiles debugging code into the data path |
1da177e4 LT |
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. |