From: Dragos Tatulea <dtatulea@nvidia.com>
To: jiabin deng <dengjiabin2023@gmail.com>, netdev@vger.kernel.org
Cc: saeedm@nvidia.com, tariqt@nvidia.com, mbloch@nvidia.com,
linux-kernel@vger.kernel.org
Subject: Re: mlx5e:zero-prefix corruption during TCP DMA-BUF RX - help requested
Date: Tue, 15 Sep 2026 14:21:06 +0200 [thread overview]
Message-ID: <e4054f5a-e60c-4253-bccf-d05cc7c615b7@nvidia.com> (raw)
In-Reply-To: <CAFxp=AY2cVRQrZvB9WNnigbsobuw11NMG-cagHx0_V+ur2ToFw@mail.gmail.com>
Hi Jiabin,
On 15.09.26 03:49, jiabin deng wrote:
> Hello mlx5e and networking maintainers,
>
> We are investigating reproducible data corruption: with SHAMPO enabled,
> some TCP data is corrupted when received through mlx5e directly into
> CUDA-exported GPU DMA-BUF memory.
>
> The full expected number of bytes is received, but the prefixes of some
> payloads become zero. The corrupted ranges end exactly at the next
> 64-byte boundary in GPU memory.
>> [...]
>
> Each iteration uses a new TCP connection. Test connections do not run
> concurrently.
>
> Observed results:
>
> We tested eight message sizes from 32 KiB to 4 MiB, with 50 iterations
> per size:
>
> - 400 iterations completed.
> - 354 iterations contained at least one corrupted range.
> - 20,707 corrupted ranges were recorded.
> - All recorded corrupted ranges were zero-filled prefixes ending
> at the next 64-byte boundary in GPU memory.
> - Corruption was present in both snapshots, before and after the
> explicit GPUDirect write flush.
>
> A specific example:
>
> - Packet payload length: 1448 bytes.
> - Offset of the first payload byte from the start of the GPU buffer:
> 2149169912 bytes.
> - This byte offset modulo 64 bytes is 56 bytes.
> - First 8 bytes: zero.
> - Remaining 1440 bytes: correct.
>
This sounds a bit like the ethernet padding issue that was recently
fixed [1]. Did you have this patch when testing?
>
> [...]
>
[1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit?id=e2466392a0b8496000e12181cb1ee1535eb0da25
Thanks,
Dragos
prev parent reply other threads:[~2026-09-15 12:21 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-15 1:49 jiabin deng
2026-09-15 12:21 ` Dragos Tatulea [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=e4054f5a-e60c-4253-bccf-d05cc7c615b7@nvidia.com \
--to=dtatulea@nvidia.com \
--cc=dengjiabin2023@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mbloch@nvidia.com \
--cc=netdev@vger.kernel.org \
--cc=saeedm@nvidia.com \
--cc=tariqt@nvidia.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®