xref: /linux/drivers/infiniband/ulp/ipoib/Kconfig (revision ca55b2fef3a9373fcfc30f82fd26bc7fccbda732)
1config INFINIBAND_IPOIB
2	tristate "IP-over-InfiniBand"
3	depends on NETDEVICES && INET && (IPV6 || IPV6=n)
4	---help---
5	  Support for the IP-over-InfiniBand protocol (IPoIB). This
6	  transports IP packets over InfiniBand so you can use your IB
7	  device as a fancy NIC.
8
9	  See Documentation/infiniband/ipoib.txt for more information
10
11config INFINIBAND_IPOIB_CM
12	bool "IP-over-InfiniBand Connected Mode support"
13	depends on INFINIBAND_IPOIB
14	default n
15	---help---
16	  This option enables support for IPoIB connected mode.  After
17	  enabling this option, you need to switch to connected mode
18	  through /sys/class/net/ibXXX/mode to actually create
19	  connections, and then increase the interface MTU with
20	  e.g. ifconfig ib0 mtu 65520.
21
22	  WARNING: Enabling connected mode will trigger some packet
23	  drops for multicast and UD mode traffic from this interface,
24	  unless you limit mtu for these destinations to 2044.
25
26config INFINIBAND_IPOIB_DEBUG
27	bool "IP-over-InfiniBand debugging" if EXPERT
28	depends on INFINIBAND_IPOIB
29	default y
30	---help---
31	  This option causes debugging code to be compiled into the
32	  IPoIB driver.  The output can be turned on via the
33	  debug_level and mcast_debug_level module parameters (which
34	  can also be set after the driver is loaded through sysfs).
35
36	  This option also creates a directory tree under ipoib/ in
37	  debugfs, which contains files that expose debugging
38	  information about IB multicast groups used by the IPoIB
39	  driver.
40
41config INFINIBAND_IPOIB_DEBUG_DATA
42	bool "IP-over-InfiniBand data path debugging"
43	depends on INFINIBAND_IPOIB_DEBUG
44	---help---
45	  This option compiles debugging code into the data path
46	  of the IPoIB driver.  The output can be turned on via the
47	  data_debug_level module parameter; however, even with output
48	  turned off, this debugging code will have some performance
49	  impact.
50