xref: /linux/net/smc/Kconfig (revision f2161d5f1aae21a42b0a64d87e10cb31db423f42)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
2ac713874SUrsula Braunconfig SMC
3ac713874SUrsula Braun	tristate "SMC socket protocol family"
4d324a2caSAlexandra Winter	depends on INET && INFINIBAND && DIBS
5a7f7f624SMasahiro Yamada	help
6ac713874SUrsula Braun	  SMC-R provides a "sockets over RDMA" solution making use of
7ac713874SUrsula Braun	  RDMA over Converged Ethernet (RoCE) technology to upgrade
8ac713874SUrsula Braun	  AF_INET TCP connections transparently.
9ac713874SUrsula Braun	  The Linux implementation of the SMC-R solution is designed as
10ac713874SUrsula Braun	  a separate socket family SMC.
11ac713874SUrsula Braun
12ac713874SUrsula Braun	  Select this option if you want to run SMC socket applications
13f16a7dd5SUrsula Braun
14f16a7dd5SUrsula Braunconfig SMC_DIAG
15f16a7dd5SUrsula Braun	tristate "SMC: socket monitoring interface"
16f16a7dd5SUrsula Braun	depends on SMC
17a7f7f624SMasahiro Yamada	help
18f16a7dd5SUrsula Braun	  Support for SMC socket monitoring interface used by tools such as
19f16a7dd5SUrsula Braun	  smcss.
20f16a7dd5SUrsula Braun
21f16a7dd5SUrsula Braun	  if unsure, say Y.
2215f295f5SD. Wythe
2315f295f5SD. Wytheconfig SMC_HS_CTRL_BPF
2415f295f5SD. Wythe	bool "Generic eBPF hook for SMC handshake flow"
25*861111b6SGeert Uytterhoeven	depends on SMC && BPF_JIT && BPF_SYSCALL
2615f295f5SD. Wythe	default y
2715f295f5SD. Wythe	help
2815f295f5SD. Wythe	  SMC_HS_CTRL_BPF enables support to register generic eBPF hook for SMC
2915f295f5SD. Wythe	  handshake flow, which offer much greater flexibility in modifying the behavior
3015f295f5SD. Wythe	  of the SMC protocol stack compared to a complete kernel-based approach. Select
3115f295f5SD. Wythe	  this option if you want filtring the handshake process via eBPF programs.
32