Re: [PATCH net-next] net: stmmac: Fix E2E delay mechanism

From
G Thomas, Rohan <hidden>
Date
2025-11-26 06:01:36
Also in
linux-arm-kernel, lkml
Reply to
Russell King (Oracle), 2025-11-25
Hi Russell,

Thanks for reviewing the patch.

On 11/26/2025 4:49 AM, Russell King (Oracle) wrote:
On Tue, Nov 25, 2025 at 10:50:02PM +0800, Rohan G Thomas via B4 Relay wrote:
quoted
From: Rohan G Thomas <redacted>

For E2E delay mechanism, "received DELAY_REQ without timestamp" error
messages shows up for dwmac v3.70+ and dwxgmac IPs.

This issue affects socfpga platforms, Agilex7 (dwmac 3.70) and
Agilex5 (dwxgmac). According to the databook, to enable timestamping
for all events, the SNAPTYPSEL bit in the MAC_Timestamp_Control
bits
Sure, will fix this in the next version.
quoted
register must be set to 2'b00, and the TSEVNTENA bit must be cleared
to 0'b0.
Are you sure 3.70 is the appropriate point. According to the 3.74
databook, SNAPTYPSEL changed between 3.5 and 3.6.
I’m not entirely sure. As per the dwmac databook notes that SNAPTYPSEL
is not backward compatible with functions described in release 3.50a,
but it’s unclear if this specifically relates to TSEVNTENA. My
understanding is that at least from 3.70a, TSEVNTENA must be cleared to
enable time stamping for all the events.

Best Regards,
Rohan
Thread (5 messages) 5 messages, 4 authors, last reply 2025-11-26
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help