From: Stefan Metzmacher Date: Thu, 14 Aug 2025 17:12:38 +0000 (+0200) Subject: smb: smbdirect: introduce smbdirect_socket_parameters.{resolve_{addr,route},rdma_conn... X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=932fa15c3726459d0f996893262af33b9f7dc121;p=users%2Fhch%2Fmisc.git smb: smbdirect: introduce smbdirect_socket_parameters.{resolve_{addr,route},rdma_connect,negotiate}_timeout_msec These will be used instead of hardcoded values in client and server. 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 b9a385344ff3..17aa08dd6aba 100644 --- a/fs/smb/common/smbdirect/smbdirect.h +++ b/fs/smb/common/smbdirect/smbdirect.h @@ -23,6 +23,10 @@ struct smbdirect_buffer_descriptor_v1 { * Some values are important for the upper layer. */ struct smbdirect_socket_parameters { + __u32 resolve_addr_timeout_msec; + __u32 resolve_route_timeout_msec; + __u32 rdma_connect_timeout_msec; + __u32 negotiate_timeout_msec; __u16 recv_credit_max; __u16 send_credit_target; __u32 max_send_size;