Message ID | 20191120082318.3909-1-yangbo.lu@nxp.com |
---|---|
Headers | show |
Series | Support PTP clock and hardware timestamping for DSA Felix driver | expand |
From: Yangbo Lu <yangbo.lu@nxp.com> Date: Wed, 20 Nov 2019 16:23:13 +0800 > 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. Series applied, thank you.