[PATCH v2 net] net: stmmac: dwmac4: extend timeout for VLAN Tag register busy bit check

Andrew Lunn andrew at lunn.ch
Wed Sep 18 16:57:35 PDT 2024


On Wed, Sep 18, 2024 at 02:34:52PM -0500, Shenwei Wang wrote:
> 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.

Do you know what EEE has to do with VLAN filtering?

Could there be other registers which suffer from the same problem?

      Andrew



More information about the linux-arm-kernel mailing list