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)
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>

Trivial merge