]> 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)
commite98d945a6e25418c6cdcd1e417a2f2972413671d
treebbd95defbeab98303a0b443ed7e1cb7420a33986
parent19591a35ce56c964af5502a8d767a382f9346507
parent8124420b89359145d7deb8a92759e385c3dedf28
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>