aboutsummaryrefslogtreecommitdiff
path: root/fs/ksmbd/ksmbd_netlink.h
diff options
context:
space:
mode:
authorNamjae Jeon2021-12-29 23:08:46 +0900
committerSteve French2022-01-10 12:44:19 -0600
commit004443b3f6d722b455cf963ed7c3edd7f4772405 (patch)
treeda68a4c34e67a7da5117355a781da2eb9f54639e /fs/ksmbd/ksmbd_netlink.h
parentcb097b3dd5ece9596a0a0b7e33893c02a9bde8c6 (diff)
ksmbd: add support for smb2 max credit parameter
Add smb2 max credits parameter to adjust maximum credits value to limit number of outstanding requests. Signed-off-by: Namjae Jeon <linkinjeon@kernel.org> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/ksmbd/ksmbd_netlink.h')
-rw-r--r--fs/ksmbd/ksmbd_netlink.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ksmbd/ksmbd_netlink.h b/fs/ksmbd/ksmbd_netlink.h
index c6718a05d347..a5c2861792ae 100644
--- a/fs/ksmbd/ksmbd_netlink.h
+++ b/fs/ksmbd/ksmbd_netlink.h
@@ -103,6 +103,7 @@ struct ksmbd_startup_request {
* we set the SPARSE_FILES bit (0x40).
*/
__u32 sub_auth[3]; /* Subauth value for Security ID */
+ __u32 smb2_max_credits; /* MAX credits */
__u32 ifc_list_sz; /* interfaces list size */
__s8 ____payload[];
};