[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <66a216b7-73c6-43ee-af1e-09357a491708@lunn.ch>
Date: Thu, 14 Dec 2023 12:46:12 +0100
From: Andrew Lunn <andrew@...n.ch>
To: Justin Chen <justin.chen@...adcom.com>
Cc: netdev@...r.kernel.org, opendmb@...il.com,
florian.fainelli@...adcom.com,
bcm-kernel-feedback-list@...adcom.com, hkallweit1@...il.com,
linux@...linux.org.uk, davem@...emloft.net, edumazet@...gle.com,
kuba@...nel.org, pabeni@...hat.com
Subject: Re: [PATCH net v2 1/2] net: mdio: mdio-bcm-unimac: Delay before
first poll
On Wed, Dec 13, 2023 at 02:27:43PM -0800, Justin Chen wrote:
> With a clock interval of 400 nsec and a 64 bit transactions (32 bit
> preamble & 16 bit control & 16 bit data), it is reasonable to assume
> the mdio transaction will take 25.6 usec. Add a 30 usec delay before
> the first poll to reduce the chance of a 1000-2000 usec sleep.
>
> Reduce the timeout from 1000ms to 100ms as it is unlikely for the bus
> to take this long.
>
> Signed-off-by: Justin Chen <justin.chen@...adcom.com>
> Acked-by: Florian Fainelli <florian.fainelli@...adcom.com>
Reviewed-by: Andrew Lunn <andrew@...n.ch>
Andrew
Powered by blists - more mailing lists