From: David Miller <davem@davemloft.net>
To: yangbo.lu@nxp.com
Cc: netdev@vger.kernel.org, laurent.brando@nxp.com,
vladimir.oltean@nxp.com, claudiu.manoil@nxp.com,
alexandre.belloni@bootlin.com, kuba@kernel.org,
UNGLinuxDriver@microchip.com
Subject: Re: [PATCH] net: mscc: ocelot: fix hardware timestamp dequeue logic
Date: Mon, 27 Jul 2020 12:06:08 -0700 (PDT) [thread overview]
Message-ID: <20200727.120608.2245293587733963820.davem@davemloft.net> (raw)
In-Reply-To: <20200727102614.24570-1-yangbo.lu@nxp.com>
From: Yangbo Lu <yangbo.lu@nxp.com>
Date: Mon, 27 Jul 2020 18:26:14 +0800
> From: laurent brando <laurent.brando@nxp.com>
>
> The next hw timestamp should be snapshoot to the read registers
> only once the current timestamp has been read.
> If none of the pending skbs matches the current HW timestamp
> just gracefully flush the available timestamp by reading it.
>
> Signed-off-by: laurent brando <laurent.brando@nxp.com>
> Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
> Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
Applied and queued up for -stable, thanks.
So you have to read the hwtimestamp, even if you won't use it for
any packets?
next prev parent reply other threads:[~2020-07-27 19:06 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-27 10:26 [PATCH] net: mscc: ocelot: fix hardware timestamp dequeue logic Yangbo Lu
2020-07-27 19:06 ` David Miller [this message]
2020-07-27 19:46 ` Vladimir Oltean
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=20200727.120608.2245293587733963820.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=UNGLinuxDriver@microchip.com \
--cc=alexandre.belloni@bootlin.com \
--cc=claudiu.manoil@nxp.com \
--cc=kuba@kernel.org \
--cc=laurent.brando@nxp.com \
--cc=netdev@vger.kernel.org \
--cc=vladimir.oltean@nxp.com \
--cc=yangbo.lu@nxp.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
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