]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
CIFS: SMBD: Introduce kernel config option CONFIG_CIFS_SMB_DIRECT
authorLong Li <longli@microsoft.com>
Tue, 7 Nov 2017 08:54:54 +0000 (01:54 -0700)
committerSteve French <smfrench@gmail.com>
Thu, 25 Jan 2018 01:49:05 +0000 (19:49 -0600)
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>
fs/cifs/Kconfig

index d5b2e12b5d02212046f0a7b816550737cc3b45af..500fd69fb58b42dfa9eb7c912ffcae7e3de652dd 100644 (file)
@@ -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