CIFS: SMBD: Introduce kernel config option CONFIG_CIFS_SMB_DIRECT

Build SMB Direct code when this option is set.

Signed-off-by: Long Li <[email protected]>
Reviewed-by: Pavel Shilovsky <[email protected]>
Signed-off-by: Steve French <[email protected]>
Acked-by: Ronnie Sahlberg <lsahlber.redhat.com>
This commit is contained in:
Long Li 2017-11-07 01:54:54 -07:00 • committed by Steve French
commit 2b6ed88037

View 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