Re: [Linuxptp-users] using ptp4l on vlan interfaces
PTP IEEE 1588 stack for Linux
Brought to you by:
rcochran
From: Keller, J. E <jac...@in...> - 2013-12-17 19:55:53
|
On Tue, 2013-12-17 at 13:44 -0600, Shawn Bohrer wrote: > > > I'm not sure how it is done, but should ptp4l recognize > > > that it is a vlan interface and perform ioctl and ethtool queries > > > against the actual device interface? I know the 'ip' tool associates > > > vlan807 with eth4 so that mapping can be detected somehow: > > > > I think it would be nicer if the kernel did this for us automatically, > > but I'll have to take this up on the netdev list. > > Cool, I agree that it seems like the kernel should at least pass only > the ethtool information from the actual device for a vlan interface. > What is your suggestion for the ioctl? Should the kernel > automatically perform that on the correct driver as well? Are you > going to raise this on netdev or should I? > > Thanks, > Shawn I agree that the kernel could be extended to enable vlans. The trick being what should be done if the vlan requests it, and the base driver gets a direct request, which one should be honored? This could get a little complicated... When this goes to netdev, I would ilke to be Cc'ed on the discussion. Regards, Jake |