xref: /linux/net/sunrpc/Kconfig (revision bb9f4c49500306793eb83e4435107332db6925f0)
1# SPDX-License-Identifier: GPL-2.0-only
2config SUNRPC
3	tristate
4	depends on MULTIUSER
5
6config SUNRPC_GSS
7	tristate
8	select OID_REGISTRY
9	depends on MULTIUSER
10
11config SUNRPC_BACKCHANNEL
12	bool
13	depends on SUNRPC
14
15config SUNRPC_SWAP
16	bool
17	depends on SUNRPC
18
19config RPCSEC_GSS_KRB5
20	tristate "Secure RPC: Kerberos V mechanism"
21	depends on SUNRPC && CRYPTO
22	default y
23	select SUNRPC_GSS
24	select CRYPTO_KRB5
25	help
26	  Choose Y here to enable Secure RPC using the Kerberos version 5
27	  GSS-API mechanism (RFC 1964).
28
29	  Secure RPC calls with Kerberos require an auxiliary user-space
30	  daemon which may be found in the Linux nfs-utils package
31	  available from http://linux-nfs.org/.  In addition, user-space
32	  Kerberos support should be installed.
33
34	  If unsure, say Y.
35
36config SUNRPC_DEBUG
37	bool "RPC: Enable dprintk debugging"
38	depends on SUNRPC && SYSCTL
39	select DEBUG_FS
40	help
41	  This option enables a sysctl-based debugging interface
42	  that is be used by the 'rpcdebug' utility to turn on or off
43	  logging of different aspects of the kernel RPC activity.
44
45	  Disabling this option will make your kernel slightly smaller,
46	  but makes troubleshooting NFS issues significantly harder.
47
48	  If unsure, say Y.
49
50config SUNRPC_DEBUG_TRACE
51	bool "RPC: Send dfprintk() output to the trace buffer"
52	depends on SUNRPC_DEBUG && TRACING
53	default n
54	help
55          dprintk() output can be voluminous, which can overwhelm the
56          kernel's logging facility as it must be sent to the console.
57          This option causes dprintk() output to go to the trace buffer
58          instead of the kernel log.
59
60          This will cause warnings about trace_printk() being used to be
61          logged at boot time, so say N unless you are debugging a problem
62          with sunrpc-based clients or services.
63
64config SUNRPC_XPRT_RDMA
65	tristate "RPC-over-RDMA transport"
66	depends on SUNRPC && INFINIBAND && INFINIBAND_ADDR_TRANS
67	default SUNRPC && INFINIBAND
68	select SG_POOL
69	help
70	  This option allows the NFS client and server to use RDMA
71	  transports (InfiniBand, iWARP, or RoCE).
72
73	  To compile this support as a module, choose M. The module
74	  will be called rpcrdma.ko.
75
76	  If unsure, or you know there is no RDMA capability on your
77	  hardware platform, say N.
78