Re: [Linuxptp-users] using ptp4l on vlan interfaces
PTP IEEE 1588 stack for Linux
Brought to you by:
rcochran
From: Don Ho <don...@gm...> - 2016-05-05 20:42:39
|
Please read the response part at the bottom of this email. I did not have the latest kernel of v3.19. I have a working VLAN PTP configured with the older way . On Wed, Dec 02, 2015 at 03:34:57PM -0500, Don Ho wrote: > If you are interested in using ptp4l/phc2sys hardware timestamp on > vlan, the following instruction is working on my system. > Someone may ask why VLAN, why I can just have the interfaces on > different NIC cards. Sure you can. But if you want to reduce the > number of cables, NIC cards, and may be switches. VLAN is the > solution. > > Many thanks to Shawn Bohrer for helping me to make this configuration work. I am suprised that you need to change ptp4l in order to work with VLAN interfaces. I thought that I had fixed this in the kernel: commit 37dd9255b2f6201195946014600a8d857f846cf4 Author: Richard Cochran <ric...@gm...> Date: Fri Nov 21 14:16:20 2014 +0100 vlan: Pass ethtool get_ts_info queries to real device. Commit a6111d3c "vlan: Pass SIOC[SG]HWTSTAMP ioctls to real device" intended to enable hardware time stamping on VLAN interfaces, but passing SIOCSHWTSTAMP is only half of the story. This patch adds the second half, by letting user space find out the time stamping capabilities of the device backing a VLAN interface. Commit 37dd9255 is in kernel v3.19, and commit a6111d3c is in v3.17. What kernel version are you using? Thanks, Richard On Thu, May 5, 2016 at 4:13 PM, Keller, Jacob E <jac...@in...> wrote: > I don't see the original message you are replying to? > > I suspect you mean a patch that fixes software timestamping over vlan > devices? > > Regards, > Jake > > On Thu, 2016-05-05 at 19:46 +0000, Murali Karicheri wrote: >> Keller, Jacob E <jacob.e.keller@...> writes: >> >> All, >> >> Do you know the status of this fix for ptp over vlan issue? >> >> Murali >> > ------------------------------------------------------------------------------ > Find and fix application performance issues faster with Applications Manager > Applications Manager provides deep performance insights into multiple tiers of > your business applications. It resolves application problems quickly and > reduces your MTTR. Get your free trial! > https://ad.doubleclick.net/ddm/clk/302982198;130105516;z > _______________________________________________ > Linuxptp-users mailing list > Lin...@li... > https://lists.sourceforge.net/lists/listinfo/linuxptp-users |