]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'DSA-Felix-PTP'
authorDavid S. Miller <davem@davemloft.net>
Thu, 21 Nov 2019 22:39:03 +0000 (14:39 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 21 Nov 2019 22:39:03 +0000 (14:39 -0800)
commitea9c862dd932654253d98ff3a2b9774f0ffd6523
tree067419f4e20b69564b1ad6241da392a77793742f
parent31f12caf68e589f2e83e78666f5a0f152c1ab8a6
parent3ba2de9fece1f79509a7658357f0ce83b2fea5d2
Merge branch 'DSA-Felix-PTP'

Yangbo Lu says:

====================
Support PTP clock and hardware timestamping for DSA Felix driver

This patch-set is to support PTP clock and hardware timestamping
for DSA Felix driver. Some functions in ocelot.c/ocelot_board.c
driver were reworked/exported, so that DSA Felix driver was able
to reuse them as much as possible.

On TX path, timestamping works on packet which requires timestamp.
The injection header will be configured accordingly, and skb clone
requires timestamp will be added into a list. The TX timestamp
is final handled in threaded interrupt handler when PTP timestamp
FIFO is ready.
On RX path, timestamping is always working. The RX timestamp could
be got from extraction header.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>