summaryrefslogtreecommitdiff
path: root/fs/ksmbd/ksmbd_netlink.h
diff options
context:
space:
mode:
authorNamjae Jeon <linkinjeon@kernel.org>2022-05-16 10:22:43 +0300
committerSteve French <stfrench@microsoft.com>2022-05-21 23:01:43 +0300
commit65bb45b97b578c8eed1ffa80caec84708df49729 (patch)
treed783a45c1fe9cd4fa962da7d763ae22db88b7cd7 /fs/ksmbd/ksmbd_netlink.h
parent65ca7a3ffff811d6c0d4342d467c381257d566d4 (diff)
downloadlinux-65bb45b97b578c8eed1ffa80caec84708df49729.tar.xz
ksmbd: add smbd max io size parameter
Add 'smbd max io size' parameter to adjust smbd-direct max read/write size. Signed-off-by: Namjae Jeon <linkinjeon@kernel.org> Reviewed-by: Hyunchul Lee <hyc.lee@gmail.com> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/ksmbd/ksmbd_netlink.h')
-rw-r--r--fs/ksmbd/ksmbd_netlink.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/ksmbd/ksmbd_netlink.h b/fs/ksmbd/ksmbd_netlink.h
index ebe6ca08467a..52aa0adeb951 100644
--- a/fs/ksmbd/ksmbd_netlink.h
+++ b/fs/ksmbd/ksmbd_netlink.h
@@ -104,7 +104,8 @@ struct ksmbd_startup_request {
*/
__u32 sub_auth[3]; /* Subauth value for Security ID */
__u32 smb2_max_credits; /* MAX credits */
- __u32 reserved[128]; /* Reserved room */
+ __u32 smbd_max_io_size; /* smbd read write size */
+ __u32 reserved[127]; /* Reserved room */
__u32 ifc_list_sz; /* interfaces list size */
__s8 ____payload[];
};