]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'dsa-mv88e6xxx-Improve-PTP-access-latency'
authorDavid S. Miller <davem@davemloft.net>
Fri, 16 Feb 2018 20:37:10 +0000 (15:37 -0500)
committerDavid S. Miller <davem@davemloft.net>
Fri, 16 Feb 2018 20:37:10 +0000 (15:37 -0500)
commitdf0e6cc3d355720f01b83bb91fb53b4dc38d3902
treebbd95defbeab98303a0b443ed7e1cb7420a33986
parentfc0103558eaaa1448716b6827547d4057ae315ab
parent2a57d8b7d8b6bc41d08918f2eeceea683207a9bf
Merge branch 'dsa-mv88e6xxx-Improve-PTP-access-latency'

Andrew Lunn says:

====================
net: dsa: mv88e6xxx: Improve PTP access latency

PTP needs to retrieve the hardware timestamps from the switch device
in a low latency manor. However ethtool -S and bridge fdb show can
hold the switch register access mutex for a long time. These patches
changes the reading the statistics and the ATU so that the mutex is
released and taken again between each statistic or ATU entry. The PTP
code can then interleave its access to the hardware, keeping its
latency low.
====================

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