During testing we observed abnormal hardware DMA and cache synchronization on Thor XFI. Under multi-stream concurrent communication, the upper layer receives stale data from the cache. Disabling hardware synchronization and switching to software synchronization resolves the issue. Is this a known problem?
Steps to Reproduce:
On the server side (Ubuntu PC), set the NIC’s gso_max_segs to 1.
Start a curl service on the server, then launch 10 concurrent curl downloads on Thor.
After Thor finishes receiving, the hash comparison fails.
No errors are reported during transmission, and TcpInCsumErrors stays at 0 throughout, but the final file hash verification fails. tcpdump shows that stale data from the cache is being received. When a Mac is used as the server, the issue is reproducible by default without any NIC configuration changes.
Could you please help confirm whether this issue is a known internal bug? The driver ether_linux.c contains the following comment: /* Enable Rx csum offload only for EQOS until the
*\* HW WAR sequence is clear for MGBE - to avoid data*
*\* data corruption issue in Bug 4486046. Check if DT*
*\* prop is provided to disable Rx csum for MGBE.*
*\*/*
We tested the optical modules on the development kit using different SDK versions, L4T 38.4.0 and L4T 39.2.1, and confirmed that the same issue occurs on both.
Is it according to the command I provided? Especially the PC-side setting sudo ip link set dev enx6c1ff7d07420 gso_max_segs 1 — using the provided command, the issue is reproduced almost 100% of the time.
TCP checksum errors do not increase, but the final file hash verification fails — when the issue occurs, the command "sha256sum -c manifest.sha256 | grep -c FAILED" will ultimately report FAILED.