]> git.baikalelectronics.ru Git - kernel.git/commit
ksmbd: decrease the number of SMB3 smbdirect server SGEs
authorTom Talpey <tom@talpey.com>
Fri, 23 Sep 2022 21:53:56 +0000 (21:53 +0000)
committerSteve French <stfrench@microsoft.com>
Wed, 5 Oct 2022 06:15:44 +0000 (01:15 -0500)
commit30939be9c2f3b425ae04a505d92c1a2ac0348006
treeee525ccce508231e5508681ce313b24320229d17
parent933ee0d6191cf79aefce6ca1943c48a23548be12
ksmbd: decrease the number of SMB3 smbdirect server SGEs

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>
fs/ksmbd/transport_rdma.c