Re: [PATCH] net: mscc: ocelot: fix hardware timestamp dequeue logic

2020-07-27 Thread Vladimir Oltean
On Mon, Jul 27, 2020 at 12:06:08PM -0700, David Miller wrote: > From: Yangbo Lu > Date: Mon, 27 Jul 2020 18:26:14 +0800 > > > From: laurent brando > > > > The next hw timestamp should be snapshoot to the read registers > > only once the current timestamp has been read. > > If none of the pendin

Re: [PATCH] net: mscc: ocelot: fix hardware timestamp dequeue logic

2020-07-27 Thread David Miller
From: Yangbo Lu Date: Mon, 27 Jul 2020 18:26:14 +0800 > From: laurent brando > > 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

[PATCH] net: mscc: ocelot: fix hardware timestamp dequeue logic

2020-07-27 Thread Yangbo Lu
From: laurent brando 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 Signed-off-