All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] thunderbolt: Enable retry logic for intra-domain control packets
@ 2021-09-24  7:44 Sanjay R Mehta
  2021-09-27 10:49 ` Mika Westerberg
  0 siblings, 1 reply; 2+ messages in thread
From: Sanjay R Mehta @ 2021-09-24  7:44 UTC (permalink / raw)
  To: mika.westerberg, andreas.noever, michael.jamet, YehezkelShB
  Cc: Basavaraj.Natikar, linux-usb, Sanjay R Mehta

From: Sanjay R Mehta <sanju.mehta@amd.com>

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 <sanju.mehta@amd.com>
Signed-off-by: Basavaraj Natikar <Basavaraj.Natikar@amd.com>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
---
 drivers/thunderbolt/ctl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/thunderbolt/ctl.c b/drivers/thunderbolt/ctl.c
index 0fb5e04..4986edf 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
-- 
2.7.4


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] thunderbolt: Enable retry logic for intra-domain control packets
  2021-09-24  7:44 [PATCH] thunderbolt: Enable retry logic for intra-domain control packets Sanjay R Mehta
@ 2021-09-27 10:49 ` Mika Westerberg
  0 siblings, 0 replies; 2+ messages in thread
From: Mika Westerberg @ 2021-09-27 10:49 UTC (permalink / raw)
  To: Sanjay R Mehta
  Cc: andreas.noever, michael.jamet, YehezkelShB, Basavaraj.Natikar, linux-usb

On Fri, Sep 24, 2021 at 02:44:24AM -0500, Sanjay R Mehta wrote:
> From: Sanjay R Mehta <sanju.mehta@amd.com>
> 
> 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 <sanju.mehta@amd.com>
> Signed-off-by: Basavaraj Natikar <Basavaraj.Natikar@amd.com>
> Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>

Applied, thanks!

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-09-27 10:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-24  7:44 [PATCH] thunderbolt: Enable retry logic for intra-domain control packets Sanjay R Mehta
2021-09-27 10:49 ` Mika Westerberg

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.