Re: [Linuxptp-users] ptp4l and network connectivity interruption
PTP IEEE 1588 stack for Linux
Brought to you by:
rcochran
From: Richard C. <ric...@gm...> - 2015-12-12 17:50:55
|
On Fri, Dec 11, 2015 at 03:09:56PM -0500, Brian Walsh wrote: > I was looking at the linuxptp code to see if it could possibly detect the > condition. It does detect the initial jump when the hardware starts > receiving packets again. Maybe it could check the jump against the last > known offset value. Have it wait for a few packets while the device > settles before trusting that jump if it is close to the offset. This is definitely a driver bug. Looking at drivers/net/ethernet/intel/e1000e/netdev.c, in the function e1000e_config_hwtstamp(), the time is reset whenever time stamping is activated. That doesn't make any sense. It looks like the calls to e1000e_get_base_timinca() and timecounter_init() are misplaced. They should go into the probe function instead. Thanks, Richard |