summaryrefslogtreecommitdiff
path: root/fs/cifs
diff options
context:
space:
mode:
authorLong Li <longli@microsoft.com>2017-11-07 11:54:54 +0300
committerSteve French <smfrench@gmail.com>2018-01-25 04:49:05 +0300
commit2b6ed88037cf11fadbf74b4a676aed5e1f6f39c3 (patch)
tree9d301a77c6738fa7ba5d4924fc11c01269b16270 /fs/cifs
parent2dabfd5baba641588b82ba499ef81c9a378bbb23 (diff)
downloadlinux-2b6ed88037cf11fadbf74b4a676aed5e1f6f39c3.tar.xz
CIFS: SMBD: Introduce kernel config option CONFIG_CIFS_SMB_DIRECT
Build SMB Direct code when this option is set. Signed-off-by: Long Li <longli@microsoft.com> Reviewed-by: Pavel Shilovsky <pshilov@microsoft.com> Signed-off-by: Steve French <smfrench@gmail.com> Acked-by: Ronnie Sahlberg <lsahlber.redhat.com>
Diffstat (limited to 'fs/cifs')
-rw-r--r--fs/cifs/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/fs/cifs/Kconfig b/fs/cifs/Kconfig
index d5b2e12b5d02..500fd69fb58b 100644
--- a/fs/cifs/Kconfig
+++ b/fs/cifs/Kconfig
@@ -196,6 +196,14 @@ config CIFS_SMB311
This dialect includes improved security negotiation features.
If unsure, say N
+config CIFS_SMB_DIRECT
+ bool "SMB Direct support (Experimental)"
+ depends on CIFS && INFINIBAND
+ help
+ Enables SMB Direct experimental support for SMB 3.0, 3.02 and 3.1.1.
+ SMB Direct allows transferring SMB packets over RDMA. If unsure,
+ say N.
+
config CIFS_FSCACHE
bool "Provide CIFS client caching support"
depends on CIFS=m && FSCACHE || CIFS=y && FSCACHE=y