Re: [Patch v5 02/21] CIFS: SMBD: Establish SMB Direct connection

From: Pavel Shilovsky
Date: Wed Nov 01 2017 - 13:19:12 EST


2017-10-18 16:09 GMT-07:00 Long Li <longli@xxxxxxxxxxxxxxxxxxxxxx>:
> From: Long Li <longli@xxxxxxxxxxxxx>
>
> Add code to implement the core functions to establish a SMB Direct connection.
>
> 1. Establish an RDMA connection to SMB server.
> 2. Negotiate and setup SMB Direct protocol.
> 3. Implement idle connection timer and credit management.
>
> SMB Direct is enabled by setting CONFIG_CIFS_SMB_DIRECT.
>
> Add to Kconfig and Makefile to enable building SMB Direct.
>
> Signed-off-by: Long Li <longli@xxxxxxxxxxxxx>
> ---
> fs/cifs/Kconfig | 7 +
> fs/cifs/Makefile | 2 +
> fs/cifs/smbdirect.c | 1576 +++++++++++++++++++++++++++++++++++++++++++++++++++
> fs/cifs/smbdirect.h | 265 +++++++++
> 4 files changed, 1850 insertions(+)
>
> diff --git a/fs/cifs/Kconfig b/fs/cifs/Kconfig
> index f724361..cb7db8d 100644
> --- a/fs/cifs/Kconfig
> +++ b/fs/cifs/Kconfig
> @@ -191,6 +191,13 @@ 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.
> +

Please add "If unsure, say N."

--
Best regards,
Pavel Shilovsky