]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'micrel-lan8814-remove-latencies'
authorDavid S. Miller <davem@davemloft.net>
Mon, 4 Apr 2022 11:40:42 +0000 (12:40 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 4 Apr 2022 11:40:42 +0000 (12:40 +0100)
commit1d3369aeef10fa7fb1d938ace20aaac6cf141c58
treef7eb5fa5b467dc6b745125bf48d23ad99e78d057
parent97ecd25c57c5aa33193c32c9f8f090500ab0d042
parent55f6beadb19b5e22fbc54b946dee91348ba03492
Merge branch 'micrel-lan8814-remove-latencies'

Horatiu Vultur says:

====================
net: phy: micrel: Remove latencies support lan8814

Remove the latencies support both from the PHY driver and from the DT.
The IP already has some default latencies values which can be used to get
decent results. It has the following values(defined in ns):
rx-1000mbit: 429
tx-1000mbit: 201
rx-100mbit:  2346
tx-100mbit:  705

v0->v1:
- fix the split of the patches, there was a compiling error between patch 2 and
  patch 3.

---
But to get better results the following values needs to be set:
rx-1000mbit: 459
tx-1000mbit: 171
rx-100mbit:  1706
tx-100mbit:  1345

We are proposing to use ethtool to set these latencies, the RFC can be found
here[1]
====================

Signed-off-by: David S. Miller <davem@davemloft.net>