From: Long Li Date: Tue, 7 Nov 2017 08:54:54 +0000 (-0700) Subject: CIFS: SMBD: Introduce kernel config option CONFIG_CIFS_SMB_DIRECT X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=2b6ed88037cf11fadbf74b4a676aed5e1f6f39c3;p=linux.git CIFS: SMBD: Introduce kernel config option CONFIG_CIFS_SMB_DIRECT Build SMB Direct code when this option is set. Signed-off-by: Long Li Reviewed-by: Pavel Shilovsky Signed-off-by: Steve French Acked-by: Ronnie Sahlberg --- diff --git a/fs/cifs/Kconfig b/fs/cifs/Kconfig index d5b2e12b5d022..500fd69fb58b4 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