Thomas Gleixner | ec8f24b | 2019-05-19 13:07:45 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0-only |
Alexey Dobriyan | 9098c24 | 2009-01-22 11:11:56 +0300 | [diff] [blame] | 2 | config SUNRPC |
| 3 | tristate |
Iulia Manda | 2813893 | 2015-04-15 16:16:41 -0700 | [diff] [blame] | 4 | depends on MULTIUSER |
Alexey Dobriyan | 9098c24 | 2009-01-22 11:11:56 +0300 | [diff] [blame] | 5 | |
| 6 | config SUNRPC_GSS |
| 7 | tristate |
Chuck Lever | f783288 | 2013-03-16 15:54:52 -0400 | [diff] [blame] | 8 | select OID_REGISTRY |
Iulia Manda | 2813893 | 2015-04-15 16:16:41 -0700 | [diff] [blame] | 9 | depends on MULTIUSER |
Alexey Dobriyan | 9098c24 | 2009-01-22 11:11:56 +0300 | [diff] [blame] | 10 | |
Trond Myklebust | 9e00abc | 2011-07-13 19:20:49 -0400 | [diff] [blame] | 11 | config SUNRPC_BACKCHANNEL |
| 12 | bool |
| 13 | depends on SUNRPC |
| 14 | |
Mel Gorman | a564b8f | 2012-07-31 16:45:12 -0700 | [diff] [blame] | 15 | config SUNRPC_SWAP |
| 16 | bool |
| 17 | depends on SUNRPC |
Mel Gorman | a564b8f | 2012-07-31 16:45:12 -0700 | [diff] [blame] | 18 | |
Alexey Dobriyan | 9098c24 | 2009-01-22 11:11:56 +0300 | [diff] [blame] | 19 | config RPCSEC_GSS_KRB5 |
Trond Myklebust | e3b2854 | 2011-04-15 12:58:56 -0400 | [diff] [blame] | 20 | tristate "Secure RPC: Kerberos V mechanism" |
Trond Myklebust | df486a2 | 2010-08-17 17:42:45 -0400 | [diff] [blame] | 21 | depends on SUNRPC && CRYPTO |
Trond Myklebust | e3b2854 | 2011-04-15 12:58:56 -0400 | [diff] [blame] | 22 | depends on CRYPTO_MD5 && CRYPTO_DES && CRYPTO_CBC && CRYPTO_CTS |
| 23 | depends on CRYPTO_ECB && CRYPTO_HMAC && CRYPTO_SHA1 && CRYPTO_AES |
Trond Myklebust | df486a2 | 2010-08-17 17:42:45 -0400 | [diff] [blame] | 24 | default y |
Alexey Dobriyan | 9098c24 | 2009-01-22 11:11:56 +0300 | [diff] [blame] | 25 | select SUNRPC_GSS |
Alexey Dobriyan | 9098c24 | 2009-01-22 11:11:56 +0300 | [diff] [blame] | 26 | 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 Myklebust | df486a2 | 2010-08-17 17:42:45 -0400 | [diff] [blame] | 35 | If unsure, say Y. |
Trond Myklebust | e27d359 | 2012-03-18 14:07:42 -0400 | [diff] [blame] | 36 | |
Anna Schumaker | 4368d77 | 2019-06-19 17:24:10 -0400 | [diff] [blame] | 37 | config SUNRPC_DISABLE_INSECURE_ENCTYPES |
Chuck Lever | fe9a270 | 2019-02-11 11:24:43 -0500 | [diff] [blame] | 38 | 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 Myklebust | e27d359 | 2012-03-18 14:07:42 -0400 | [diff] [blame] | 53 | config SUNRPC_DEBUG |
| 54 | bool "RPC: Enable dprintk debugging" |
| 55 | depends on SUNRPC && SYSCTL |
Jeff Layton | b4b9d2c | 2014-11-26 14:44:43 -0500 | [diff] [blame] | 56 | select DEBUG_FS |
Trond Myklebust | e27d359 | 2012-03-18 14:07:42 -0400 | [diff] [blame] | 57 | 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 Layton | 2e8c12e | 2014-03-18 19:45:47 -0400 | [diff] [blame] | 66 | |
Chuck Lever | ffe1f0d | 2015-06-04 11:21:42 -0400 | [diff] [blame] | 67 | config SUNRPC_XPRT_RDMA |
| 68 | tristate "RPC-over-RDMA transport" |
Arnd Bergmann | 533d1da | 2018-05-25 23:29:59 +0200 | [diff] [blame] | 69 | depends on SUNRPC && INFINIBAND && INFINIBAND_ADDR_TRANS |
Jeff Layton | 2e8c12e | 2014-03-18 19:45:47 -0400 | [diff] [blame] | 70 | default SUNRPC && INFINIBAND |
Chuck Lever | f13193f | 2017-04-09 13:06:16 -0400 | [diff] [blame] | 71 | select SG_POOL |
Jeff Layton | 2e8c12e | 2014-03-18 19:45:47 -0400 | [diff] [blame] | 72 | help |
Chuck Lever | ffe1f0d | 2015-06-04 11:21:42 -0400 | [diff] [blame] | 73 | This option allows the NFS client and server to use RDMA |
| 74 | transports (InfiniBand, iWARP, or RoCE). |
Jeff Layton | 2e8c12e | 2014-03-18 19:45:47 -0400 | [diff] [blame] | 75 | |
Chuck Lever | ffe1f0d | 2015-06-04 11:21:42 -0400 | [diff] [blame] | 76 | To compile this support as a module, choose M. The module |
| 77 | will be called rpcrdma.ko. |
Jeff Layton | 2e8c12e | 2014-03-18 19:45:47 -0400 | [diff] [blame] | 78 | |
Chuck Lever | ffe1f0d | 2015-06-04 11:21:42 -0400 | [diff] [blame] | 79 | If unsure, or you know there is no RDMA capability on your |
| 80 | hardware platform, say N. |