blob: bbbb5af0af1311b0c50a47e2d9ec3d2c068af65b [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
Trond Myklebustdf486a22010-08-17 17:42:45 -040024 default y
Alexey Dobriyan9098c242009-01-22 11:11:56 +030025 select SUNRPC_GSS
Alexey Dobriyan9098c242009-01-22 11:11:56 +030026 help
27 Choose Y here to enable Secure RPC using the Kerberos version 5
28 GSS-API mechanism (RFC 1964).
29
30 Secure RPC calls with Kerberos require an auxiliary user-space
31 daemon which may be found in the Linux nfs-utils package
32 available from http://linux-nfs.org/. In addition, user-space
33 Kerberos support should be installed.
34
Trond Myklebustdf486a22010-08-17 17:42:45 -040035 If unsure, say Y.
Trond Myklebuste27d3592012-03-18 14:07:42 -040036
Anna Schumaker4368d772019-06-19 17:24:10 -040037config SUNRPC_DISABLE_INSECURE_ENCTYPES
Chuck Leverfe9a2702019-02-11 11:24:43 -050038 bool "Secure RPC: Disable insecure Kerberos encryption types"
39 depends on RPCSEC_GSS_KRB5
40 default n
41 help
42 Choose Y here to disable the use of deprecated encryption types
43 with the Kerberos version 5 GSS-API mechanism (RFC 1964). The
44 deprecated encryption types include DES-CBC-MD5, DES-CBC-CRC,
45 and DES-CBC-MD4. These types were deprecated by RFC 6649 because
46 they were found to be insecure.
47
48 N is the default because many sites have deployed KDCs and
49 keytabs that contain only these deprecated encryption types.
50 Choosing Y prevents the use of known-insecure encryption types
51 but might result in compatibility problems.
52
Trond Myklebuste27d3592012-03-18 14:07:42 -040053config SUNRPC_DEBUG
54 bool "RPC: Enable dprintk debugging"
55 depends on SUNRPC && SYSCTL
Jeff Laytonb4b9d2c2014-11-26 14:44:43 -050056 select DEBUG_FS
Trond Myklebuste27d3592012-03-18 14:07:42 -040057 help
58 This option enables a sysctl-based debugging interface
59 that is be used by the 'rpcdebug' utility to turn on or off
60 logging of different aspects of the kernel RPC activity.
61
62 Disabling this option will make your kernel slightly smaller,
63 but makes troubleshooting NFS issues significantly harder.
64
65 If unsure, say Y.
Jeff Layton2e8c12e2014-03-18 19:45:47 -040066
Chuck Leverffe1f0d2015-06-04 11:21:42 -040067config SUNRPC_XPRT_RDMA
68 tristate "RPC-over-RDMA transport"
Arnd Bergmann533d1da2018-05-25 23:29:59 +020069 depends on SUNRPC && INFINIBAND && INFINIBAND_ADDR_TRANS
Jeff Layton2e8c12e2014-03-18 19:45:47 -040070 default SUNRPC && INFINIBAND
Chuck Leverf13193f2017-04-09 13:06:16 -040071 select SG_POOL
Jeff Layton2e8c12e2014-03-18 19:45:47 -040072 help
Chuck Leverffe1f0d2015-06-04 11:21:42 -040073 This option allows the NFS client and server to use RDMA
74 transports (InfiniBand, iWARP, or RoCE).
Jeff Layton2e8c12e2014-03-18 19:45:47 -040075
Chuck Leverffe1f0d2015-06-04 11:21:42 -040076 To compile this support as a module, choose M. The module
77 will be called rpcrdma.ko.
Jeff Layton2e8c12e2014-03-18 19:45:47 -040078
Chuck Leverffe1f0d2015-06-04 11:21:42 -040079 If unsure, or you know there is no RDMA capability on your
80 hardware platform, say N.