Article View: linux.kernel.netdev
Article #24559thunderbolt_net: packets with IP total length 227-230 are dropped (rx_crc_errors) on host-to-host USB4 links
From: Karl Fussmann CFO
Date: Mon, 30 Nov 2026 10:48
Date: Mon, 30 Nov 2026 10:48
143 lines
16497 bytes
16497 bytes
Hi,
on thunderbolt_net host-to-host (XDomain) links we see packets with an
IP total length of 227 to 230 bytes being dropped. All other lengths
we tested are delivered without loss. TCP, UDP and ICMP are affected
alike. The drops show up as rx_crc_errors on the receiving interface;
the kernel log stays silent.
It is easy to reproduce with ping between two directly connected
hosts:
for s in $(seq 194 206); do
ping -n -q -c 400 -i 0.01 -W 1 -M do -s $s <peer> | tail -2
done
Result on one link, both directions, 400 echoes per size and run:
ping -s IP length 7.3.6 (1st) 7.0.14-30 7.3.6 (2nd)
194-198 222-226 0 lost 0 lost 0 lost
199-202 227-230 1599/1600, 1600/1600, 1599/1600,
1598/1600 1600/1600 1599/1600
203-206 231-234 0 lost 0 lost 0 lost
For 7.0.14-30 both ends of the link were booted into that kernel, so
this does not look like a regression between 7.0 and 7.3. The two
kernels also come from different bases (see Setup): the 7.0 kernel is
Ubuntu-based, the 7.3 kernel is built from the upstream stable
branch.
The practical impact: TCP segments of these lengths need
retransmissions, and a lost segment is often lost again on
retransmit, so connections stall for seconds to minutes while the RTO
backs off. In our case this breaks the Ceph monitor quorum, because
the monitors regularly exchange 176-byte TCP payloads (IP length 228).
Setup
-----
- 7 identical hosts: GMKtec NucBox K11, AMD Ryzen 9 8945HS,
BIOS 1.04 (2026-05-14).
- Both USB4 host routers per host are used: AMD "Pink Sardine"
USB4/Thunderbolt NHI #1/#2 [1022:1668] and [1022:1669] (PCI c9:00.5,
c9:00.6), generation 4, retimer 0x7fea:0x1032.
- The hosts are cabled as a ring of 7 host-to-host USB4 links
(thunderbolt_net, MTU 65520, IPv4 forwarding, OSPF via FRR).
- Kernels: Proxmox VE 7.3.6-1-pve (also seen on 7.3.5-1-pve), which
according to Proxmox is built directly from the upstream stable
branch on kernel.org rather than from the Ubuntu kernel, and
7.0.14-30-pve, which is still Ubuntu-based. We have not tested a
plain kernel.org build or current mainline ourselves.
- Module parameters are the defaults: thunderbolt asym_threshold=45000,
bw_alloc_mode=Y, clx=Y, dma_credits=14, dprx_timeout=12000,
host_reset=Y, start_icm=N, xdomain=Y; thunderbolt_net e2e=Y.
- Default qdisc fq_codel, no tc filters.
Single-segment test
-------------------
We also used a small test tool (Python, standard library only; we can
send it): a TCP client with TCP_NODELAY sends one message of N bytes
and waits for a 1-byte reply before the next one, and records per
message whether tcpi_total_retrans increased. A UDP sender with DF
sends datagrams that the receiver verifies. Packet captures confirmed
one segment per message with the intended length. Results on 7.3.6-1,
6 paths (4 direct links in both directions, 2 forwarded via one
intermediate host), 100 messages per size, payload pattern
(random/fixed) and path:
TCP payload IP length affected (retransmit or no
reply within 3 s)
168-174 220-226 0 / 8400
175 227 116 / 1200
176 228 150 / 1200
177 229 158 / 1200
178 230 152 / 1200
179-184, 96, 512 0 / 9600
UDP, IP length 227-230: 254 of 4800 datagrams lost (5.3 %)
UDP, IP length 222-226 and 231-234: 0 of 10800 lost
No datagram arrived corrupted.
281 of the 576 affected TCP messages got no reply within 3 s; the
capture shows up to 10 transmissions of the same segment.
With both ends on 7.0.14-30 the same test on one link gave, for IP
length 227-230: TCP 116/800 and 104/800 affected (7.3.6: 66/800 and
80/800), UDP 19/800 and 34/800 lost (7.3.6: 37/800 and 38/800);
all other lengths 0.
An earlier UDP sweep over IP total lengths 44-9028 bytes (one
datagram per size, 14 link directions) showed losses only at 227 and
229. We found no second affected length range up to about 9000 bytes.
Observations
------------
- All links and both directions are affected, on both host routers.
- Random and fixed payload behave the same in the single-segment test
(274/2400 vs. 302/2400 affected TCP messages).
- Echoes of the same size sent back to back (ping) are lost almost
every time. Datagrams of the affected sizes interleaved with other
sizes at 5 ms spacing are lost in about 5 % of cases, and an
already lost TCP segment is lost again much more often than a first
transmission. So the sequence of frames seems to matter, not only
the length. We do not know why.
- On 5 of 6 paths the loss times of the affected UDP datagrams cluster
with a period of about 200 ms.
- Disabling TSO, GSO, tx-checksumming and scatter-gather at runtime on
all interfaces did not change the loss (52-minute A/B/A run).
- CLx should not be involved, since tb_port_clx_supported() returns
false for XDomain ports.
- With the 14-byte Ethernet header and the 12-byte thunderbolt_net
frame header the affected frames are 253 to 256 bytes long. We do
not know whether this is related to 256-byte boundaries in the
USB4 transport; we only mention it as an observation.
We are happy to run more tests: a current mainline kernel, e2e=N,
debug options, or patches.
Thanks,
Karl Fussmann
--
THERAPIEZENTRUM M. THIERBACH
Standort Neue Mühle Standort Königs Wusterhausen
Zernsdorfer Str. 14 Heinrich-Heine-Str. 58
15711 Königs Wusterhausen 15711 Königs Wusterhausen
Tel- 03375 - 214 02 61 Tel. 03375 - 290 833
www.physiothierbach.de
Hinweise:
Diese Nachricht und jeder übermittelte Anhang beinhaltet vertrauliche Informationen und ist nur für die Personen oder das Unternehmen bestimmt, an welche sie tatsächlich gerichtet ist. Sollten Sie nicht der Bestimmungsempfänger sein, weisen wir Sie darauf hin, dass die Verbreitung, das (auch teilweise) Kopieren sowie der Gebrauch der empfangenen E-Mail und der darin enthaltenen Informationen gesetzlich verboten ist und gegebenenfalls Schadensersatzpflichten auslösen kann. Sollten Sie diese Nachricht aufgrund eines Übermittlungsfehlers erhalten haben, bitten wir Sie den Sender unverzüglich hiervon in Kenntnis zu setzen.
Sicherheitswarnung: Bitte beachten Sie, dass das Internet kein sicheres Kommunikationsmedium ist. Obwohl wir im Rahmen unseres Qualitätsmanagements und der gebotenen Sorgfalt Schritte eingeleitet haben um einen Computervirenbefall weitestgehend zu verhindern, können wir wegen der Natur des Internets das Risiko eines Computervirenbefalls dieser E-Mail nicht ausschliessen.
Bei den genannten Standorten handelt es sich um einzelne, unabhängige Unternehmen innerhalb einer Kooperation. Bitte wenden Sie sich, im Fall von Fragen, an das jeweils für Sie zuständige Unternehmen.
--
Diese E-Mail wurde von Avast-Antivirussoftware auf Viren geprüft.
www.avast.com
Technical Details
Message-ID:
<b7f5d722-00bf-4d09-8905-b0070df96469@physiothierbach.de>Path:
mbox-mo1.pugleaf.net!news-can.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-374111-linux-kernel-netdev=dewy.ruShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-can.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-374111-linux-kernel-netdev=dewy.ru From: k.fussmann@physiothierbach.de (Karl Fussmann CFO) Newsgroups: linux.kernel.netdev Subject: thunderbolt_net: packets with IP total length 227-230 are dropped (rx_crc_errors) on host-to-host USB4 links Date: Mon, 30 Nov 2026 11:48:19 +0100 Organization: Usenet Network Message-ID: <b7f5d722-00bf-4d09-8905-b0070df96469@physiothierbach.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="1406173"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:Xl5e2SBBemtQxwlB9hiBGi5cTqE= sha256:+XWODZdjnFa39apBCHqn95LJ0o8rV76A++474I2fW1E= sha1:M6QoLItqDTA4QxVmw8P9hA8p0MU= sha256:c5hUZ7JOqZZB6dVTFrwEqKvFth/tF72CElfV9Lqs4hY= Content-Language: de-DE List-ID: <netdev.vger.kernel.org> X-Mailpost-Empty-Hdrs: X-Spam-Level X-Received: from localhost (localhost [127.0.0.1]) by mail.dewy.ru (Postfix) with ESMTP id 84D0A125FD9; Mon, 30 Nov 2026 13:49:03 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -1.951 X-Spam-Status: No, score=-1.951 tagged_above=-9999 required=6.31 tests=[DCC_CHECK=1.1, DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (1024-bit key) header.d=physiothierbach.de X-Received: from mail.dewy.ru ([127.0.0.1]) by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yQF4ZidH_174; Mon, 30 Nov 2026 13:48:56 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-374111-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=none (p=none dis=none) header.from=physiothierbach.de X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10]) by mail.dewy.ru (Postfix) with ESMTPS id AEC84125FD5; Mon, 30 Nov 2026 13:48:45 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by sea.lore.kernel.org (Postfix) with ESMTP id 97EE427B5A; Mon, 30 Nov 2026 10:48:42 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1796035722; b=SxXKc7eN3a+82lloAPRfIExZCsphyZXSZd2pBMHwXu0CcKIyb+M1Y9TPVK1WeGXyvjru DTaimKNFh8Xt/BdssKhwneNO0/FhgownAlheCmZ0ZUL6kin5bhrsnfh3ZvxDDRvrUAjPX LVywQiVsfE83F9VJhu38Q7yf69QqRWhYv8OXQhphO6romshbV4BddsjhC3JZcN0raKHng ZYvHY90BHu/ktwUh3xHcr9KXCcVBBYic3lJ3/1k3fIzPCcNQmaqpaxeBWCKHf5tBUF7Xu t2xsxWef+52dzWpmYc3sAT6juv5w1K5xV0NLmYgrcx8a8DNTxEiZQA5E/RQeqtYCFwg== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796035722; h=X-Original-To:Received:DMARC-Filter:DKIM-Signature:X-Virus-Scanned: Received:X-Portuna-Sender-IP:Received:Message-ID:Date:X-Mailing-List: List-Id:List-Post:List-Help:List-Subscribe:List-Unsubscribe: List-Owner:Precedence:MIME-Version:User-Agent:Reply-To: Content-Language:To:Cc:From:Subject:Organization:Content-Type: Content-Transfer-Encoding:X-Antivirus:X-Antivirus-Status; bh=uowxyHgIZ4L3SFJVuGDUxFTPaoJA+UHh/AAlOIbLfqs=; b=mclGp4do/5Uquj7feW8X/nBKmNDsEi8rqOFU2c+F8q++3+DWx0nbeYEEv+d2u5B9TaBT OW3euFj8DMsiwKklVDZ3ZLpMtNSJvusND0+4izYYYpXTe6dVeHw/xtmlgSJBMaJiSjKuI NUVNV5zLw4uyyjHqwRm2Hw8gcM48fqkqkkj351MTuByByDGIdWOnh/6qKMKxkEIm0YhvE WteWtZ0TwcOf8WH8qI2XAAd1wdmorw3vWgsuU1EnvPB3cHGkL3e80ibGDIBSgG/fhv6Lb Mvor3EA+NJBSeM0MeXc0J+7I3sESFe7PKW3FpFh7Yru+Lg3kLVNJnji0uxRnu96GfaA== X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dkim=pass header.d=physiothierbach.de header.i=@physiothierbach.de header.a=rsa-sha256 header.s=vwp0004 header.b=AZVCSzrd; dmarc=none header.from=physiothierbach.de; spf=pass smtp.mailfrom=physiothierbach.de; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-Received: from localhost.localdomain (localhost [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0FA98606A32A; Mon, 30 Nov 2026 10:48:42 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key, unprotected) header.d=physiothierbach.de header.i=@physiothierbach.de header.a=rsa-sha256 header.s=vwp0004 header.b=AZVCSzrd X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=88.198.106.46 X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796035716; b=O0fo5Q2L6MDEC8sZxB80sS5wYCiCWyHg2UyvMn3qL+A285WdpFtgA5NGlpeJQGBklOE4 a0TpMU4Y1m6malKaqVW3UjEIugC4KzokGyWnkc0CQiwHYdcPKDr6ljYvSFfJJ77W3KPei v2eEiowzSkWwW0FdeTACqn4AZWbiQDWYa/5YUOahHMRXNNz04mccmqblnLW3XSxHWtz6G S23Xn8qjW6vq5EBoD9tuVmp2elaT2BUukVhFJlzfsqlUIuB8iatA9/qv3q43HGmtbc9Mi S8lM8f1/dZIlvvmQltuZM5FNO1fu8jvGnJIticFCwlVpXstLb7L45NrskRQA/v6QsTw== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796035716; h=DMARC-Filter:DKIM-Signature:X-Virus-Scanned:Received: X-Portuna-Sender-IP:Received:Message-ID:Date:MIME-Version:User-Agent: Reply-To:Content-Language:To:Cc:From:Subject:Organization: Content-Type:Content-Transfer-Encoding:X-Antivirus: X-Antivirus-Status; bh=uowxyHgIZ4L3SFJVuGDUxFTPaoJA+UHh/AAlOIbLfqs=; b=gjnLkvUWcmR/C4a++baf4O1hWAi5+mHcsyO7QKBSclsLn0Iyi/sOP5aIb1DKbYGjJt0o Ajvmi58jPXFB1AT7QoRyAY1XVabSjLOr8EC5vmsubAM0XcSbj1H3gYDvQp7sE0Vciv+bB m9MZUVJ2+lXnaXV59S2E6jcHCEUqNEHoklE3UBCwKnZODx+pEJfri/5xqzl5RzsxuTsMH g4Z14qRbXfC8yb6ZMx3hlitmjiUVyvJYWQI4mZAqMVReWOItPbTacw17mE3MXiPpbH1l4 4kG07i6tkCZOomUEi1z8oq3ZEadeG+k3oUG3f76Hcq2le9fXAD3uJZ2wsZ6Aee7Ei/A== X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none header.from=physiothierbach.de; spf=pass smtp.mailfrom=physiothierbach.de; dkim=pass header.d=physiothierbach.de header.i=@physiothierbach.de header.a=rsa-sha256 header.s=vwp0004 header.b=AZVCSzrd; arc=none smtp.remote-ip=88.198.106.46 X-Received: from evergreen.verwaltungsportal.de (evergreen.verwaltungsportal.de [88.198.106.46]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B877F606A31C; Mon, 30 Nov 2026 10:48:34 +0000 (UTC) X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org B877F606A31C X-Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=physiothierbach.de X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=physiothierbach.de X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d= physiothierbach.de; h=content-transfer-encoding:content-type :content-type:organization:subject:subject:from:from:to:reply-to :mime-version:date:date:message-id; s=vwp0004; t=1796035699; bh= 6r+/CTqSLwvlT3lNa5d0C9dHB/Lq8YjGWIY+m6WByrU=; b=AZVCSzrdky1oEO/e qmDniiaMdsG8z4AarjwnlDz6pRD1JUdWfNfB0dh0/kbiv3YdqZLbgJa/++a2E+W/ 2tzncDf0psnPcYbqAVP6a+08MbsYsUOXa5ykK417HKaUnADEmrp7NbL0oD/Key1f NDxq8DrKiYlepNRZH00rK1KUouY= X-Virus-Scanned: amavis at evergreen.verwaltungsportal.de X-Received: from sslmailpool.verwaltungsportal.de ([127.0.0.1]) by localhost (evergreen.verwaltungsportal.de [127.0.0.1]) (amavis, port 10026) with ESMTP id uovQvV3L3jS9; Mon, 30 Nov 2026 11:48:19 +0100 (CET) X-Portuna-Sender-IP: 84.188.29.149 X-Received: from [192.168.178.18] (p54bc1d95.dip0.t-ipconnect.de [84.188.29.149]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519MLKEM768 server-signature RSA-PSS (3072 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: k.fussmann@physiothierbach.de) by sslmailpool.verwaltungsportal.de (Postfix) with ESMTPSA; Mon, 30 Nov 2026 11:48:19 +0100 (CET) X-Mailing-List: netdev@vger.kernel.org X-List-Post: <mailto:netdev@vger.kernel.org> X-List-Help: <mailto:netdev+help@vger.kernel.org> X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org> X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org> X-List-Owner: <mailto:netdev+owner@vger.kernel.org> X-Precedence: list X-User-Agent: Mozilla Thunderbird X-Reply-To: k.fussmann@physiothierbach.de X-Cc: netdev@vger.kernel.org, linux-usb@vger.kernel.org, Andreas Noever <andreas.noever@gmail.com> X-Organization: Therapiezentrum M. Thierbach X-Antivirus: Avast (VPS 261130-0, 30.11.2026), Outbound message X-Antivirus-Status: Clean