• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# SPDX-License-Identifier: GPL-2.0-only
2config INFINIBAND_IPOIB
3	tristate "IP-over-InfiniBand"
4	depends on NETDEVICES && INET && (IPV6 || IPV6=n)
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
10	  See Documentation/infiniband/ipoib.rst for more information
11
12config INFINIBAND_IPOIB_CM
13	bool "IP-over-InfiniBand Connected Mode support"
14	depends on INFINIBAND_IPOIB
15	default n
16	help
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.
22
23	  WARNING: Enabling connected mode will trigger some packet
24	  drops for multicast and UD mode traffic from this interface,
25	  unless you limit mtu for these destinations to 2044.
26
27config INFINIBAND_IPOIB_DEBUG
28	bool "IP-over-InfiniBand debugging" if EXPERT
29	depends on INFINIBAND_IPOIB
30	default y
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
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.
41
42config INFINIBAND_IPOIB_DEBUG_DATA
43	bool "IP-over-InfiniBand data path debugging"
44	depends on INFINIBAND_IPOIB_DEBUG
45	help
46	  This option compiles debugging code into the data path
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.
51