commit | e23a7b3e8daa4be3d91544d8ba210f96d2266de9 | [log] [tgz] |
---|---|---|
author | Yangbo Lu <yangbo.lu@nxp.com> | Wed Nov 20 16:23:15 2019 +0800 |
committer | David S. Miller <davem@davemloft.net> | Thu Nov 21 14:39:02 2019 -0800 |
tree | 3464410c0dce1b20cfe4f73050ccc1b070472195 | |
parent | f145922ddcaa1cb9688b3d053622c98d9f9a7fff [diff] |
net: mscc: ocelot: convert to use ocelot_get_txtstamp() The method getting TX timestamp by reading timestamp FIFO and matching skbs list is common for DSA Felix driver too. So move code out of ocelot_board.c, convert to use ocelot_get_txtstamp() function and export it. Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>