mirror of
https://github.com/torvalds/linux.git
synced 2026-05-26 08:02:27 +02:00
smb: smbdirect: define SMBDIRECT_RDMA_CM_[RNR_]RETRY
These are copies of {SMBD,SMB_DIRECT}_CM_[RNR_]RETRY.
Cc: Steve French <smfrench@gmail.com>
Cc: Tom Talpey <tom@talpey.com>
Cc: Long Li <longli@microsoft.com>
Cc: Namjae Jeon <linkinjeon@kernel.org>
Cc: linux-cifs@vger.kernel.org
Cc: samba-technical@lists.samba.org
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Acked-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
This commit is contained in:
parent
5fe03dd0c5
commit
822b1f296a
|
|
@ -749,4 +749,13 @@ static inline size_t smbdirect_get_buf_page_count(const void *buf, size_t size)
|
|||
(uintptr_t)buf / PAGE_SIZE;
|
||||
}
|
||||
|
||||
/*
|
||||
* Maximum number of retries on data transfer operations
|
||||
*/
|
||||
#define SMBDIRECT_RDMA_CM_RETRY 6
|
||||
/*
|
||||
* No need to retry on Receiver Not Ready since SMB_DIRECT manages credits
|
||||
*/
|
||||
#define SMBDIRECT_RDMA_CM_RNR_RETRY 0
|
||||
|
||||
#endif /* __FS_SMB_COMMON_SMBDIRECT_SMBDIRECT_SOCKET_H__ */
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user