OSDN Git Service

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)
commit2c44713ed96da04f5e25b0df4035074b844def04
tree067419f4e20b69564b1ad6241da392a77793742f
parent8163999db445021f2651a8a47b5632483e8722ea
parentc0bcf537667cf88bbcbb377d01d2b79c45265741
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>