summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorMika Westerberg <mika.westerberg@linux.intel.com>2020-12-28 12:17:13 +0100
committerMika Westerberg <mika.westerberg@linux.intel.com>2021-03-18 16:25:30 +0100
commit61ec15e5534b1adcfc30cb2cf408144c6cd621f2 (patch)
treebe1c12173c66c3e64030de5b751cf2a90e0027ea /drivers
parentthunderbolt: debugfs: Show all accessible dwords (diff)
downloadlinux-61ec15e5534b1adcfc30cb2cf408144c6cd621f2.tar.xz
linux-61ec15e5534b1adcfc30cb2cf408144c6cd621f2.zip
thunderbolt: Disable retry logic for intra-domain control packets
In most cases the response packet is lost because the router in question was disconnected by the user. Resending the control packet in that case just adds unnecessary delays, so disable that for intra-domain control packets. For inter-domain (XDomain) packets we continue retrying. This also aligns the driver better what the Intel connection manager firmware is doing. Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/thunderbolt/ctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/thunderbolt/ctl.c b/drivers/thunderbolt/ctl.c
index f1aeaff9f368..875922133782 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 4
+#define TB_CTL_RETRIES 1
/**
* struct tb_ctl - Thunderbolt control channel