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 select CRYPTO_SKCIPHER 26 select CRYPTO_HASH 27 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 36 If unsure, say Y. 37 38config SUNRPC_DEBUG 39 bool "RPC: Enable dprintk debugging" 40 depends on SUNRPC && SYSCTL 41 select DEBUG_FS 42 help 43 This option enables a sysctl-based debugging interface 44 that is be used by the 'rpcdebug' utility to turn on or off 45 logging of different aspects of the kernel RPC activity. 46 47 Disabling this option will make your kernel slightly smaller, 48 but makes troubleshooting NFS issues significantly harder. 49 50 If unsure, say Y. 51 52config SUNRPC_DEBUG_TRACE 53 bool "RPC: Send dfprintk() output to the trace buffer" 54 depends on SUNRPC_DEBUG && TRACING 55 default n 56 help 57 dprintk() output can be voluminous, which can overwhelm the 58 kernel's logging facility as it must be sent to the console. 59 This option causes dprintk() output to go to the trace buffer 60 instead of the kernel log. 61 62 This will cause warnings about trace_printk() being used to be 63 logged at boot time, so say N unless you are debugging a problem 64 with sunrpc-based clients or services. 65 66config SUNRPC_XPRT_RDMA 67 tristate "RPC-over-RDMA transport" 68 depends on SUNRPC && INFINIBAND && INFINIBAND_ADDR_TRANS 69 default SUNRPC && INFINIBAND 70 select SG_POOL 71 help 72 This option allows the NFS client and server to use RDMA 73 transports (InfiniBand, iWARP, or RoCE). 74 75 To compile this support as a module, choose M. The module 76 will be called rpcrdma.ko. 77 78 If unsure, or you know there is no RDMA capability on your 79 hardware platform, say N. 80