commit | a61e54063423e9e8d604ea54e6664433946fe6af | [log] [tgz] |
---|---|---|
author | Andrew Lunn <andrew@lunn.ch> | Thu Feb 15 14:38:35 2018 +0100 |
committer | David S. Miller <davem@davemloft.net> | Fri Feb 16 15:37:09 2018 -0500 |
tree | bbd95defbeab98303a0b443ed7e1cb7420a33986 | |
parent | 377cda13a25513f714ea5b5a765408292ca4627a [diff] |
net: dsa: mv88e6xxx: Release mutex between each ATU read The PTP code needs low latency access to the PTP hardware timestamps. Reading all the ATU entries in one go adds a lot of latency to the PTP code. So take and release the reg_lock mutex for each individual MAC address in the ATU, allowing the PTP thread jump in between. Signed-off-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>