]> 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)
commit3a0c77e2f43fe51329c0c4678ae3f3140ba8783d
tree96e66dd7a85425bf694429c8d371a8a923f3e4da
parentdc608d46455f2a246015122633c5cd143e9e6983
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