[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Y3ab7xim0EfyCQHm@lunn.ch>
Date: Thu, 17 Nov 2022 21:39:11 +0100
From: Andrew Lunn <andrew@...n.ch>
To: Gerhard Engleder <gerhard@...leder-embedded.com>
Cc: netdev@...r.kernel.org, davem@...emloft.net, kuba@...nel.org,
edumazet@...gle.com, pabeni@...hat.com
Subject: Re: [PATCH net-next 2/4] tsnep: Fix rotten packets
On Thu, Nov 17, 2022 at 09:14:38PM +0100, Gerhard Engleder wrote:
> If PTP synchronisation is done every second, then sporadic the interval
> is higher than one second:
>
> ptp4l[696.582]: master offset -17 s2 freq -1891 path delay 573
> ptp4l[697.582]: master offset -22 s2 freq -1901 path delay 573
> ptp4l[699.368]: master offset -1 s2 freq -1887 path delay 573
> ^^^^^^^ Should be 698.582!
>
> This problem is caused by rotten packets, which are received after
> polling but before interrupts are enabled again.
Is this a hardware bug? At the end of the interrupt coalescence
period, should it not check the queue and fire an interrupt?
Andrew
Powered by blists - more mailing lists