Re: [v2, 4/4] ocelot: add VCAP IS2 rule to trap PTP Ethernet frames

2019-08-15 Thread Andrew Lunn
> [Y.b. Lu] Actually I couldn’t find reasons why make some ports PTP > unaware, if there is software stack for PTP aware... Maybe because i have not yet done apt-get install linuxptp $EDITOR /etc/defaults/ptp4l systemctl restart ptp4l Just because it exists does not mean it is installed. A

RE: [v2, 4/4] ocelot: add VCAP IS2 rule to trap PTP Ethernet frames

2019-08-15 Thread Y.b. Lu
er.kernel.org; David S . Miller ; > > > Alexandre Belloni ; Microchip Linux > > > Driver Support > > > Subject: Re: [v2, 4/4] ocelot: add VCAP IS2 rule to trap PTP > > > Ethernet frames > > > > > > The 08/13/2019 10:52, Yangbo Lu wrote: > > > >

Re: [v2, 4/4] ocelot: add VCAP IS2 rule to trap PTP Ethernet frames

2019-08-14 Thread Allan W . Nielsen
t; > Support > > Subject: Re: [v2, 4/4] ocelot: add VCAP IS2 rule to trap PTP Ethernet frames > > > > The 08/13/2019 10:52, Yangbo Lu wrote: > > > All the PTP messages over Ethernet have etype 0x88f7 on them. > > > Use etype as the key to trap PTP

RE: [v2, 4/4] ocelot: add VCAP IS2 rule to trap PTP Ethernet frames

2019-08-13 Thread Y.b. Lu
Hi Allan, > -Original Message- > From: Allan W . Nielsen > Sent: Tuesday, August 13, 2019 2:25 PM > To: Y.b. Lu > Cc: netdev@vger.kernel.org; David S . Miller ; > Alexandre Belloni ; Microchip Linux Driver > Support > Subject: Re: [v2, 4/4] ocelot: add V

Re: [v2, 4/4] ocelot: add VCAP IS2 rule to trap PTP Ethernet frames

2019-08-12 Thread Allan W . Nielsen
The 08/13/2019 10:52, Yangbo Lu wrote: > All the PTP messages over Ethernet have etype 0x88f7 on them. > Use etype as the key to trap PTP messages. > > Signed-off-by: Yangbo Lu > --- > Changes for v2: > - Added this patch. > --- > drivers/net/ethernet/mscc/ocelot.c | 28 +++