> Just fyi, even if the version number in the e1000e upstream driver is old,
> it's actually likely contains more fixes/newer work than what's on
> sourceforge. The version numbers in the upstream driver are manual, so they
> don't always get updated in a timely fashion. Especially in regards to PTP
> functionality, I'd be surprised if your upstream driver was older than the
> out-of-tree code.
>

Thanx, good to know.


> I've got some experience, though I wasn't the driver author for either
> i210 or the e1000e driver, so I don't have that much knowledge. From what I
> recall, the i219-v device has a different register design for doing the
> frequency tuning. It's possible that tuning is somewhat buggy or less
> efficient than what's available in the i210.
>
> It would be helpful to see what the frequency adjustments are being made
> to the i219 device..
>
>
Here are both logs for i219 and i210
i219 log:
ptp4l[824.577]: port 0: INITIALIZING to LISTENING on INIT_COMPLETE
ptp4l[824.577]: port 1: received link status notification
ptp4l[824.577]: interface index 3 is up
ptp4l[825.325]: port 1: peer port id set to 000496.fffe.9a91d2-27
ptp4l[825.576]: port 1: delay timeout
ptp4l[825.580]: delay   filtered       7160   raw       7160
ptp4l[826.577]: port 1: delay timeout
ptp4l[826.580]: delay   filtered       7149   raw       7139
ptp4l[827.577]: port 1: delay timeout
ptp4l[827.580]: delay   filtered       7139   raw       7107
ptp4l[827.611]: port 1: setting asCapable
ptp4l[828.333]: port 1: new foreign master 000496.fffe.9a91d2-27
ptp4l[828.578]: port 1: delay timeout
ptp4l[828.580]: delay   filtered       7149   raw       7187
ptp4l[829.578]: port 1: delay timeout
ptp4l[829.581]: delay   filtered       7147   raw       7147
ptp4l[830.334]: selected best master clock 000496.fffe.9a91d2
ptp4l[830.335]: running in a temporal vortex
ptp4l[830.335]: port 1: LISTENING to UNCALIBRATED on RS_SLAVE
ptp4l[830.370]: PI servo: sync interval 0.125 kp 1.306 ki 0.130583
ptp4l[830.578]: port 1: delay timeout
ptp4l[830.581]: delay   filtered       7143   raw       7122
ptp4l[830.872]: port 1: UNCALIBRATED to SLAVE on MASTER_CLOCK_SELECTED
ptp4l[831.503]: rms 108139583052 max 216279167507 freq -20197 +/- 7642
delay  7143 +/-   0
ptp4l[831.579]: port 1: delay timeout
ptp4l[831.582]: negative delay    -944960
ptp4l[831.582]: delay = (t2 - t3) * rr + (t4 - t1)
ptp4l[831.582]: t2 - t3 =     -17616
ptp4l[831.582]: t4 - t1 =   -1872304
ptp4l[831.582]: rr = -0.009337901
ptp4l[831.582]: delay   filtered       7139   raw    -944960
ptp4l[832.507]: rms  553 max  633 freq -23791 +/- 172 delay  7139 +/-   0
ptp4l[832.579]: port 1: delay timeout
ptp4l[832.582]: negative delay    -663326
ptp4l[832.582]: delay = (t2 - t3) * rr + (t4 - t1)
ptp4l[832.582]: t2 - t3 =     -12405
ptp4l[832.582]: t4 - t1 =   -1314248
ptp4l[832.582]: rr = -0.009337901
ptp4l[832.582]: delay   filtered       7130   raw    -663326
ptp4l[833.510]: rms  322 max  446 freq -23922 +/-  86 delay  7130 +/-   0
ptp4l[833.579]: port 1: delay timeout
ptp4l[833.582]: delay   filtered       7139   raw       7197
ptp4l[834.514]: rms  144 max  235 freq -23896 +/-  64 delay  7139 +/-   0

i210 log:
ptp4l[982.221]: port 0: INITIALIZING to LISTENING on INIT_COMPLETE
ptp4l[982.221]: port 1: received link status notification
ptp4l[982.221]: interface index 2 is up
ptp4l[982.547]: port 1: peer port id set to 000496.fffe.9a91d2-29
ptp4l[983.220]: port 1: delay timeout
ptp4l[983.223]: negative delay         -9
ptp4l[983.223]: delay = (t2 - t3) * rr + (t4 - t1)
ptp4l[983.223]: t2 - t3 =   +1683166
ptp4l[983.223]: t4 - t1 =   -1683184
ptp4l[983.223]: rr = 1.000000000
ptp4l[983.223]: delay   filtered         -9   raw         -9
ptp4l[984.220]: port 1: delay timeout
ptp4l[984.223]: negative delay        -13
ptp4l[984.223]: delay = (t2 - t3) * rr + (t4 - t1)
ptp4l[984.223]: t2 - t3 =   +1787854
ptp4l[984.223]: t4 - t1 =   -1787880
ptp4l[984.223]: rr = 1.000000000
ptp4l[984.224]: delay   filtered        -11   raw        -13
ptp4l[985.221]: port 1: delay timeout
ptp4l[985.224]: delay   filtered         -9   raw         26
ptp4l[985.279]: port 1: setting asCapable
ptp4l[985.554]: port 1: new foreign master 000496.fffe.9a91d2-29
ptp4l[986.221]: port 1: delay timeout
ptp4l[986.223]: delay   filtered          6   raw         21
ptp4l[987.221]: port 1: delay timeout
ptp4l[987.223]: delay   filtered         21   raw         30
ptp4l[987.555]: selected best master clock 000496.fffe.9a91d2
ptp4l[987.555]: running in a temporal vortex
ptp4l[987.555]: port 1: LISTENING to UNCALIBRATED on RS_SLAVE
ptp4l[987.664]: PI servo: sync interval 0.125 kp 1.306 ki 0.130583
ptp4l[988.221]: port 1: delay timeout
ptp4l[988.223]: delay   filtered         23   raw         25
ptp4l[988.543]: port 1: UNCALIBRATED to SLAVE on MASTER_CLOCK_SELECTED
ptp4l[989.170]: rms 121938683796 max 243877370159 freq -39325 +/- 14960
delay    23 +/-   0
ptp4l[989.221]: port 1: delay timeout
ptp4l[989.223]: negative delay    -608366
ptp4l[989.224]: delay = (t2 - t3) * rr + (t4 - t1)
ptp4l[989.224]: t2 - t3 =      -9980
ptp4l[989.224]: t4 - t1 =   -1206752
ptp4l[989.224]: rr = -0.008270256
ptp4l[989.224]: delay   filtered         21   raw    -608366
ptp4l[990.174]: rms  578 max  882 freq -42549 +/- 780 delay    21 +/-   0
ptp4l[990.221]: port 1: delay timeout
ptp4l[990.224]: negative delay    -640328
ptp4l[990.224]: delay = (t2 - t3) * rr + (t4 - t1)
ptp4l[990.224]: t2 - t3 =     -10504
ptp4l[990.224]: t4 - t1 =   -1270152
ptp4l[990.224]: rr = -0.008270256
ptp4l[990.224]: delay   filtered          6   raw    -640328
ptp4l[991.177]: rms  968 max 1021 freq -40797 +/- 248 delay     6 +/-   0
ptp4l[991.222]: port 1: delay timeout
ptp4l[991.224]: delay   filtered         21   raw         27
ptp4l[992.180]: rms  595 max  781 freq -40491 +/-  23 delay    21 +/-   0
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Linuxptp-users mailing list
Linuxptp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-users

Reply via email to