[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Wed, 9 Sep 2020 11:11:41 -0700
From: Richard Cochran <richardcochran@...il.com>
To: Russell King <rmk+kernel@...linux.org.uk>
Cc: Alexandre Belloni <alexandre.belloni@...tlin.com>,
Antoine Tenart <antoine.tenart@...tlin.com>,
Matteo Croce <mcroce@...hat.com>,
Andre Przywara <andre.przywara@....com>,
Sven Auhagen <sven.auhagen@...eatech.de>,
"David S. Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>, netdev@...r.kernel.org
Subject: Re: [PATCH net-next v4 5/6] net: mvpp2: ptp: add support for receive
timestamping
On Wed, Sep 09, 2020 at 05:25:55PM +0100, Russell King wrote:
> Add support for receive timestamping. When enabled, the hardware adds
> a timestamp into the receive queue descriptor for all received packets
> with no filtering. Hence, we can only support NONE or ALL receive
> filter modes.
>
> The timestamp in the receive queue contains two bit sof seconds and
> the full nanosecond timestamp. This has to be merged with the remainder
> of the seconds from the TAI clock to arrive at a full timestamp before
> we can convert it to a ktime for the skb hardware timestamp field.
>
> Signed-off-by: Russell King <rmk+kernel@...linux.org.uk>
Acked-by: Richard Cochran <richardcochran@...il.com>
Powered by blists - more mailing lists