[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220313024146.GB29538@hoboy.vegasvil.org>
Date: Sat, 12 Mar 2022 18:41:46 -0800
From: Richard Cochran <richardcochran@...il.com>
To: "Allan W. Nielsen" <allan.nielsen@...rochip.com>
Cc: Horatiu Vultur <horatiu.vultur@...rochip.com>,
"Russell King (Oracle)" <linux@...linux.org.uk>,
Andrew Lunn <andrew@...n.ch>, Divya.Koppera@...rochip.com,
netdev@...r.kernel.org, hkallweit1@...il.com, davem@...emloft.net,
kuba@...nel.org, robh+dt@...nel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, UNGLinuxDriver@...rochip.com,
Madhuri.Sripada@...rochip.com, Manohar.Puri@...rochip.com
Subject: Re: [PATCH net-next 2/3] dt-bindings: net: micrel: Configure latency
values and timestamping check for LAN8814 phy
On Sat, Mar 12, 2022 at 08:36:20PM +0100, Allan W. Nielsen wrote:
> With this in mind, I do agree with you that it does not make much sense
> to compensate they few cm of PCB tracks without also calibrating for
> differences from packet to packet.
The PCB traces AFTER the PHY are part of the network, and if they
contribute to path asymmetry, then that can and should be corrected
using the delayAsymmetry configuration variable.
> If we do not offer default delays directly in the driver, everybody will
> have to calibrate all boards just to have decent results, we will not
> have a good way to provide default delay numbers, and this will be
> different from what is done in other drivers.
Who says the other drivers are even remotely reasonable? Not me.
I've been fighting this voodoo engineering all along, but people seem
to ignore me.
> I do understand that you have a concern that these numbers may change in
> future updates. But this has not been a problem in other drivers doing
> the same.
Wrong. See the git history of the i210 driver. Also the data sheets.
> But if this is still a concern, we can add a comment to say
> that these numbers must be treated as UAPI, and chancing them, may
> cause regressions on calibrated PHYs.
Comments will be ignored. And when the next batch of developers comes
along, they will ignore your prohibition.
Thanks,
Richard
Powered by blists - more mailing lists