Re: [Linuxptp-users] DSA bridge PTP issues

2023-03-28 Thread Vladimir Oltean
On Tue, Mar 28, 2023 at 03:54:50PM +0200, Riccardo Laiolo wrote: > Thanks for your reply, > why are you saying there's no IP support? I thought ethtool was saying > there is both L2 and L4 filtering capabilities. > > Hardware Receive Filter Modes: > > none > > ptpv2-l4-event > >

[Linuxptp-users] negative delay issue

2023-03-28 Thread Merlin He
hello team, I found that port_nrate_calculate() save the first ingress1 before slave clock jumping, if the offset of master and slave is too large, this may results in an extremly small nrate_ratio value, and cause the nagative delay issue. so, is this a problem please? what about

Re: [Linuxptp-users] DSA bridge PTP issues

2023-03-28 Thread Riccardo Laiolo
Il 28/03/23 12:14, Vladimir Oltean ha scritto: On Tue, Mar 28, 2023 at 11:29:02AM +0200, Riccardo Laiolo wrote: Hi there, I'm working on a custom NXP iMX8 SoM connected to a Marvell MV88E6390 switch on port0 (eth0 as management port). Five switch ports are exposed to the outside and bridged

Re: [Linuxptp-users] DSA bridge PTP issues

2023-03-28 Thread Vladimir Oltean
On Tue, Mar 28, 2023 at 11:29:02AM +0200, Riccardo Laiolo wrote: > Hi there, > I'm working on a custom NXP iMX8 SoM connected to a Marvell MV88E6390 switch > on port0 (eth0 as management port). > Five switch ports are exposed to the outside and bridged together in a dsa > device (br0 soft

[Linuxptp-users] DSA bridge PTP issues

2023-03-28 Thread Riccardo Laiolo
Hi there, I'm working on a custom NXP iMX8 SoM connected to a Marvell MV88E6390 switch on port0 (eth0 as management port). Five switch ports are exposed to the outside and bridged together in a dsa device (br0 soft bridge). I'm running iMX linux-5.15.71 from NXP downstream repository. I need

Re: [Linuxptp-users] Offset details

2023-03-28 Thread Merlin He
hi ravi, I think there is no such api, you can only get ptp status through management messages ravi dandamudi 于2023年3月28日周二 15:34写道: > Hi All, > > Just wanted to know, Is there any other way to get offset value without > using PMC command. > > Any APIs are available? > > Thanks > Ravi > > On

Re: [Linuxptp-users] rogue peer delay response caused by port_synchronize()

2023-03-28 Thread Merlin He
Hi Vladimir, Great help, thank you very much, We will consider upgrading the kernel. Vladimir Oltean 于2023年3月28日周二 15:04写道: > On Tue, Mar 28, 2023 at 01:42:05PM +0800, Merlin He wrote: > > Richard Cochran 于2023年3月28日周二 11:27写道: > > > On Tue, Mar 28, 2023 at 10:57:43AM +0800, merlinhe wrote: >

[Linuxptp-users] Offset details

2023-03-28 Thread ravi dandamudi
Hi All, Just wanted to know, Is there any other way to get offset value without using PMC command. Any APIs are available? Thanks Ravi On Tue, 28 Mar, 2023, 12:38 pm Vladimir Oltean, wrote: > On Tue, Mar 28, 2023 at 01:42:05PM +0800, Merlin He wrote: > > Richard Cochran 于2023年3月28日周二

Re: [Linuxptp-users] rogue peer delay response caused by port_synchronize()

2023-03-28 Thread Vladimir Oltean
On Tue, Mar 28, 2023 at 01:42:05PM +0800, Merlin He wrote: > Richard Cochran 于2023年3月28日周二 11:27写道: > > On Tue, Mar 28, 2023 at 10:57:43AM +0800, merlinhe wrote: > > > Hi Miroslav, > > > > > > We use Synopsys's IP, the driver is the same as stmmac > > > > Yeah, the stmmac driver is crazy bad. > >