From: Sanjay R Mehta Date: Fri, 24 Sep 2021 07:44:24 +0000 (-0500) Subject: thunderbolt: Enable retry logic for intra-domain control packets X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=641cdbea7635be3a177dbdf81356ccb16f3769e3;p=linux.git thunderbolt: Enable retry logic for intra-domain control packets In case of software connection manager, the response packets are lost sometimes within the stipulated time. Hence resending the control packets in such scenario by increasing the retry count TB_CTL_RETRIES value. Signed-off-by: Sanjay R Mehta Signed-off-by: Basavaraj Natikar Signed-off-by: Mika Westerberg --- diff --git a/drivers/thunderbolt/ctl.c b/drivers/thunderbolt/ctl.c index 0fb5e04191e24..4986edfbdf670 100644 --- a/drivers/thunderbolt/ctl.c +++ b/drivers/thunderbolt/ctl.c @@ -17,7 +17,7 @@ #define TB_CTL_RX_PKG_COUNT 10 -#define TB_CTL_RETRIES 1 +#define TB_CTL_RETRIES 4 /** * struct tb_ctl - Thunderbolt control channel