]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ksmbd: reduce server smbdirect max send/receive segment sizes
authorTom Talpey <tom@talpey.com>
Mon, 18 Dec 2023 15:33:19 +0000 (00:33 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 23 Dec 2023 09:41:53 +0000 (10:41 +0100)
commit507cb106c3b9f9cd17d73186f9c9f0be89de70f0
tree2304867a6498af7e99f46349aded91c44082fabd
parentfe4d09792bc68897b8504fcba0e9eb03edb7a3c6
ksmbd: reduce server smbdirect max send/receive segment sizes

[ Upstream commit 78af146e109bef5b3c411964141c6f8adbccd3b0 ]

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/ksmbd/transport_rdma.c