mirror of
https://github.com/hardkernel/linux.git
synced 2026-03-25 12:00:22 +09:00
ksmbd: decrease the number of SMB3 smbdirect server SGEs
[ Upstream commit 2b4eeeaa90 ]
The server-side SMBDirect layer requires no more than 6 send SGEs
The previous default of 8 causes ksmbd to fail on the SoftiWARP
(siw) provider, and possibly others. Additionally, large numbers
of SGEs reduces performance significantly on adapter implementations.
Signed-off-by: Tom Talpey <tom@talpey.com>
Acked-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
d5a3b1024a
commit
fe4d09792b
@@ -32,7 +32,7 @@
|
||||
/* SMB_DIRECT negotiation timeout in seconds */
|
||||
#define SMB_DIRECT_NEGOTIATE_TIMEOUT 120
|
||||
|
||||
#define SMB_DIRECT_MAX_SEND_SGES 8
|
||||
#define SMB_DIRECT_MAX_SEND_SGES 6
|
||||
#define SMB_DIRECT_MAX_RECV_SGES 1
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user