From: Stefan Metzmacher Date: Tue, 19 Aug 2025 21:18:21 +0000 (+0200) Subject: smb: smbdirect: introduce smbdirect_socket_parameters.{initiator_depth,responder_reso... X-Git-Tag: v6.18-rc1~225^2~147 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8e34a763870dc48b69049c2a4ec032a21d66feb6;p=thirdparty%2Fkernel%2Fstable.git smb: smbdirect: introduce smbdirect_socket_parameters.{initiator_depth,responder_resources} This will make it easier to specify these from the outside of the core code later. Cc: Steve French Cc: Tom Talpey Cc: Long Li Acked-by: Namjae Jeon Cc: linux-cifs@vger.kernel.org Cc: samba-technical@lists.samba.org Signed-off-by: Stefan Metzmacher Signed-off-by: Steve French --- diff --git a/fs/smb/common/smbdirect/smbdirect.h b/fs/smb/common/smbdirect/smbdirect.h index 17aa08dd6aba4..c3274bbb3c02d 100644 --- a/fs/smb/common/smbdirect/smbdirect.h +++ b/fs/smb/common/smbdirect/smbdirect.h @@ -27,6 +27,8 @@ struct smbdirect_socket_parameters { __u32 resolve_route_timeout_msec; __u32 rdma_connect_timeout_msec; __u32 negotiate_timeout_msec; + __u8 initiator_depth; + __u8 responder_resources; __u16 recv_credit_max; __u16 send_credit_target; __u32 max_send_size;