Re: [PATCH net-next 2/3] dt-bindings: net: micrel: Configure latency values and timestamping check for LAN8814 phy

From
Richard Cochran <richardcochran@gmail.com>
Date
2022-03-13 04:04:25
Also in
linux-devicetree, lkml
Reply to
Allan W. Nielsen, 2022-03-12
On Sat, Mar 12, 2022 at 08:36:20PM +0100, Allan W. Nielsen wrote:
I did skim through the articles, and as you hinted he does find small
latency differences across different packets. (but as I understood, very
few PHYs was tested).
There is also previous work cited in those articles.
 
But this is not really an argument for not having _default_ values
hard-coded in the driver (or DT, but lets forget about DT for now).
You put them in the DTS.  That means you expect them to need changes.

DTS is the WRONG place for such things.

If your numbers are perfect, then do the corrections in silicon/firmware.

If the numbers aren't 100% perfect, then provide your customers with a
test report providing the recommended numbers.  Include a proper
explanation of the test methodology and assumptions used in your
analysis.  Heck, you can even given them linuxptp config snippets (and
other for other popular PTP stacks, Oregano, ixat, ptpd, etc)

Don't hard code random, changing numbers into kernel drivers.

Thanks,
Richard
Thread (53 messages) 53 messages, 12 authors, last reply 2022-03-17
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