mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-07 17:27:11 -04:00
Reduce client smbdirect max receive segment size
Reduce client smbdirect max segment receive size to 1364 to match protocol norms. Larger buffers are unnecessary and add significant memory overhead. Acked-by: Paulo Alcantara (SUSE) <pc@cjr.nz> Signed-off-by: Tom Talpey <tom@talpey.com> Signed-off-by: Steve French <stfrench@microsoft.com>
This commit is contained in:
@@ -90,7 +90,7 @@ int smbd_max_send_size = 1364;
|
||||
int smbd_max_fragmented_recv_size = 1024 * 1024;
|
||||
|
||||
/* The maximum single-message size which can be received */
|
||||
int smbd_max_receive_size = 8192;
|
||||
int smbd_max_receive_size = 1364;
|
||||
|
||||
/* The timeout to initiate send of a keepalive message on idle */
|
||||
int smbd_keep_alive_interval = 120;
|
||||
|
||||
Reference in New Issue
Block a user