]> Git Repo - linux.git/commit
net: stmmac: dwmac4: extend timeout for VLAN Tag register busy bit check
authorShenwei Wang <[email protected]>
Tue, 24 Sep 2024 20:54:24 +0000 (15:54 -0500)
committerPaolo Abeni <[email protected]>
Tue, 1 Oct 2024 10:35:55 +0000 (12:35 +0200)
commit4c1b56671b68ffcbe6b78308bfdda6bcce6491ae
treedbaeffeb04c16ec9a24c4d790e6bb691685a30d4
parent23e19f2473c8762438baa1bcf3f71ee16dfcd535
net: stmmac: dwmac4: extend timeout for VLAN Tag register busy bit check

Increase the timeout for checking the busy bit of the VLAN Tag register
from 10µs to 500ms. This change is necessary to accommodate scenarios
where Energy Efficient Ethernet (EEE) is enabled.

Overnight testing revealed that when EEE is active, the busy bit can
remain set for up to approximately 300ms. The new 500ms timeout provides
a safety margin.

Fixes: ed64639bc1e0 ("net: stmmac: Add support for VLAN Rx filtering")
Reviewed-by: Andrew Lunn <[email protected]>
Signed-off-by: Shenwei Wang <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Paolo Abeni <[email protected]>
drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c
This page took 0.058465 seconds and 4 git commands to generate.