Skip to contentSkip to conversation

thunderbolt: Enable retry logic for intra-domain control packets

PATCH Applied Sanjay R Mehta 2 participants 2 messages Sep 24, 2021 – Sep 27, 2021

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 thunderbolt: Enable retry logic for intra-domain control packets

From: Sanjay R Mehta <[email protected]>

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.

---
 drivers/thunderbolt/ctl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/thunderbolt/ctl.c +1 -1
index 0fb5e04..4986edf 100644
@@ -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
Signature · 1 line
2.7.4
#1 lore raw
Quoted 10 lines · Sanjay R Mehta

From: Sanjay R Mehta <[email protected]>

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.

Applied, thanks!