diff mbox series

[v6,02/22] CIFS: SMBD: Introduce kernel config option CONFIG_CIFS_SMB_DIRECT

Message ID 20171105054404.23886-3-longli@exchange.microsoft.com
State New
Headers show
Series CIFS: Implement SMB Direct protocol | expand

Commit Message

Long Li Nov. 5, 2017, 5:43 a.m. UTC
From: Long Li <longli@microsoft.com>

SMB Direct is a protocol for transferring SMB packets over RDMA. It was
introduced with Windows Serer 2012 and SMB 3.0.

With CONFIG_CIFS_SMB_DIRECT=y, SMB Direct code is built as part of CIFS.

Signed-off-by: Long Li <longli@microsoft.com>
---
 fs/cifs/Kconfig | 8 ++++++++
 1 file changed, 8 insertions(+)
diff mbox series

Patch

diff --git a/fs/cifs/Kconfig b/fs/cifs/Kconfig
index f724361..8d05fff 100644
--- a/fs/cifs/Kconfig
+++ b/fs/cifs/Kconfig
@@ -191,6 +191,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