]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
ksmbd: reduce server smbdirect max send/receive segment sizes
authorTom Talpey <tom@talpey.com>
Fri, 23 Sep 2022 21:53:58 +0000 (21:53 +0000)
committerSteve French <stfrench@microsoft.com>
Wed, 5 Oct 2022 06:15:44 +0000 (01:15 -0500)
commit78af146e109bef5b3c411964141c6f8adbccd3b0
tree9bedb7d94eb5eba657f32579af21f642de5eb66b
parent2b4eeeaa90617c5e37da7c804c422b4e833b87b2
ksmbd: reduce server smbdirect max send/receive segment sizes

Reduce ksmbd smbdirect max segment send and receive size to 1364
to match protocol norms. Larger buffers are unnecessary and add
significant memory overhead.

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