xref: /linux/net/sunrpc/Kconfig (revision b2128290c29902315e632ea59e0504d6bc9e9b42)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
29098c24fSAlexey Dobriyanconfig SUNRPC
39098c24fSAlexey Dobriyan	tristate
42813893fSIulia Manda	depends on MULTIUSER
59098c24fSAlexey Dobriyan
69098c24fSAlexey Dobriyanconfig SUNRPC_GSS
79098c24fSAlexey Dobriyan	tristate
8f783288fSChuck Lever	select OID_REGISTRY
92813893fSIulia Manda	depends on MULTIUSER
109098c24fSAlexey Dobriyan
119e00abc3STrond Myklebustconfig SUNRPC_BACKCHANNEL
129e00abc3STrond Myklebust	bool
139e00abc3STrond Myklebust	depends on SUNRPC
149e00abc3STrond Myklebust
15a564b8f0SMel Gormanconfig SUNRPC_SWAP
16a564b8f0SMel Gorman	bool
17a564b8f0SMel Gorman	depends on SUNRPC
18a564b8f0SMel Gorman
199098c24fSAlexey Dobriyanconfig RPCSEC_GSS_KRB5
20e3b2854fSTrond Myklebust	tristate "Secure RPC: Kerberos V mechanism"
21324be6dcSChuck Lever	depends on SUNRPC && CRYPTO
22df486a25STrond Myklebust	default y
239098c24fSAlexey Dobriyan	select SUNRPC_GSS
24*bf8672b9SChuck Lever	select CRYPTO_KRB5
259098c24fSAlexey Dobriyan	help
269098c24fSAlexey Dobriyan	  Choose Y here to enable Secure RPC using the Kerberos version 5
279098c24fSAlexey Dobriyan	  GSS-API mechanism (RFC 1964).
289098c24fSAlexey Dobriyan
299098c24fSAlexey Dobriyan	  Secure RPC calls with Kerberos require an auxiliary user-space
309098c24fSAlexey Dobriyan	  daemon which may be found in the Linux nfs-utils package
319098c24fSAlexey Dobriyan	  available from http://linux-nfs.org/.  In addition, user-space
329098c24fSAlexey Dobriyan	  Kerberos support should be installed.
339098c24fSAlexey Dobriyan
34df486a25STrond Myklebust	  If unsure, say Y.
35e27d359eSTrond Myklebust
36e27d359eSTrond Myklebustconfig SUNRPC_DEBUG
37e27d359eSTrond Myklebust	bool "RPC: Enable dprintk debugging"
38e27d359eSTrond Myklebust	depends on SUNRPC && SYSCTL
39b4b9d2ccSJeff Layton	select DEBUG_FS
40e27d359eSTrond Myklebust	help
41e27d359eSTrond Myklebust	  This option enables a sysctl-based debugging interface
42e27d359eSTrond Myklebust	  that is be used by the 'rpcdebug' utility to turn on or off
43e27d359eSTrond Myklebust	  logging of different aspects of the kernel RPC activity.
44e27d359eSTrond Myklebust
45e27d359eSTrond Myklebust	  Disabling this option will make your kernel slightly smaller,
46e27d359eSTrond Myklebust	  but makes troubleshooting NFS issues significantly harder.
47e27d359eSTrond Myklebust
48e27d359eSTrond Myklebust	  If unsure, say Y.
492e8c12e1SJeff Layton
50ec7d8e68SJeff Laytonconfig SUNRPC_DEBUG_TRACE
51ec7d8e68SJeff Layton	bool "RPC: Send dfprintk() output to the trace buffer"
52ec7d8e68SJeff Layton	depends on SUNRPC_DEBUG && TRACING
53ec7d8e68SJeff Layton	default n
54ec7d8e68SJeff Layton	help
55ec7d8e68SJeff Layton          dprintk() output can be voluminous, which can overwhelm the
56ec7d8e68SJeff Layton          kernel's logging facility as it must be sent to the console.
57ec7d8e68SJeff Layton          This option causes dprintk() output to go to the trace buffer
58ec7d8e68SJeff Layton          instead of the kernel log.
59ec7d8e68SJeff Layton
60ec7d8e68SJeff Layton          This will cause warnings about trace_printk() being used to be
61ec7d8e68SJeff Layton          logged at boot time, so say N unless you are debugging a problem
62ec7d8e68SJeff Layton          with sunrpc-based clients or services.
63ec7d8e68SJeff Layton
64ffe1f0dfSChuck Leverconfig SUNRPC_XPRT_RDMA
65ffe1f0dfSChuck Lever	tristate "RPC-over-RDMA transport"
66533d1daeSArnd Bergmann	depends on SUNRPC && INFINIBAND && INFINIBAND_ADDR_TRANS
672e8c12e1SJeff Layton	default SUNRPC && INFINIBAND
68f13193f5SChuck Lever	select SG_POOL
692e8c12e1SJeff Layton	help
70ffe1f0dfSChuck Lever	  This option allows the NFS client and server to use RDMA
71ffe1f0dfSChuck Lever	  transports (InfiniBand, iWARP, or RoCE).
722e8c12e1SJeff Layton
73ffe1f0dfSChuck Lever	  To compile this support as a module, choose M. The module
74ffe1f0dfSChuck Lever	  will be called rpcrdma.ko.
752e8c12e1SJeff Layton
76ffe1f0dfSChuck Lever	  If unsure, or you know there is no RDMA capability on your
77ffe1f0dfSChuck Lever	  hardware platform, say N.
78