blob: 3bcf985507be980d1df4057591d5cce5694ae8ef [file] [log] [blame]
Thomas Gleixnerec8f24b2019-05-19 13:07:45 +01001# SPDX-License-Identifier: GPL-2.0-only
Alexey Dobriyan9098c242009-01-22 11:11:56 +03002config SUNRPC
3 tristate
Iulia Manda28138932015-04-15 16:16:41 -07004 depends on MULTIUSER
Alexey Dobriyan9098c242009-01-22 11:11:56 +03005
6config SUNRPC_GSS
7 tristate
Chuck Leverf7832882013-03-16 15:54:52 -04008 select OID_REGISTRY
Iulia Manda28138932015-04-15 16:16:41 -07009 depends on MULTIUSER
Alexey Dobriyan9098c242009-01-22 11:11:56 +030010
Trond Myklebust9e00abc2011-07-13 19:20:49 -040011config SUNRPC_BACKCHANNEL
12 bool
13 depends on SUNRPC
14
Mel Gormana564b8f2012-07-31 16:45:12 -070015config SUNRPC_SWAP
16 bool
17 depends on SUNRPC
Mel Gormana564b8f2012-07-31 16:45:12 -070018
Alexey Dobriyan9098c242009-01-22 11:11:56 +030019config RPCSEC_GSS_KRB5
Trond Myklebuste3b28542011-04-15 12:58:56 -040020 tristate "Secure RPC: Kerberos V mechanism"
Trond Myklebustdf486a22010-08-17 17:42:45 -040021 depends on SUNRPC && CRYPTO
Trond Myklebuste3b28542011-04-15 12:58:56 -040022 depends on CRYPTO_MD5 && CRYPTO_DES && CRYPTO_CBC && CRYPTO_CTS
23 depends on CRYPTO_ECB && CRYPTO_HMAC && CRYPTO_SHA1 && CRYPTO_AES
24 depends on CRYPTO_ARC4
Trond Myklebustdf486a22010-08-17 17:42:45 -040025 default y
Alexey Dobriyan9098c242009-01-22 11:11:56 +030026 select SUNRPC_GSS
Alexey Dobriyan9098c242009-01-22 11:11:56 +030027 help
28 Choose Y here to enable Secure RPC using the Kerberos version 5
29 GSS-API mechanism (RFC 1964).
30
31 Secure RPC calls with Kerberos require an auxiliary user-space
32 daemon which may be found in the Linux nfs-utils package
33 available from http://linux-nfs.org/. In addition, user-space
34 Kerberos support should be installed.
35
Trond Myklebustdf486a22010-08-17 17:42:45 -040036 If unsure, say Y.
Trond Myklebuste27d3592012-03-18 14:07:42 -040037
Anna Schumaker4368d772019-06-19 17:24:10 -040038config SUNRPC_DISABLE_INSECURE_ENCTYPES
Chuck Leverfe9a2702019-02-11 11:24:43 -050039 bool "Secure RPC: Disable insecure Kerberos encryption types"
40 depends on RPCSEC_GSS_KRB5
41 default n
42 help
43 Choose Y here to disable the use of deprecated encryption types
44 with the Kerberos version 5 GSS-API mechanism (RFC 1964). The
45 deprecated encryption types include DES-CBC-MD5, DES-CBC-CRC,
46 and DES-CBC-MD4. These types were deprecated by RFC 6649 because
47 they were found to be insecure.
48
49 N is the default because many sites have deployed KDCs and
50 keytabs that contain only these deprecated encryption types.
51 Choosing Y prevents the use of known-insecure encryption types
52 but might result in compatibility problems.
53
Trond Myklebuste27d3592012-03-18 14:07:42 -040054config SUNRPC_DEBUG
55 bool "RPC: Enable dprintk debugging"
56 depends on SUNRPC && SYSCTL
Jeff Laytonb4b9d2c2014-11-26 14:44:43 -050057 select DEBUG_FS
Trond Myklebuste27d3592012-03-18 14:07:42 -040058 help
59 This option enables a sysctl-based debugging interface
60 that is be used by the 'rpcdebug' utility to turn on or off
61 logging of different aspects of the kernel RPC activity.
62
63 Disabling this option will make your kernel slightly smaller,
64 but makes troubleshooting NFS issues significantly harder.
65
66 If unsure, say Y.
Jeff Layton2e8c12e2014-03-18 19:45:47 -040067
Chuck Leverffe1f0d2015-06-04 11:21:42 -040068config SUNRPC_XPRT_RDMA
69 tristate "RPC-over-RDMA transport"
Arnd Bergmann533d1da2018-05-25 23:29:59 +020070 depends on SUNRPC && INFINIBAND && INFINIBAND_ADDR_TRANS
Jeff Layton2e8c12e2014-03-18 19:45:47 -040071 default SUNRPC && INFINIBAND
Chuck Leverf13193f2017-04-09 13:06:16 -040072 select SG_POOL
Jeff Layton2e8c12e2014-03-18 19:45:47 -040073 help
Chuck Leverffe1f0d2015-06-04 11:21:42 -040074 This option allows the NFS client and server to use RDMA
75 transports (InfiniBand, iWARP, or RoCE).
Jeff Layton2e8c12e2014-03-18 19:45:47 -040076
Chuck Leverffe1f0d2015-06-04 11:21:42 -040077 To compile this support as a module, choose M. The module
78 will be called rpcrdma.ko.
Jeff Layton2e8c12e2014-03-18 19:45:47 -040079
Chuck Leverffe1f0d2015-06-04 11:21:42 -040080 If unsure, or you know there is no RDMA capability on your
81 hardware platform, say N.