From: Richard Cochran <richardcochran@gmail•com>
To: Russell King <rmk+kernel@armlinux•org.uk>
Cc: Alexandre Belloni <alexandre.belloni@bootlin•com>,
Antoine Tenart <antoine.tenart@bootlin•com>,
Matteo Croce <mcroce@redhat•com>,
Andre Przywara <andre.przywara@arm•com>,
Sven Auhagen <sven.auhagen@voleatech•de>,
"David S. Miller" <davem@davemloft•net>,
Jakub Kicinski <kuba@kernel•org>,
netdev@vger•kernel.org
Subject: Re: [PATCH net-next v4 5/6] net: mvpp2: ptp: add support for receive timestamping
Date: Wed, 9 Sep 2020 11:11:41 -0700 [thread overview]
Message-ID: <20200909181141.GC24551@hoboy> (raw)
In-Reply-To: <E1kG2ux-0002zL-Su@rmk-PC.armlinux.org.uk>
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@armlinux•org.uk>
Acked-by: Richard Cochran <richardcochran@gmail•com>
next prev parent reply other threads:[~2020-09-09 18:11 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-09 16:25 [PATCH net-next v4 0/6] Marvell PP2.2 PTP support Russell King - ARM Linux admin
2020-09-09 16:25 ` [PATCH net-next v4 1/6] net: mvpp2: restructure "link status" interrupt handling Russell King
2020-09-09 16:25 ` [PATCH net-next v4 2/6] net: mvpp2: rename mis-named "link status" interrupt Russell King
2020-09-09 16:25 ` [PATCH net-next v4 3/6] net: mvpp2: check first level interrupt status registers Russell King
2020-09-09 16:25 ` [PATCH net-next v4 4/6] net: mvpp2: ptp: add TAI support Russell King
2020-09-09 16:25 ` [PATCH net-next v4 5/6] net: mvpp2: ptp: add support for receive timestamping Russell King
2020-09-09 18:11 ` Richard Cochran [this message]
2020-09-09 16:26 ` [PATCH net-next v4 6/6] net: mvpp2: ptp: add support for transmit timestamping Russell King
2020-09-09 21:22 ` [PATCH net-next v4 0/6] Marvell PP2.2 PTP support David Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200909181141.GC24551@hoboy \
--to=richardcochran@gmail$(echo .)com \
--cc=alexandre.belloni@bootlin$(echo .)com \
--cc=andre.przywara@arm$(echo .)com \
--cc=antoine.tenart@bootlin$(echo .)com \
--cc=davem@davemloft$(echo .)net \
--cc=kuba@kernel$(echo .)org \
--cc=mcroce@redhat$(echo .)com \
--cc=netdev@vger$(echo .)kernel.org \
--cc=rmk+kernel@armlinux$(echo .)org.uk \
--cc=sven.auhagen@voleatech$(echo .)de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox