CIFS: SMBD: Establish SMB Direct connection
authorLong Li <longli@microsoft.com>
Sun, 5 Nov 2017 01:17:24 +0000 (18:17 -0700)
committerSteve French <smfrench@gmail.com>
Thu, 25 Jan 2018 01:49:05 +0000 (19:49 -0600)
commitf198186aa9bbd60fae7a2061f4feec614d880299
tree2c314db26524118e82c5e7aebea4a882b3f15b08
parent03bee01d6215d0438e8a36b4ecb1a002625d0713
CIFS: SMBD: Establish SMB Direct connection

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 Makefile to enable building SMB Direct.

Signed-off-by: Long Li <longli@microsoft.com>
Signed-off-by: Steve French <smfrench@gmail.com>
Reviewed-by: Pavel Shilovsky <pshilov@microsoft.com>
fs/cifs/Makefile
fs/cifs/smbdirect.c
fs/cifs/smbdirect.h