OSDN Git Service

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)
commite5fe068a50fc66a4e4f283859e7e510dbf143f3e
treebbd95defbeab98303a0b443ed7e1cb7420a33986
parent65bd449c32c2745df61913ab54087e77f9d9b70d
parenta61e54063423e9e8d604ea54e6664433946fe6af
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>