]> git.baikalelectronics.ru Git - kernel.git/commit
Decrease the number of SMB3 smbdirect client SGEs
authorTom Talpey <tom@talpey.com>
Fri, 23 Sep 2022 21:53:55 +0000 (21:53 +0000)
committerSteve French <stfrench@microsoft.com>
Wed, 5 Oct 2022 06:29:21 +0000 (01:29 -0500)
commit7875b64586b3d60e06b1a978cd2bda0765f2bf8e
tree96e66dd7a85425bf694429c8d371a8a923f3e4da
parent292cab67c086c0faea98ff27dfc44d2a2ff685ec
Decrease the number of SMB3 smbdirect client SGEs

The client-side SMBDirect layer requires no more than 6 send SGEs
and 1 receive SGE. The previous default of 8 send and 8 receive
causes smbdirect to fail on the SoftiWARP (siw) provider, and
possibly others. Additionally, large numbers of SGEs reduces
performance significantly on adapter implementations.

Also correct the frmr page count comment (not an SGE count).

Acked-by: Paulo Alcantara (SUSE) <pc@cjr.nz>
Signed-off-by: Tom Talpey <tom@talpey.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/smbdirect.c
fs/cifs/smbdirect.h