This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM6412: PTP: Link statue change on other interface results in PTP sync loss

Part Number: AM6412
Other Parts Discussed in Thread: SK-AM64B, SK-AM62B, TMDS64EVM

Tool/software:

Hi,

In our design we are using AM6412 with DP83867 Phy. Our product has two ethernet interfaces eth0 and eth1. 

We are using kernel version 6.1.80-rt26.

When we have PTP running on eth1 (and synced), if we change the link state of eth0 interface, the ptp sync on eth1 interface will be lost and never recovers. 

To restore the sync we need to perform any of the following activities

1. Restart the PTP

2. Run "ifconfig eth1 up" (Please note it is eth1, the interface which was already up and had PTP sync working)

3. Turn on Promiscuous  mode "ip link set eth1 promisc on"

Further debugging revels that the issue is somehow related to ALE functionality. When the PTP sync is lost we see that following two counters are incremented

ale_drop: 37378
rx_port_mask_drop: 37378

Some other observations:

1. Sync is lost when the other interface is brought down or up (i.e. any change in state)

2. Sync is not restored even when the other interface is set to the original state when PTP was working.

3. This example show PTP running on eth1 and change of the state of eth0, same behavior is observed when the interfaces are interchanged.

Please find below logs form ptp4l application with annotations

$./ptp4l -2 -P -H -i eth1 -m -q -l 7
..
.. <<<<<<< output stripped 
..
ptp4l[17109.394]: port 1 (eth1): delay timeout
ptp4l[17109.395]: delay filtered 1316 raw 1330
ptp4l[17110.087]: master offset 25 s2 freq -26011 path delay 1316
ptp4l[17110.394]: port 1 (eth1): delay timeout
ptp4l[17110.395]: delay filtered 1316 raw 1310
ptp4l[17111.088]: master offset 16 s2 freq -26012 path delay 1316
ptp4l[17111.395]: port 1 (eth1): delay timeout
ptp4l[17111.395]: delay filtered 1312 raw 1311
ptp4l[17111.823]: port 1 (eth1): received link status notification
[17111.824549] am65-cpsw-nuss 8000000.ethernet eth0)                   <<< ETH0 state is changed here, note that PTP is running on ETH1.
[17111.824577] am65-cpsw-nuss 8000000.ethernet eth0: configuring for phy/rgmii-rxid link mode
[17111.833218] 8021q: adding VLAN 0 to HW filter on device eth0
ptp4l[17112.395]: port 1 (eth1): delay timeout
ptp4l[17113.395]: port 1 (eth1): delay timeout
ptp4l[17114.396]: port 1 (eth1): delay timeout
ptp4l[17114.877]: port 1 (eth1): received link status notificati[17114.879496] am65-cpsw-nuss 8000000.ethernet eth0f
on
ptp4l[17115.396]: port 1 (eth1): delay timeout
ptp4l[17116.396]: port 1 (eth1): delay timeout
ptp4l[17117.396]: port 1 (eth1): delay timeout
ptp4l[17117.454]: port 1 (eth1): announce timeout                       <<< PTP sync is lost as the multicast packets are dropped by interface
ptp4l[17117.454]: port 1 (eth1): SLAVE to LISTENING on ANNOUNCE_RECEIPT_TIMEOUT_EXPIRES
ptp4l[17117.454]: selected local clock 543b30.fffe.0118ef as best master
ptp4l[17118.454]: port 1 (eth1): delay timeout
ptp4l[17119.454]: port 1 (eth1): delay timeout
ptp4l[17120.455]: port 1 (eth1): delay timeout
ptp4l[17121.455]: port 1 (eth1): delay timeout
ptp4l[17122.455]: port 1 (eth1): delay timeout
ptp4l[17123.456]: port 1 (eth1): delay timeout
ptp4l[17124.249]: port 1 (eth1): announce timeout
ptp4l[17124.456]: port 1 (eth1): delay timeout
ptp4l[17125.456]: port 1 (eth1): delay timeout
ptp4l[17126.456]: port 1 (eth1): delay timeout
ptp4l[17127.457]: port 1 (eth1): delay timeout
ptp4l[17128.457]: port 1 (eth1): delay timeout

..
.. <<<<<<< output stripped 
..

ptp4l[5620.609]: port 1 (eth1): master sync timeout
ptp4l[5620.845]: port 1 (eth1): delay timeout
[ 5621.584634] device eth1 entered promiscuous mode            <<< eth1 entered promiscuous mode
ptp4l[5621.586]: port 1 (eth1): ignoring message
ptp4l[5621.609]: port 1 (eth1): master sync timeout
ptp4l[5621.610]: port 1 (eth1): master tx announce timeout
ptp4l[5621.846]: port 1 (eth1): delay timeout
ptp4l[5621.846]: delay filtered 1295 raw 1306                 
ptp4l[5622.610]: port 1 (eth1): master sync timeout
ptp4l[5622.846]: port 1 (eth1): delay timeout
ptp4l[5622.847]: delay filtered 1299 raw 1304
ptp4l[5623.610]: port 1 (eth1): master sync timeout
ptp4l[5623.611]: port 1 (eth1): master tx announce timeout
ptp4l[5623.846]: port 1 (eth1): delay timeout
ptp4l[5623.847]: delay filtered 1304 raw 1312
ptp4l[5624.610]: port 1 (eth1): master sync timeout
ptp4l[5624.664]: selected best master clock 40a6b7.fffe.9c2706  <<< PTP is synced again

  • Hello Dipal,

    In our design we are using AM6412 with DP83867 Phy. Our product has two ethernet interfaces eth0 and eth1. 

    Can you describe your test topology? What devices do you have connected to the eth0 and eth1 ports? Is it a line or ring topology?

    Are you using CPSW ethernet or PRU_ICSSG ethernet interfaces for eth0 and eth1? (Based on the PTP log output I'm assuming CPSW ethernet for both interfaces?)

    Is the custom AM6412 device serving PTP grandmaster or as a PTP follower?

    What specific steps and Linux commands did you use to start the PTP test? 

    Can you share the full PTP log (please use Insert > Code instead of directly pasting into the response)?

    -Daolin

  • Hi Daolin,

    Thanks you checking this.

    1. We tested this in two topologies as given below (Blue box is the Device in test), all logs in this thread are based on topo 2.

    Topo 1: 

    Topo 2:

    2. We are using CPSW driver for both ports on the DUT

    3. The PTP role doesn't matter, we observe issue in both cases i.e. DUT is PTP grandmaster or PTP follower.

    4. Following command are used to start PTP, no other configuration is done:

    DUT :      ptp4l -2 -P -H -i eth1   -m -q -l 7 -s

    PC  : sudo ptp4l -2 -P -H -i enp8s0 -m -q -l 7

    Please find below logs form both PC and DUT, please check "<<<<" for annotations 

    PC (PTP Grandmaster):

    ❯ sudo ptp4l -2 -P -H -i enp8s0 -m -q -l 7
    [sudo] password for dze: 
    ptp4l[1638774.357]: config item (null).assume_two_step is 0
    ptp4l[1638774.357]: config item (null).check_fup_sync is 0
    ptp4l[1638774.357]: config item (null).tx_timestamp_timeout is 1
    ptp4l[1638774.357]: config item (null).hwts_filter is 0
    ptp4l[1638774.357]: config item (null).clock_servo is 0
    ptp4l[1638774.357]: config item (null).clock_type is 32768
    ptp4l[1638774.357]: config item (null).clock_servo is 0
    ptp4l[1638774.357]: config item (null).clockClass is 248
    ptp4l[1638774.357]: config item (null).clockAccuracy is 254
    ptp4l[1638774.357]: config item (null).offsetScaledLogVariance is 65535
    ptp4l[1638774.357]: config item (null).productDescription is ';;'
    ptp4l[1638774.357]: config item (null).revisionData is ';;'
    ptp4l[1638774.357]: config item (null).userDescription is ''
    ptp4l[1638774.357]: config item (null).manufacturerIdentity is '00:00:00'
    ptp4l[1638774.357]: config item (null).domainNumber is 0
    ptp4l[1638774.357]: config item (null).slaveOnly is 0
    ptp4l[1638774.357]: config item (null).gmCapable is 1
    ptp4l[1638774.357]: config item (null).gmCapable is 1
    ptp4l[1638774.357]: config item (null).G.8275.defaultDS.localPriority is 128
    ptp4l[1638774.357]: config item (null).maxStepsRemoved is 255
    ptp4l[1638774.357]: config item (null).time_stamping is 1
    ptp4l[1638774.357]: config item (null).twoStepFlag is 1
    ptp4l[1638774.357]: config item (null).twoStepFlag is 1
    ptp4l[1638774.357]: config item (null).time_stamping is 1
    ptp4l[1638774.357]: config item (null).priority1 is 128
    ptp4l[1638774.357]: config item (null).priority2 is 128
    ptp4l[1638774.357]: interface index 3 is up
    ptp4l[1638774.357]: config item (null).free_running is 0
    ptp4l[1638774.357]: selected /dev/ptp0 as PTP clock
    ptp4l[1638774.357]: config item (null).clockIdentity is '000000.0000.000000'
    ptp4l[1638774.357]: config item (null).uds_address is '/var/run/ptp4l'
    ptp4l[1638774.357]: section item /var/run/ptp4l.announceReceiptTimeout now 0
    ptp4l[1638774.357]: section item /var/run/ptp4l.delay_mechanism now 0
    ptp4l[1638774.357]: section item /var/run/ptp4l.network_transport now 0
    ptp4l[1638774.357]: section item /var/run/ptp4l.delay_filter_length now 1
    ptp4l[1638774.357]: config item (null).free_running is 0
    ptp4l[1638774.357]: config item (null).freq_est_interval is 1
    ptp4l[1638774.357]: config item (null).write_phase_mode is 0
    ptp4l[1638774.357]: config item (null).gmCapable is 1
    ptp4l[1638774.357]: config item (null).kernel_leap is 1
    ptp4l[1638774.357]: config item (null).utc_offset is 37
    ptp4l[1638774.357]: config item (null).timeSource is 160
    ptp4l[1638774.357]: config item (null).pi_proportional_const is 0.000000
    ptp4l[1638774.357]: config item (null).pi_integral_const is 0.000000
    ptp4l[1638774.357]: config item (null).pi_proportional_scale is 0.000000
    ptp4l[1638774.357]: config item (null).pi_proportional_exponent is -0.300000
    ptp4l[1638774.357]: config item (null).pi_proportional_norm_max is 0.700000
    ptp4l[1638774.357]: config item (null).pi_integral_scale is 0.000000
    ptp4l[1638774.357]: config item (null).pi_integral_exponent is 0.400000
    ptp4l[1638774.357]: config item (null).pi_integral_norm_max is 0.300000
    ptp4l[1638774.357]: config item (null).step_threshold is 0.000000
    ptp4l[1638774.357]: config item (null).first_step_threshold is 0.000020
    ptp4l[1638774.357]: config item (null).max_frequency is 900000000
    ptp4l[1638774.357]: config item (null).servo_offset_threshold is 0
    ptp4l[1638774.357]: config item (null).servo_num_offset_values is 10
    ptp4l[1638774.357]: config item (null).dataset_comparison is 0
    ptp4l[1638774.357]: config item (null).delay_filter_length is 10
    ptp4l[1638774.357]: config item (null).delay_filter is 1
    ptp4l[1638774.357]: config item (null).tsproc_mode is 0
    ptp4l[1638774.357]: config item (null).initial_delay is 0
    ptp4l[1638774.357]: config item (null).summary_interval is 0
    ptp4l[1638774.357]: config item (null).sanity_freq_limit is 200000000
    ptp4l[1638774.357]: PI servo: sync interval 1.000 kp 0.700 ki 0.300000
    ptp4l[1638774.357]: config item /var/run/ptp4l.boundary_clock_jbod is 0
    ptp4l[1638774.357]: config item /var/run/ptp4l.network_transport is 0
    ptp4l[1638774.357]: config item /var/run/ptp4l.masterOnly is 0
    ptp4l[1638774.357]: config item /var/run/ptp4l.BMCA is 0
    ptp4l[1638774.357]: config item /var/run/ptp4l.delayAsymmetry is 0
    ptp4l[1638774.357]: config item /var/run/ptp4l.follow_up_info is 0
    ptp4l[1638774.357]: config item /var/run/ptp4l.freq_est_interval is 1
    ptp4l[1638774.357]: config item /var/run/ptp4l.msg_interval_request is 0
    ptp4l[1638774.357]: config item /var/run/ptp4l.net_sync_monitor is 0
    ptp4l[1638774.357]: config item /var/run/ptp4l.path_trace_enabled is 0
    ptp4l[1638774.357]: config item /var/run/ptp4l.tc_spanning_tree is 0
    ptp4l[1638774.357]: config item /var/run/ptp4l.ingressLatency is 0
    ptp4l[1638774.357]: config item /var/run/ptp4l.egressLatency is 0
    ptp4l[1638774.357]: config item /var/run/ptp4l.delay_mechanism is 0
    ptp4l[1638774.357]: config item /var/run/ptp4l.hybrid_e2e is 0
    ptp4l[1638774.357]: config item /var/run/ptp4l.fault_badpeernet_interval is 16
    ptp4l[1638774.357]: config item /var/run/ptp4l.fault_reset_interval is 4
    ptp4l[1638774.357]: config item /var/run/ptp4l.delay_filter_length is 1
    ptp4l[1638774.357]: config item /var/run/ptp4l.delay_filter is 1
    ptp4l[1638774.357]: config item /var/run/ptp4l.tsproc_mode is 0
    ptp4l[1638774.357]: config item (null).slave_event_monitor is ''
    ptp4l[1638774.357]: config item enp8s0.boundary_clock_jbod is 0
    ptp4l[1638774.357]: config item enp8s0.network_transport is 3
    ptp4l[1638774.357]: config item enp8s0.masterOnly is 0
    ptp4l[1638774.357]: config item enp8s0.BMCA is 0
    ptp4l[1638774.357]: config item enp8s0.delayAsymmetry is 0
    ptp4l[1638774.357]: config item enp8s0.follow_up_info is 0
    ptp4l[1638774.357]: config item enp8s0.freq_est_interval is 1
    ptp4l[1638774.357]: config item enp8s0.msg_interval_request is 0
    ptp4l[1638774.357]: config item enp8s0.net_sync_monitor is 0
    ptp4l[1638774.357]: config item enp8s0.path_trace_enabled is 0
    ptp4l[1638774.357]: config item enp8s0.tc_spanning_tree is 0
    ptp4l[1638774.357]: config item enp8s0.ingressLatency is 0
    ptp4l[1638774.357]: config item enp8s0.egressLatency is 0
    ptp4l[1638774.357]: config item enp8s0.delay_mechanism is 2
    ptp4l[1638774.357]: config item enp8s0.unicast_master_table is 0
    ptp4l[1638774.357]: config item enp8s0.unicast_listen is 0
    ptp4l[1638774.357]: config item enp8s0.hybrid_e2e is 0
    ptp4l[1638774.357]: config item enp8s0.fault_badpeernet_interval is 16
    ptp4l[1638774.357]: config item enp8s0.fault_reset_interval is 4
    ptp4l[1638774.357]: config item enp8s0.delay_filter_length is 10
    ptp4l[1638774.357]: config item enp8s0.delay_filter is 1
    ptp4l[1638774.357]: config item enp8s0.tsproc_mode is 0
    ptp4l[1638774.357]: config item enp8s0.logMinDelayReqInterval is 0
    ptp4l[1638774.357]: config item enp8s0.logAnnounceInterval is 1
    ptp4l[1638774.357]: config item enp8s0.inhibit_announce is 0
    ptp4l[1638774.357]: config item enp8s0.ignore_source_id is 0
    ptp4l[1638774.357]: config item enp8s0.announceReceiptTimeout is 3
    ptp4l[1638774.357]: config item enp8s0.syncReceiptTimeout is 0
    ptp4l[1638774.357]: config item enp8s0.transportSpecific is 0
    ptp4l[1638774.357]: config item enp8s0.ignore_transport_specific is 0
    ptp4l[1638774.357]: config item enp8s0.G.8275.portDS.localPriority is 128
    ptp4l[1638774.357]: config item enp8s0.logSyncInterval is 0
    ptp4l[1638774.357]: config item enp8s0.operLogSyncInterval is 0
    ptp4l[1638774.357]: config item enp8s0.logMinPdelayReqInterval is 0
    ptp4l[1638774.357]: config item enp8s0.operLogPdelayReqInterval is 0
    ptp4l[1638774.357]: config item enp8s0.neighborPropDelayThresh is 20000000
    ptp4l[1638774.357]: config item enp8s0.min_neighbor_prop_delay is -20000000
    ptp4l[1638774.357]: config item enp8s0.asCapable is 1
    ptp4l[1638774.357]: config item enp8s0.inhibit_delay_req is 0
    ptp4l[1638774.357]: config item enp8s0.ptp_dst_mac is '01:1B:19:00:00:00'
    ptp4l[1638774.357]: config item enp8s0.p2p_dst_mac is '01:80:C2:00:00:0E'
    ptp4l[1638774.357]: config item global.socket_priority is 0
    ptp4l[1638774.383]: port 1: INITIALIZING to LISTENING on INIT_COMPLETE
    ptp4l[1638774.383]: config item /var/run/ptp4l.logMinDelayReqInterval is 0
    ptp4l[1638774.383]: config item /var/run/ptp4l.logAnnounceInterval is 1
    ptp4l[1638774.383]: config item /var/run/ptp4l.inhibit_announce is 0
    ptp4l[1638774.383]: config item /var/run/ptp4l.ignore_source_id is 0
    ptp4l[1638774.383]: config item /var/run/ptp4l.announceReceiptTimeout is 0
    ptp4l[1638774.383]: config item /var/run/ptp4l.syncReceiptTimeout is 0
    ptp4l[1638774.383]: config item /var/run/ptp4l.transportSpecific is 0
    ptp4l[1638774.383]: config item /var/run/ptp4l.ignore_transport_specific is 0
    ptp4l[1638774.383]: config item /var/run/ptp4l.G.8275.portDS.localPriority is 128
    ptp4l[1638774.383]: config item /var/run/ptp4l.logSyncInterval is 0
    ptp4l[1638774.383]: config item /var/run/ptp4l.operLogSyncInterval is 0
    ptp4l[1638774.383]: config item /var/run/ptp4l.logMinPdelayReqInterval is 0
    ptp4l[1638774.383]: config item /var/run/ptp4l.operLogPdelayReqInterval is 0
    ptp4l[1638774.383]: config item /var/run/ptp4l.neighborPropDelayThresh is 20000000
    ptp4l[1638774.383]: config item /var/run/ptp4l.min_neighbor_prop_delay is -20000000
    ptp4l[1638774.383]: config item /var/run/ptp4l.asCapable is 1
    ptp4l[1638774.383]: config item /var/run/ptp4l.inhibit_delay_req is 0
    ptp4l[1638774.383]: config item (null).uds_address is '/var/run/ptp4l'
    ptp4l[1638774.383]: port 0: INITIALIZING to LISTENING on INIT_COMPLETE
    ptp4l[1638774.383]: port 1: received link status notification
    ptp4l[1638774.383]: interface index 3 is up
    ptp4l[1638775.383]: port 1: delay timeout
    ptp4l[1638776.383]: port 1: delay timeout
    ptp4l[1638776.383]: port 1: setting asCapable
    ptp4l[1638777.383]: port 1: delay timeout
    ptp4l[1638778.383]: port 1: delay timeout
    ptp4l[1638779.383]: port 1: delay timeout
    ptp4l[1638780.383]: port 1: delay timeout
    ptp4l[1638780.551]: port 1: peer port id set to 543b30.fffe.0118ef-1
    ptp4l[1638780.551]: delay   filtered       1340   raw       1340
    ptp4l[1638780.718]: port 1: announce timeout
    ptp4l[1638780.718]: port 1: LISTENING to MASTER on ANNOUNCE_RECEIPT_TIMEOUT_EXPIRES
    ptp4l[1638780.718]: selected local clock 40a6b7.fffe.9c2706 as best master
    ptp4l[1638780.718]: port 1: assuming the grand master role
    ptp4l[1638780.719]: port 1: master tx announce timeout
    ptp4l[1638781.384]: port 1: delay timeout
    ptp4l[1638781.384]: delay   filtered       1325   raw       1311
    ptp4l[1638781.718]: port 1: master sync timeout
    ptp4l[1638782.384]: port 1: delay timeout
    ptp4l[1638782.385]: delay   filtered       1337   raw       1337
    ptp4l[1638782.718]: port 1: master sync timeout
    ptp4l[1638782.719]: port 1: master tx announce timeout
    ptp4l[1638783.384]: port 1: delay timeout
    ptp4l[1638783.385]: delay   filtered       1330   raw       1324
    ptp4l[1638783.718]: port 1: master sync timeout
    ptp4l[1638784.384]: port 1: delay timeout
    ptp4l[1638784.385]: delay   filtered       1330   raw       1330
    ptp4l[1638784.718]: port 1: master sync timeout
    ptp4l[1638784.719]: port 1: master tx announce timeout
    ptp4l[1638785.384]: port 1: delay timeout
    ptp4l[1638785.385]: delay   filtered       1327   raw       1316
    ptp4l[1638785.719]: port 1: master sync timeout
    ptp4l[1638786.384]: port 1: delay timeout
    ptp4l[1638786.385]: delay   filtered       1330   raw       1342
    ptp4l[1638786.719]: port 1: master sync timeout
    ptp4l[1638786.719]: port 1: master tx announce timeout
    ptp4l[1638787.384]: port 1: delay timeout
    ptp4l[1638787.385]: delay   filtered       1330   raw       1331
    ptp4l[1638787.719]: port 1: master sync timeout
    ptp4l[1638788.384]: port 1: delay timeout
    ptp4l[1638788.385]: delay   filtered       1331   raw       1332
    ptp4l[1638788.719]: port 1: master sync timeout
    ptp4l[1638788.719]: port 1: master tx announce timeout
    ptp4l[1638789.385]: port 1: delay timeout
    ptp4l[1638789.385]: delay   filtered       1330   raw       1321
    ptp4l[1638789.719]: port 1: master sync timeout
    ptp4l[1638790.385]: port 1: delay timeout
    ptp4l[1638790.385]: delay   filtered       1327   raw       1308
    ptp4l[1638790.719]: port 1: master sync timeout
    ptp4l[1638790.719]: port 1: master tx announce timeout
    ptp4l[1638791.385]: port 1: delay timeout
    ptp4l[1638791.386]: delay   filtered       1327   raw       1314
    ptp4l[1638791.719]: port 1: master sync timeout
    ptp4l[1638792.385]: port 1: delay timeout
    ptp4l[1638792.386]: delay   filtered       1327   raw       1342
    ptp4l[1638792.719]: port 1: master sync timeout
    ptp4l[1638792.720]: port 1: master tx announce timeout
    ptp4l[1638793.385]: port 1: delay timeout
    ptp4l[1638793.386]: delay   filtered       1330   raw       1350
    ptp4l[1638793.720]: port 1: master sync timeout
    ptp4l[1638794.385]: port 1: delay timeout
    ptp4l[1638794.386]: delay   filtered       1331   raw       1336
    ptp4l[1638794.720]: port 1: master tx announce timeout
    ptp4l[1638794.720]: port 1: master sync timeout
    ptp4l[1638795.385]: port 1: delay timeout
    ptp4l[1638795.386]: delay   filtered       1334   raw       1341
    ptp4l[1638795.720]: port 1: master sync timeout
    ptp4l[1638796.385]: port 1: delay timeout
    ptp4l[1638796.386]: delay   filtered       1331   raw       1325
    ptp4l[1638796.720]: port 1: master tx announce timeout
    ptp4l[1638796.720]: port 1: master sync timeout
    ptp4l[1638797.386]: port 1: delay timeout
    ptp4l[1638797.386]: delay   filtered       1331   raw       1330
    ptp4l[1638797.720]: port 1: master sync timeout
    ptp4l[1638798.386]: port 1: delay timeout
    ptp4l[1638798.387]: delay   filtered       1333   raw       1336
    ptp4l[1638798.720]: port 1: master tx announce timeout
    ptp4l[1638798.720]: port 1: master sync timeout
    ptp4l[1638799.386]: port 1: delay timeout
    ptp4l[1638799.387]: delay   filtered       1333   raw       1320
    ptp4l[1638799.720]: port 1: master sync timeout
    ptp4l[1638800.386]: port 1: delay timeout
    ptp4l[1638800.720]: port 1: master tx announce timeout               <<<< eth0 was made down "ifconfig eth0 down"
    ptp4l[1638800.720]: port 1: master sync timeout
    ptp4l[1638801.386]: port 1: delay timeout
    ptp4l[1638801.720]: port 1: master sync timeout
    ptp4l[1638802.386]: port 1: delay timeout
    ptp4l[1638802.720]: port 1: master tx announce timeout
    ptp4l[1638802.720]: port 1: master sync timeout
    ptp4l[1638803.386]: port 1: delay timeout
    ptp4l[1638803.720]: port 1: master sync timeout
    ptp4l[1638804.387]: port 1: delay timeout
    ptp4l[1638804.720]: port 1: master tx announce timeout
    ptp4l[1638804.721]: port 1: master sync timeout
    ptp4l[1638805.387]: port 1: delay timeout
    ptp4l[1638805.721]: port 1: master sync timeout
    ptp4l[1638806.387]: port 1: delay timeout
    ptp4l[1638806.720]: port 1: master tx announce timeout
    ptp4l[1638806.721]: port 1: master sync timeout
    ptp4l[1638807.387]: port 1: delay timeout
    ptp4l[1638807.721]: port 1: master sync timeout
    ptp4l[1638808.387]: port 1: delay timeout
    ptp4l[1638808.721]: port 1: master tx announce timeout
    ptp4l[1638808.721]: port 1: master sync timeout
    ptp4l[1638809.387]: port 1: delay timeout
    ptp4l[1638809.721]: port 1: master sync timeout
    ptp4l[1638810.387]: port 1: delay timeout
    ptp4l[1638810.721]: port 1: master tx announce timeout
    ptp4l[1638810.721]: port 1: master sync timeout
    ptp4l[1638811.387]: port 1: delay timeout
    ptp4l[1638811.721]: port 1: master sync timeout
    ptp4l[1638812.388]: port 1: delay timeout
    ptp4l[1638812.721]: port 1: master tx announce timeout
    ptp4l[1638812.721]: port 1: master sync timeout
    ptp4l[1638813.388]: port 1: delay timeout
    ptp4l[1638813.721]: port 1: master sync timeout
    ptp4l[1638814.388]: port 1: delay timeout
    ptp4l[1638814.721]: port 1: master tx announce timeout
    ptp4l[1638814.722]: port 1: master sync timeout
    ptp4l[1638815.388]: port 1: delay timeout
    ptp4l[1638815.722]: port 1: master sync timeout
    ptp4l[1638816.388]: port 1: delay timeout
    ptp4l[1638816.721]: port 1: master tx announce timeout
    ptp4l[1638816.722]: port 1: master sync timeout
    ptp4l[1638817.388]: port 1: delay timeout
    ptp4l[1638817.389]: delay   filtered       1333   raw       1323   <<<< eth1 was made up (again) "ifconfig eth1 up"
    ptp4l[1638817.722]: port 1: master sync timeout
    ptp4l[1638818.388]: port 1: delay timeout
    ptp4l[1638818.389]: delay   filtered       1333   raw       1318
    ptp4l[1638818.721]: port 1: master tx announce timeout
    ptp4l[1638818.722]: port 1: master sync timeout
    ptp4l[1638819.388]: port 1: delay timeout
    ptp4l[1638819.390]: delay   filtered       1327   raw       1313
    ptp4l[1638819.722]: port 1: master sync timeout
    ptp4l[1638820.388]: port 1: delay timeout
    ptp4l[1638820.389]: delay   filtered       1327   raw       1334
    ptp4l[1638820.721]: port 1: master tx announce timeout
    ptp4l[1638820.722]: port 1: master sync timeout
    ptp4l[1638821.389]: port 1: delay timeout
    ptp4l[1638821.389]: delay   filtered       1324   raw       1316
    ptp4l[1638821.722]: port 1: master sync timeout
    ptp4l[1638822.389]: port 1: delay timeout
    ptp4l[1638822.390]: delay   filtered       1324   raw       1341
    ptp4l[1638822.722]: port 1: master tx announce timeout
    ptp4l[1638822.722]: port 1: master sync timeout
    ptp4l[1638823.389]: port 1: delay timeout
    ptp4l[1638823.390]: delay   filtered       1326   raw       1350
    ptp4l[1638823.723]: port 1: master sync timeout
    ptp4l[1638824.389]: port 1: delay timeout
    ptp4l[1638824.390]: delay   filtered       1322   raw       1322
    ptp4l[1638824.722]: port 1: master tx announce timeout
    ptp4l[1638824.723]: port 1: master sync timeout
    ptp4l[1638825.389]: port 1: delay timeout
    ptp4l[1638825.390]: delay   filtered       1321   raw       1312
    ptp4l[1638825.723]: port 1: master sync timeout
    ptp4l[1638826.389]: port 1: delay timeout
    ptp4l[1638826.390]: delay   filtered       1322   raw       1327
    ptp4l[1638826.722]: port 1: master tx announce timeout
    ptp4l[1638826.723]: port 1: master sync timeout
    ptp4l[1638827.389]: port 1: delay timeout
    ptp4l[1638827.390]: delay   filtered       1322   raw       1323
    ptp4l[1638827.723]: port 1: master sync timeout
    ^C
    

    DUT (PTP Follower)

    root@smartnc:/home/root#  ptp4l -2 -P -H -i eth1   -m -q -l 7 -s
    ptp4l[332060.573]: config item (null).assume_two_step is 0
    ptp4l[332060.573]: config item (null).check_fup_sync is 0
    ptp4l[332060.573]: config item (null).tx_timestamp_timeout is 10
    ptp4l[332060.573]: config item (null).hwts_filter is 0
    ptp4l[332060.573]: config item (null).clock_servo is 0
    ptp4l[332060.573]: config item (null).clock_type is 32768
    ptp4l[332060.573]: config item (null).clock_servo is 0
    ptp4l[332060.573]: config item (null).clockClass is 248
    ptp4l[332060.573]: config item (null).clockAccuracy is 254
    ptp4l[332060.573]: config item (null).offsetScaledLogVariance is 65535
    ptp4l[332060.573]: config item (null).productDescription is ';;'
    ptp4l[332060.573]: config item (null).revisionData is ';;'
    ptp4l[332060.573]: config item (null).userDescription is ''
    ptp4l[332060.573]: config item (null).manufacturerIdentity is '00:00:00'
    ptp4l[332060.573]: config item (null).domainNumber is 0
    ptp4l[332060.573]: config item (null).clientOnly is 1
    ptp4l[332060.573]: config item (null).gmCapable is 1
    ptp4l[332060.573]: config item (null).gmCapable is 1
    ptp4l[332060.573]: config item (null).G.8275.defaultDS.localPriority is 128
    ptp4l[332060.573]: config item (null).maxStepsRemoved is 255
    ptp4l[332060.573]: config item (null).clock_class_threshold is 248
    ptp4l[332060.573]: config item (null).time_stamping is 1
    ptp4l[332060.573]: config item (null).twoStepFlag is 1
    ptp4l[332060.573]: config item (null).twoStepFlag is 1
    ptp4l[332060.573]: config item (null).time_stamping is 1
    ptp4l[332060.573]: config item (null).priority1 is 128
    ptp4l[332060.573]: config item (null).priority2 is 128
    ptp4l[332060.574]: interface index 3 is up
    ptp4l[332060.574]: config item eth1.phc_index is -1
    ptp4l[332060.574]: config item (null).free_running is 0
    ptp4l[332060.574]: selected /dev/ptp0 as PTP clock
    ptp4l[332060.574]: config item (null).clockIdentity is '000000.0000.000000'
    ptp4l[332060.574]: config item (null).uds_address is '/var/run/ptp4l'
    ptp4l[332060.574]: section item /var/run/ptp4l.announceReceiptTimeout now 0
    ptp4l[332060.574]: section item /var/run/ptp4l.delay_mechanism now 0
    ptp4l[332060.574]: section item /var/run/ptp4l.network_transport now 0
    ptp4l[332060.574]: section item /var/run/ptp4l.delay_filter_length now 1
    ptp4l[332060.574]: config item (null).uds_ro_address is '/var/run/ptp4lro'
    ptp4l[332060.574]: section item /var/run/ptp4lro.announceReceiptTimeout now 0
    ptp4l[332060.574]: section item /var/run/ptp4lro.delay_mechanism now 0
    ptp4l[332060.574]: section item /var/run/ptp4lro.network_transport now 0
    ptp4l[332060.574]: section item /var/run/ptp4lro.delay_filter_length now 1
    ptp4l[332060.574]: config item (null).free_running is 0
    ptp4l[332060.574]: config item (null).freq_est_interval is 1
    ptp4l[332060.574]: config item (null).write_phase_mode is 0
    ptp4l[332060.574]: config item (null).gmCapable is 1
    ptp4l[332060.574]: config item (null).kernel_leap is 1
    ptp4l[332060.574]: config item (null).utc_offset is 37
    ptp4l[332060.574]: config item (null).timeSource is 160
    ptp4l[332060.574]: config item (null).step_window is 0
    ptp4l[332060.574]: config item (null).pi_proportional_const is 0.000000
    ptp4l[332060.575]: config item (null).pi_integral_const is 0.000000
    ptp4l[332060.575]: config item (null).pi_proportional_scale is 0.000000
    ptp4l[332060.575]: config item (null).pi_proportional_exponent is -0.300000
    ptp4l[332060.575]: config item (null).pi_proportional_norm_max is 0.700000
    ptp4l[332060.575]: config item (null).pi_integral_scale is 0.000000
    ptp4l[332060.575]: config item (null).pi_integral_exponent is 0.400000
    ptp4l[332060.575]: config item (null).pi_integral_norm_max is 0.300000
    ptp4l[332060.575]: config item (null).step_threshold is 0.000000
    ptp4l[332060.575]: config item (null).first_step_threshold is 0.000020
    ptp4l[332060.575]: config item (null).max_frequency is 900000000
    ptp4l[332060.575]: config item (null).servo_offset_threshold is 0
    ptp4l[332060.575]: config item (null).servo_num_offset_values is 10
    ptp4l[332060.575]: config item (null).dataset_comparison is 0
    ptp4l[332060.575]: config item (null).tsproc_mode is 0
    ptp4l[332060.575]: config item (null).delay_filter is 1
    ptp4l[332060.907]: config item (null).delay_filter_length is 10
    ptp4l[332060.907]: config item (null).initial_delay is 0
    ptp4l[332060.907]: config item (null).summary_interval is 0
    ptp4l[332060.907]: config item (null).sanity_freq_limit is 200000000
    ptp4l[332060.907]: PI servo: sync interval 1.000 kp 0.700 ki 0.300000
    ptp4l[332060.907]: config item /var/run/ptp4l.phc_index is -1
    ptp4l[332060.907]: config item /var/run/ptp4l.boundary_clock_jbod is 0
    ptp4l[332060.907]: config item /var/run/ptp4l.serverOnly is 0
    ptp4l[332060.907]: config item /var/run/ptp4l.BMCA is 0
    ptp4l[332060.907]: config item /var/run/ptp4l.network_transport is 0
    ptp4l[332060.907]: config item /var/run/ptp4l.delayAsymmetry is 0
    ptp4l[332060.907]: config item /var/run/ptp4l.follow_up_info is 0
    ptp4l[332060.907]: config item /var/run/ptp4l.freq_est_interval is 1
    ptp4l[332060.907]: config item /var/run/ptp4l.msg_interval_request is 0
    ptp4l[332060.907]: config item /var/run/ptp4l.net_sync_monitor is 0
    ptp4l[332060.907]: config item /var/run/ptp4l.path_trace_enabled is 0
    ptp4l[332060.907]: config item /var/run/ptp4l.tc_spanning_tree is 0
    ptp4l[332060.907]: config item /var/run/ptp4l.ingressLatency is 0
    ptp4l[332060.907]: config item /var/run/ptp4l.egressLatency is 0
    ptp4l[332060.907]: config item /var/run/ptp4l.delay_mechanism is 0
    ptp4l[332060.907]: config item /var/run/ptp4l.power_profile.version is 0
    ptp4l[332060.907]: config item /var/run/ptp4l.power_profile.grandmasterID is 0
    ptp4l[332060.907]: config item /var/run/ptp4l.power_profile.2011.grandmasterTimeInaccuracy is -1
    ptp4l[332060.907]: config item /var/run/ptp4l.power_profile.2011.networkTimeInaccuracy is -1
    ptp4l[332060.907]: config item /var/run/ptp4l.power_profile.2017.totalTimeInaccuracy is -1
    ptp4l[332060.907]: config item /var/run/ptp4l.hybrid_e2e is 0
    ptp4l[332060.907]: config item /var/run/ptp4l.fault_badpeernet_interval is 16
    ptp4l[332060.908]: config item /var/run/ptp4l.fault_reset_interval is 4
    ptp4l[332060.908]: config item /var/run/ptp4l.tsproc_mode is 0
    ptp4l[332060.908]: config item /var/run/ptp4l.delay_filter is 1
    ptp4l[332060.908]: config item /var/run/ptp4l.delay_filter_length is 1
    ptp4l[332060.908]: config item /var/run/ptp4lro.phc_index is -1
    ptp4l[332060.908]: config item /var/run/ptp4lro.boundary_clock_jbod is 0
    ptp4l[332060.908]: config item /var/run/ptp4lro.serverOnly is 0
    ptp4l[332060.908]: config item /var/run/ptp4lro.BMCA is 0
    ptp4l[332060.908]: config item /var/run/ptp4lro.network_transport is 0
    ptp4l[332060.908]: config item /var/run/ptp4lro.delayAsymmetry is 0
    ptp4l[332060.908]: config item /var/run/ptp4lro.follow_up_info is 0
    ptp4l[332060.908]: config item /var/run/ptp4lro.freq_est_interval is 1
    ptp4l[332060.908]: config item /var/run/ptp4lro.msg_interval_request is 0
    ptp4l[332060.908]: config item /var/run/ptp4lro.net_sync_monitor is 0
    ptp4l[332060.908]: config item /var/run/ptp4lro.path_trace_enabled is 0
    ptp4l[332060.908]: config item /var/run/ptp4lro.tc_spanning_tree is 0
    ptp4l[332060.908]: config item /var/run/ptp4lro.ingressLatency is 0
    ptp4l[332060.908]: config item /var/run/ptp4lro.egressLatency is 0
    ptp4l[332060.908]: config item /var/run/ptp4lro.delay_mechanism is 0
    ptp4l[332060.908]: config item /var/run/ptp4lro.power_profile.version is 0
    ptp4l[332060.908]: config item /var/run/ptp4lro.power_profile.grandmasterID is 0
    ptp4l[332060.908]: config item /var/run/ptp4lro.power_profile.2011.grandmasterTimeInaccuracy is -1
    ptp4l[332060.908]: config item /var/run/ptp4lro.power_profile.2011.networkTimeInaccuracy is -1
    ptp4l[332060.908]: config item /var/run/ptp4lro.power_profile.2017.totalTimeInaccuracy is -1
    ptp4l[332060.908]: config item /var/run/ptp4lro.hybrid_e2e is 0
    ptp4l[332060.908]: config item /var/run/ptp4lro.fault_badpeernet_interval is 16
    ptp4l[332061.240]: config item /var/run/ptp4lro.fault_reset_interval is 4
    ptp4l[332061.240]: config item /var/run/ptp4lro.tsproc_mode is 0
    ptp4l[332061.240]: config item /var/run/ptp4lro.delay_filter is 1
    ptp4l[332061.240]: config item /var/run/ptp4lro.delay_filter_length is 1
    ptp4l[332061.241]: config item (null).slave_event_monitor is ''
    ptp4l[332061.241]: config item eth1.phc_index is -1
    ptp4l[332061.241]: config item eth1.boundary_clock_jbod is 0
    ptp4l[332061.241]: config item eth1.serverOnly is 0
    ptp4l[332061.241]: config item eth1.BMCA is 0
    ptp4l[332061.241]: config item eth1.network_transport is 3
    ptp4l[332061.241]: config item eth1.delayAsymmetry is 0
    ptp4l[332061.241]: config item eth1.follow_up_info is 0
    ptp4l[332061.241]: config item eth1.freq_est_interval is 1
    ptp4l[332061.241]: config item eth1.msg_interval_request is 0
    ptp4l[332061.241]: config item eth1.net_sync_monitor is 0
    ptp4l[332061.241]: config item eth1.path_trace_enabled is 0
    ptp4l[332061.241]: config item eth1.tc_spanning_tree is 0
    ptp4l[332061.241]: config item eth1.ingressLatency is 0
    ptp4l[332061.241]: config item eth1.egressLatency is 0
    ptp4l[332061.241]: config item eth1.delay_mechanism is 2
    ptp4l[332061.241]: config item eth1.power_profile.version is 0
    ptp4l[332061.241]: config item eth1.power_profile.grandmasterID is 0
    ptp4l[332061.241]: config item eth1.power_profile.2011.grandmasterTimeInaccuracy is -1
    ptp4l[332061.241]: config item eth1.power_profile.2011.networkTimeInaccuracy is -1
    ptp4l[332061.241]: config item eth1.power_profile.2017.totalTimeInaccuracy is -1
    ptp4l[332061.241]: config item eth1.unicast_master_table is 0
    ptp4l[332061.241]: config item eth1.unicast_listen is 0
    ptp4l[332061.241]: config item eth1.hybrid_e2e is 0
    ptp4l[332061.241]: config item eth1.fault_badpeernet_interval is 16
    ptp4l[332061.241]: config item eth1.fault_reset_interval is 4
    ptp4l[332061.241]: config item eth1.tsproc_mode is 0
    ptp4l[332061.241]: config item eth1.delay_filter is 1
    ptp4l[332061.241]: config item eth1.delay_filter_length is 10
    ptp4l[332061.241]: config item eth1.logMinDelayReqInterval is 0
    ptp4l[332061.241]: config item eth1.logAnnounceInterval is 1
    ptp4l[332061.241]: config item eth1.inhibit_announce is 0
    ptp4l[332061.241]: config item eth1.ignore_source_id is 0
    ptp4l[332061.241]: config item eth1.announceReceiptTimeout is 3
    ptp4l[332061.241]: config item eth1.syncReceiptTimeout is 0
    ptp4l[332061.241]: config item eth1.transportSpecific is 0
    ptp4l[332061.241]: config item eth1.ignore_transport_specific is 0
    ptp4l[332061.241]: config item eth1.G.8275.portDS.localPriority is 128
    ptp4l[332061.241]: config item eth1.logSyncInterval is 0
    ptp4l[332061.241]: config item eth1.operLogSyncInterval is 0
    ptp4l[332061.241]: config item eth1.logMinPdelayReqInterval is 0
    ptp4l[332061.241]: config item eth1.operLogPdelayReqInterval is 0
    ptp4l[332061.241]: config item eth1.neighborPropDelayThresh is 20000000
    ptp4l[332061.241]: config item eth1.min_neighbor_prop_delay is -20000000
    ptp4l[332061.241]: config item eth1.delay_response_timeout is 0
    ptp4l[332061.241]: config item eth1.interface_rate_tlv is 0
    ptp4l[332061.241]: config item eth1.asCapable is 1
    ptp4l[332061.241]: config item eth1.inhibit_delay_req is 0
    ptp4l[332061.241]: config item eth1.ptp_dst_mac is '01:1B:19:00:00:00'
    ptp4l[332061.241]: config item eth1.p2p_dst_mac is '01:80:C2:00:00:0E'
    ptp4l[332061.241]: config item global.socket_priority is 0
    ptp4l[332061.423]: port 1 (eth1): INITIALIZING to LISTENING on INIT_COMPLETE
    ptp4l[332061.423]: config item /var/run/ptp4l.logMinDelayReqInterval is 0
    ptp4l[332061.423]: config item /var/run/ptp4l.logAnnounceInterval is 1
    ptp4l[332061.423]: config item /var/run/ptp4l.inhibit_announce is 0
    ptp4l[332061.423]: config item /var/run/ptp4l.ignore_source_id is 0
    ptp4l[332061.423]: config item /var/run/ptp4l.announceReceiptTimeout is 0
    ptp4l[332061.423]: config item /var/run/ptp4l.syncReceiptTimeout is 0
    ptp4l[332061.424]: config item /var/run/ptp4l.transportSpecific is 0
    ptp4l[332061.424]: config item /var/run/ptp4l.ignore_transport_specific is 0
    ptp4l[332061.424]: config item /var/run/ptp4l.G.8275.portDS.localPriority is 128
    ptp4l[332061.424]: config item /var/run/ptp4l.logSyncInterval is 0
    ptp4l[332061.424]: config item /var/run/ptp4l.operLogSyncInterval is 0
    ptp4l[332061.424]: config item /var/run/ptp4l.logMinPdelayReqInterval is 0
    ptp4l[332061.424]: config item /var/run/ptp4l.operLogPdelayReqInterval is 0
    ptp4l[332061.424]: config item /var/run/ptp4l.neighborPropDelayThresh is 20000000
    ptp4l[332061.424]: config item /var/run/ptp4l.min_neighbor_prop_delay is -20000000
    ptp4l[332061.424]: config item /var/run/ptp4l.delay_response_timeout is 0
    ptp4l[332061.424]: config item /var/run/ptp4l.interface_rate_tlv is 0
    ptp4l[332061.424]: config item /var/run/ptp4l.asCapable is 1
    ptp4l[332061.424]: config item /var/run/ptp4l.inhibit_delay_req is 0
    ptp4l[332061.424]: config item (null).uds_ro_address is '/var/run/ptp4lro'
    ptp4l[332061.424]: config item (null).uds_address is '/var/run/ptp4l'
    ptp4l[332061.757]: config item /var/run/ptp4l.uds_file_mode is 432
    ptp4l[332061.757]: port 0 (/var/run/ptp4l): INITIALIZING to LISTENING on INIT_COMPLETE
    ptp4l[332061.757]: config item /var/run/ptp4lro.logMinDelayReqInterval is 0
    ptp4l[332061.757]: config item /var/run/ptp4lro.logAnnounceInterval is 1
    ptp4l[332061.757]: config item /var/run/ptp4lro.inhibit_announce is 0
    ptp4l[332061.757]: config item /var/run/ptp4lro.ignore_source_id is 0
    ptp4l[332061.757]: config item /var/run/ptp4lro.announceReceiptTimeout is 0
    ptp4l[332061.757]: config item /var/run/ptp4lro.syncReceiptTimeout is 0
    ptp4l[332061.757]: config item /var/run/ptp4lro.transportSpecific is 0
    ptp4l[332061.757]: config item /var/run/ptp4lro.ignore_transport_specific is 0
    ptp4l[332061.757]: config item /var/run/ptp4lro.G.8275.portDS.localPriority is 128
    ptp4l[332061.757]: config item /var/run/ptp4lro.logSyncInterval is 0
    ptp4l[332061.757]: config item /var/run/ptp4lro.operLogSyncInterval is 0
    ptp4l[332061.757]: config item /var/run/ptp4lro.logMinPdelayReqInterval is 0
    ptp4l[332061.757]: config item /var/run/ptp4lro.operLogPdelayReqInterval is 0
    ptp4l[332061.757]: config item /var/run/ptp4lro.neighborPropDelayThresh is 20000000
    ptp4l[332061.757]: config item /var/run/ptp4lro.min_neighbor_prop_delay is -20000000
    ptp4l[332061.757]: config item /var/run/ptp4lro.delay_response_timeout is 0
    ptp4l[332061.757]: config item /var/run/ptp4lro.interface_rate_tlv is 0
    ptp4l[332061.757]: config item /var/run/ptp4lro.asCapable is 1
    ptp4l[332061.757]: config item /var/run/ptp4lro.inhibit_delay_req is 0
    ptp4l[332061.757]: config item (null).uds_ro_address is '/var/run/ptp4lro'
    ptp4l[332061.757]: config item (null).uds_address is '/var/run/ptp4l'
    ptp4l[332061.758]: config item /var/run/ptp4lro.uds_ro_file_mode is 438
    ptp4l[332061.758]: port 0 (/var/run/ptp4lro): INITIALIZING to LISTENING on INIT_COMPLETE
    ptp4l[332061.758]: port 1 (eth1): setting asCapable
    ptp4l[332061.758]: port 1 (eth1): peer port id set to 40a6b7.fffe.9c2706-1
    ptp4l[332061.758]: port 1 (eth1): ignoring message
    ptp4l[332061.927]: port 1 (eth1): new foreign master 40a6b7.fffe.9c2706-1
    ptp4l[332062.424]: port 1 (eth1): delay timeout
    ptp4l[332062.424]: delay   filtered       1321   raw       1321
    ptp4l[332063.424]: port 1 (eth1): delay timeout
    ptp4l[332063.425]: delay   filtered       1325   raw       1330
    ptp4l[332064.424]: port 1 (eth1): delay timeout
    ptp4l[332064.425]: delay   filtered       1330   raw       1338
    ptp4l[332065.424]: port 1 (eth1): delay timeout
    ptp4l[332065.425]: delay   filtered       1325   raw       1312
    ptp4l[332065.927]: selected best master clock 40a6b7.fffe.9c2706
    ptp4l[332065.927]: port 1 (eth1): LISTENING to UNCALIBRATED on RS_SLAVE
    ptp4l[332066.425]: port 1 (eth1): delay timeout
    ptp4l[332066.425]: delay   filtered       1330   raw       1339
    ptp4l[332066.926]: master offset      -8271 s0 freq  -25630 path delay      1330
    ptp4l[332067.425]: port 1 (eth1): delay timeout
    ptp4l[332067.426]: delay   filtered       1330   raw       1330
    ptp4l[332067.926]: master offset      -8293 s2 freq  -25652 path delay      1330
    ptp4l[332067.926]: port 1 (eth1): UNCALIBRATED to SLAVE on MASTER_CLOCK_SELECTED
    ptp4l[332068.425]: port 1 (eth1): delay timeout
    ptp4l[332068.426]: delay   filtered       1330   raw       1334
    ptp4l[332068.926]: master offset      -8294 s2 freq  -33946 path delay      1330
    ptp4l[332069.425]: port 1 (eth1): delay timeout
    ptp4l[332069.426]: delay   filtered       1330   raw       1307
    ptp4l[332069.926]: master offset          1 s2 freq  -28139 path delay      1330
    ptp4l[332070.426]: port 1 (eth1): delay timeout
    ptp4l[332070.427]: delay   filtered       1330   raw       1333
    ptp4l[332070.927]: master offset       2450 s2 freq  -25690 path delay      1330
    ptp4l[332071.426]: port 1 (eth1): delay timeout
    ptp4l[332071.427]: delay   filtered       1331   raw       1343
    ptp4l[332071.927]: master offset       2491 s2 freq  -24914 path delay      1331
    ptp4l[332072.426]: port 1 (eth1): delay timeout
    ptp4l[332072.427]: delay   filtered       1331   raw       1312
    ptp4l[332072.927]: master offset       1751 s2 freq  -24907 path delay      1331
    ptp4l[332073.427]: port 1 (eth1): delay timeout
    ptp4l[332073.427]: delay   filtered       1331   raw       1322
    ptp4l[332073.927]: master offset       1009 s2 freq  -25124 path delay      1331
    ptp4l[332074.427]: port 1 (eth1): delay timeout
    ptp4l[332074.428]: delay   filtered       1330   raw       1330
    ptp4l[332074.927]: master offset        480 s2 freq  -25350 path delay      1330
    ptp4l[332075.427]: port 1 (eth1): delay timeout
    ptp4l[332075.428]: delay   filtered       1331   raw       1341
    ptp4l[332075.927]: master offset        177 s2 freq  -25509 path delay      1331
    ptp4l[332076.428]: port 1 (eth1): delay timeout
    ptp4l[332076.428]: delay   filtered       1330   raw       1308
    ptp4l[332076.927]: master offset         34 s2 freq  -25599 path delay      1330
    ptp4l[332077.428]: port 1 (eth1): delay timeout
    ptp4l[332077.429]: delay   filtered       1326   raw       1316
    ptp4l[332077.927]: master offset        -19 s2 freq  -25642 path delay      1326
    ptp4l[332078.428]: port 1 (eth1): delay timeout
    ptp4l[332078.429]: delay   filtered       1326   raw       1343
    ptp4l[332078.927]: master offset        -72 s2 freq  -25700 path delay      1326
    ptp4l[332079.428]: port 1 (eth1): delay timeout
    ptp4l[332079.429]: delay   filtered       1330   raw       1331
    ptp4l[332079.927]: master offset        -31 s2 freq  -25681 path delay      1330
    ptp4l[332080.429]: port 1 (eth1): delay timeout
    ptp4l[332080.429]: delay   filtered       1330   raw       1336
    ptp4l[332080.890]: port 1 (eth1): ignoring message
    [332080.891770] am65-cpsw-nuss 8000000.ethernet eth0: Link is Down                 <<<< eth0 was made down "ifconfig eth0 down", sync is lost here
    ptp4l[332081.429]: port 1 (eth1): delay timeout
    ptp4l[332082.429]: port 1 (eth1): delay timeout
    ptp4l[332083.430]: port 1 (eth1): delay timeout
    ptp4l[332084.430]: port 1 (eth1): delay timeout
    ptp4l[332085.430]: port 1 (eth1): delay timeout
    ptp4l[332086.431]: port 1 (eth1): delay timeout
    ptp4l[332087.431]: port 1 (eth1): delay timeout
    ptp4l[332087.438]: port 1 (eth1): announce timeout
    ptp4l[332087.438]: port 1 (eth1): SLAVE to LISTENING on ANNOUNCE_RECEIPT_TIMEOUT_EXPIRES
    ptp4l[332087.438]: selected local clock 543b30.fffe.0118ef as best master
    ptp4l[332088.438]: port 1 (eth1): delay timeout
    ptp4l[332089.438]: port 1 (eth1): delay timeout
    ptp4l[332090.439]: port 1 (eth1): delay timeout
    ptp4l[332091.439]: port 1 (eth1): delay timeout
    ptp4l[332092.440]: port 1 (eth1): delay timeout
    ptp4l[332093.440]: port 1 (eth1): delay timeout
    ptp4l[332094.440]: port 1 (eth1): delay timeout
    ptp4l[332094.784]: port 1 (eth1): announce timeout
    ptp4l[332095.440]: port 1 (eth1): delay timeout
    ptp4l[332096.441]: port 1 (eth1): delay timeout
    ptp4l[332097.441]: port 1 (eth1): delay timeout
    ptp4l[332098.441]: port 1 (eth1): delay timeout
    ptp4l[332099.442]: port 1 (eth1): delay timeout
    ptp4l[332099.442]: delay   filtered       1330   raw       1344             <<<< eth1 was made up (again) "ifconfig eth1 up", PTP MC packets are recived again
    ptp4l[332100.442]: port 1 (eth1): delay timeout
    ptp4l[332100.443]: delay   filtered       1330   raw       1323
    ptp4l[332100.802]: port 1 (eth1): announce timeout
    ptp4l[332101.442]: port 1 (eth1): delay timeout
    ptp4l[332101.443]: delay   filtered       1330   raw       1326
    ptp4l[332101.928]: selected best master clock 40a6b7.fffe.9c2706
    ptp4l[332101.928]: port 1 (eth1): LISTENING to UNCALIBRATED on RS_SLAVE
    ptp4l[332102.443]: port 1 (eth1): delay timeout
    ptp4l[332102.443]: delay   filtered       1332   raw       1333
    ptp4l[332102.929]: master offset       1020 s2 freq  -24639 path delay      1332
    ptp4l[332102.929]: port 1 (eth1): UNCALIBRATED to SLAVE on MASTER_CLOCK_SELECTED
    ptp4l[332103.443]: port 1 (eth1): delay timeout
    ptp4l[332103.444]: delay   filtered       1328   raw       1318
    ptp4l[332103.929]: master offset         49 s2 freq  -25304 path delay      1328
    ptp4l[332104.443]: port 1 (eth1): delay timeout
    ptp4l[332104.444]: delay   filtered       1328   raw       1312
    ptp4l[332104.930]: master offset       -205 s2 freq  -25543 path delay      1328
    ptp4l[332105.444]: port 1 (eth1): delay timeout
    ptp4l[332105.444]: delay   filtered       1328   raw       1324
    ptp4l[332105.930]: master offset       -229 s2 freq  -25629 path delay      1328
    ptp4l[332106.444]: port 1 (eth1): delay timeout
    ptp4l[332106.445]: delay   filtered       1325   raw       1319
    ptp4l[332106.930]: master offset       -156 s2 freq  -25625 path delay      1325
    ptp4l[332107.444]: port 1 (eth1): delay timeout
    ptp4l[332107.445]: delay   filtered       1325   raw       1335
    ptp4l[332107.930]: master offset        -85 s2 freq  -25600 path delay      1325
    ptp4l[332108.444]: port 1 (eth1): delay timeout
    ptp4l[332108.445]: delay   filtered       1323   raw       1314
    ptp4l[332108.930]: master offset        -34 s2 freq  -25575 path delay      1323
    ptp4l[332109.445]: port 1 (eth1): delay timeout
    

    Let me know if you need any other information.

    Regards,

    Dipal

  • Hi Dipal,

    Thanks for providing these additional details.

    all logs in this thread are based on topo 2.

    Are you trying to test some sort of Ethernet redundancy scheme with topology 2 while running PTP? 

    What happens if you had kept eth0 disconnected before running the ptp4l synchronization? 

    DUT :      ptp4l -2 -P -H -i eth1   -m -q -l 7 -s

    PC  : sudo ptp4l -2 -P -H -i enp8s0 -m -q -l 7

    With these ptp4l options, if eth1 was disconnected instead of eth0, do you see similar log outputs? If possible, can you show the log for this case as well? I'm assuming instead of  "port1 (eth1): delay timeout" something like "port0 (eth0): delay timeout" would show up?

    Have you tried using "ptp4l -2 -P -H -i eth0 -i eth1 -m -q -l 7 -s" for DUT and "sudo ptp4l -2 -P -H  -i enp6s0 -i enp8s0 -m -q -l 7" for PC?

    -Daolin

  • Hi Daolin,

    We are not trying to us any redundancy, enp6s0 - ETH0 has no part in PTP, I just made this topo so that it is easy to test. However, we have observed same behavior in Topo 1 as well even through eth0 and eth1 are connected to completely different devices. 

    If eth1 is disconnected, the PTP never recovers (there are no messages related to eth0), please find below the logs for both grand master and follower (DUT) for this scenario, check "<<<<" for annotations.

    PC (PTP Grand master)

    ❯ sudo ptp4l -2 -P -H -i enp8s0 -m -q -l 7
    ptp4l[1724361.355]: config item (null).assume_two_step is 0
    ptp4l[1724361.355]: config item (null).check_fup_sync is 0
    ptp4l[1724361.355]: config item (null).tx_timestamp_timeout is 1
    ptp4l[1724361.355]: config item (null).hwts_filter is 0
    ptp4l[1724361.355]: config item (null).clock_servo is 0
    ptp4l[1724361.355]: config item (null).clock_type is 32768
    ptp4l[1724361.355]: config item (null).clock_servo is 0
    ptp4l[1724361.355]: config item (null).clockClass is 248
    ptp4l[1724361.355]: config item (null).clockAccuracy is 254
    ptp4l[1724361.355]: config item (null).offsetScaledLogVariance is 65535
    ptp4l[1724361.355]: config item (null).productDescription is ';;'
    ptp4l[1724361.355]: config item (null).revisionData is ';;'
    ptp4l[1724361.355]: config item (null).userDescription is ''
    ptp4l[1724361.355]: config item (null).manufacturerIdentity is '00:00:00'
    ptp4l[1724361.355]: config item (null).domainNumber is 0
    ptp4l[1724361.355]: config item (null).slaveOnly is 0
    ptp4l[1724361.355]: config item (null).gmCapable is 1
    ptp4l[1724361.355]: config item (null).gmCapable is 1
    ptp4l[1724361.355]: config item (null).G.8275.defaultDS.localPriority is 128
    ptp4l[1724361.355]: config item (null).maxStepsRemoved is 255
    ptp4l[1724361.355]: config item (null).time_stamping is 1
    ptp4l[1724361.355]: config item (null).twoStepFlag is 1
    ptp4l[1724361.355]: config item (null).twoStepFlag is 1
    ptp4l[1724361.355]: config item (null).time_stamping is 1
    ptp4l[1724361.355]: config item (null).priority1 is 128
    ptp4l[1724361.355]: config item (null).priority2 is 128
    ptp4l[1724361.355]: interface index 3 is up
    ptp4l[1724361.355]: config item (null).free_running is 0
    ptp4l[1724361.355]: selected /dev/ptp0 as PTP clock
    ptp4l[1724361.355]: config item (null).clockIdentity is '000000.0000.000000'
    ptp4l[1724361.355]: config item (null).uds_address is '/var/run/ptp4l'
    ptp4l[1724361.355]: section item /var/run/ptp4l.announceReceiptTimeout now 0
    ptp4l[1724361.355]: section item /var/run/ptp4l.delay_mechanism now 0
    ptp4l[1724361.355]: section item /var/run/ptp4l.network_transport now 0
    ptp4l[1724361.355]: section item /var/run/ptp4l.delay_filter_length now 1
    ptp4l[1724361.355]: config item (null).free_running is 0
    ptp4l[1724361.355]: config item (null).freq_est_interval is 1
    ptp4l[1724361.355]: config item (null).write_phase_mode is 0
    ptp4l[1724361.355]: config item (null).gmCapable is 1
    ptp4l[1724361.355]: config item (null).kernel_leap is 1
    ptp4l[1724361.355]: config item (null).utc_offset is 37
    ptp4l[1724361.355]: config item (null).timeSource is 160
    ptp4l[1724361.355]: config item (null).pi_proportional_const is 0.000000
    ptp4l[1724361.355]: config item (null).pi_integral_const is 0.000000
    ptp4l[1724361.355]: config item (null).pi_proportional_scale is 0.000000
    ptp4l[1724361.355]: config item (null).pi_proportional_exponent is -0.300000
    ptp4l[1724361.355]: config item (null).pi_proportional_norm_max is 0.700000
    ptp4l[1724361.355]: config item (null).pi_integral_scale is 0.000000
    ptp4l[1724361.355]: config item (null).pi_integral_exponent is 0.400000
    ptp4l[1724361.355]: config item (null).pi_integral_norm_max is 0.300000
    ptp4l[1724361.355]: config item (null).step_threshold is 0.000000
    ptp4l[1724361.355]: config item (null).first_step_threshold is 0.000020
    ptp4l[1724361.355]: config item (null).max_frequency is 900000000
    ptp4l[1724361.355]: config item (null).servo_offset_threshold is 0
    ptp4l[1724361.355]: config item (null).servo_num_offset_values is 10
    ptp4l[1724361.355]: config item (null).dataset_comparison is 0
    ptp4l[1724361.355]: config item (null).delay_filter_length is 10
    ptp4l[1724361.355]: config item (null).delay_filter is 1
    ptp4l[1724361.355]: config item (null).tsproc_mode is 0
    ptp4l[1724361.355]: config item (null).initial_delay is 0
    ptp4l[1724361.355]: config item (null).summary_interval is 0
    ptp4l[1724361.355]: config item (null).sanity_freq_limit is 200000000
    ptp4l[1724361.355]: PI servo: sync interval 1.000 kp 0.700 ki 0.300000
    ptp4l[1724361.355]: config item /var/run/ptp4l.boundary_clock_jbod is 0
    ptp4l[1724361.355]: config item /var/run/ptp4l.network_transport is 0
    ptp4l[1724361.355]: config item /var/run/ptp4l.masterOnly is 0
    ptp4l[1724361.355]: config item /var/run/ptp4l.BMCA is 0
    ptp4l[1724361.355]: config item /var/run/ptp4l.delayAsymmetry is 0
    ptp4l[1724361.355]: config item /var/run/ptp4l.follow_up_info is 0
    ptp4l[1724361.355]: config item /var/run/ptp4l.freq_est_interval is 1
    ptp4l[1724361.355]: config item /var/run/ptp4l.msg_interval_request is 0
    ptp4l[1724361.355]: config item /var/run/ptp4l.net_sync_monitor is 0
    ptp4l[1724361.355]: config item /var/run/ptp4l.path_trace_enabled is 0
    ptp4l[1724361.355]: config item /var/run/ptp4l.tc_spanning_tree is 0
    ptp4l[1724361.355]: config item /var/run/ptp4l.ingressLatency is 0
    ptp4l[1724361.355]: config item /var/run/ptp4l.egressLatency is 0
    ptp4l[1724361.355]: config item /var/run/ptp4l.delay_mechanism is 0
    ptp4l[1724361.355]: config item /var/run/ptp4l.hybrid_e2e is 0
    ptp4l[1724361.355]: config item /var/run/ptp4l.fault_badpeernet_interval is 16
    ptp4l[1724361.355]: config item /var/run/ptp4l.fault_reset_interval is 4
    ptp4l[1724361.355]: config item /var/run/ptp4l.delay_filter_length is 1
    ptp4l[1724361.355]: config item /var/run/ptp4l.delay_filter is 1
    ptp4l[1724361.355]: config item /var/run/ptp4l.tsproc_mode is 0
    ptp4l[1724361.355]: config item (null).slave_event_monitor is ''
    ptp4l[1724361.355]: config item enp8s0.boundary_clock_jbod is 0
    ptp4l[1724361.355]: config item enp8s0.network_transport is 3
    ptp4l[1724361.355]: config item enp8s0.masterOnly is 0
    ptp4l[1724361.355]: config item enp8s0.BMCA is 0
    ptp4l[1724361.355]: config item enp8s0.delayAsymmetry is 0
    ptp4l[1724361.355]: config item enp8s0.follow_up_info is 0
    ptp4l[1724361.355]: config item enp8s0.freq_est_interval is 1
    ptp4l[1724361.355]: config item enp8s0.msg_interval_request is 0
    ptp4l[1724361.355]: config item enp8s0.net_sync_monitor is 0
    ptp4l[1724361.355]: config item enp8s0.path_trace_enabled is 0
    ptp4l[1724361.355]: config item enp8s0.tc_spanning_tree is 0
    ptp4l[1724361.355]: config item enp8s0.ingressLatency is 0
    ptp4l[1724361.355]: config item enp8s0.egressLatency is 0
    ptp4l[1724361.355]: config item enp8s0.delay_mechanism is 2
    ptp4l[1724361.355]: config item enp8s0.unicast_master_table is 0
    ptp4l[1724361.355]: config item enp8s0.unicast_listen is 0
    ptp4l[1724361.355]: config item enp8s0.hybrid_e2e is 0
    ptp4l[1724361.355]: config item enp8s0.fault_badpeernet_interval is 16
    ptp4l[1724361.355]: config item enp8s0.fault_reset_interval is 4
    ptp4l[1724361.355]: config item enp8s0.delay_filter_length is 10
    ptp4l[1724361.355]: config item enp8s0.delay_filter is 1
    ptp4l[1724361.355]: config item enp8s0.tsproc_mode is 0
    ptp4l[1724361.355]: config item enp8s0.logMinDelayReqInterval is 0
    ptp4l[1724361.355]: config item enp8s0.logAnnounceInterval is 1
    ptp4l[1724361.355]: config item enp8s0.inhibit_announce is 0
    ptp4l[1724361.355]: config item enp8s0.ignore_source_id is 0
    ptp4l[1724361.355]: config item enp8s0.announceReceiptTimeout is 3
    ptp4l[1724361.355]: config item enp8s0.syncReceiptTimeout is 0
    ptp4l[1724361.356]: config item enp8s0.transportSpecific is 0
    ptp4l[1724361.356]: config item enp8s0.ignore_transport_specific is 0
    ptp4l[1724361.356]: config item enp8s0.G.8275.portDS.localPriority is 128
    ptp4l[1724361.356]: config item enp8s0.logSyncInterval is 0
    ptp4l[1724361.356]: config item enp8s0.operLogSyncInterval is 0
    ptp4l[1724361.356]: config item enp8s0.logMinPdelayReqInterval is 0
    ptp4l[1724361.356]: config item enp8s0.operLogPdelayReqInterval is 0
    ptp4l[1724361.356]: config item enp8s0.neighborPropDelayThresh is 20000000
    ptp4l[1724361.356]: config item enp8s0.min_neighbor_prop_delay is -20000000
    ptp4l[1724361.356]: config item enp8s0.asCapable is 1
    ptp4l[1724361.356]: config item enp8s0.inhibit_delay_req is 0
    ptp4l[1724361.356]: config item enp8s0.ptp_dst_mac is '01:1B:19:00:00:00'
    ptp4l[1724361.356]: config item enp8s0.p2p_dst_mac is '01:80:C2:00:00:0E'
    ptp4l[1724361.356]: config item global.socket_priority is 0
    ptp4l[1724361.373]: port 1: INITIALIZING to LISTENING on INIT_COMPLETE
    ptp4l[1724361.373]: config item /var/run/ptp4l.logMinDelayReqInterval is 0
    ptp4l[1724361.373]: config item /var/run/ptp4l.logAnnounceInterval is 1
    ptp4l[1724361.373]: config item /var/run/ptp4l.inhibit_announce is 0
    ptp4l[1724361.373]: config item /var/run/ptp4l.ignore_source_id is 0
    ptp4l[1724361.373]: config item /var/run/ptp4l.announceReceiptTimeout is 0
    ptp4l[1724361.373]: config item /var/run/ptp4l.syncReceiptTimeout is 0
    ptp4l[1724361.373]: config item /var/run/ptp4l.transportSpecific is 0
    ptp4l[1724361.373]: config item /var/run/ptp4l.ignore_transport_specific is 0
    ptp4l[1724361.373]: config item /var/run/ptp4l.G.8275.portDS.localPriority is 128
    ptp4l[1724361.373]: config item /var/run/ptp4l.logSyncInterval is 0
    ptp4l[1724361.373]: config item /var/run/ptp4l.operLogSyncInterval is 0
    ptp4l[1724361.373]: config item /var/run/ptp4l.logMinPdelayReqInterval is 0
    ptp4l[1724361.373]: config item /var/run/ptp4l.operLogPdelayReqInterval is 0
    ptp4l[1724361.373]: config item /var/run/ptp4l.neighborPropDelayThresh is 20000000
    ptp4l[1724361.373]: config item /var/run/ptp4l.min_neighbor_prop_delay is -20000000
    ptp4l[1724361.373]: config item /var/run/ptp4l.asCapable is 1
    ptp4l[1724361.373]: config item /var/run/ptp4l.inhibit_delay_req is 0
    ptp4l[1724361.373]: config item (null).uds_address is '/var/run/ptp4l'
    ptp4l[1724361.373]: port 0: INITIALIZING to LISTENING on INIT_COMPLETE
    ptp4l[1724361.373]: port 1: received link status notification
    ptp4l[1724361.373]: interface index 3 is up
    ptp4l[1724362.373]: port 1: delay timeout
    ptp4l[1724363.373]: port 1: delay timeout
    ptp4l[1724363.373]: port 1: setting asCapable
    ptp4l[1724364.373]: port 1: delay timeout
    ptp4l[1724365.373]: port 1: delay timeout
    ptp4l[1724366.373]: port 1: delay timeout
    ptp4l[1724367.374]: port 1: delay timeout
    ptp4l[1724368.374]: port 1: delay timeout
    ptp4l[1724368.988]: port 1: announce timeout
    ptp4l[1724368.988]: port 1: LISTENING to MASTER on ANNOUNCE_RECEIPT_TIMEOUT_EXPIRES
    ptp4l[1724368.988]: selected local clock 40a6b7.fffe.9c2706 as best master
    ptp4l[1724368.988]: port 1: assuming the grand master role
    ptp4l[1724368.989]: port 1: master tx announce timeout
    ptp4l[1724369.374]: port 1: delay timeout
    ptp4l[1724369.988]: port 1: master sync timeout
    ptp4l[1724370.374]: port 1: delay timeout
    ptp4l[1724370.989]: port 1: master sync timeout
    ptp4l[1724370.990]: port 1: master tx announce timeout
    ptp4l[1724371.374]: port 1: delay timeout
    ptp4l[1724371.989]: port 1: master sync timeout
    ptp4l[1724372.374]: port 1: delay timeout
    ptp4l[1724372.989]: port 1: master sync timeout
    ptp4l[1724372.990]: port 1: master tx announce timeout
    ptp4l[1724373.374]: port 1: delay timeout
    ptp4l[1724373.989]: port 1: master sync timeout
    ptp4l[1724374.374]: port 1: delay timeout
    ptp4l[1724374.989]: port 1: master sync timeout
    ptp4l[1724374.990]: port 1: master tx announce timeout
    ptp4l[1724375.375]: port 1: delay timeout
    ptp4l[1724375.989]: port 1: master sync timeout
    ptp4l[1724376.375]: port 1: delay timeout
    ptp4l[1724376.989]: port 1: master sync timeout
    ptp4l[1724376.990]: port 1: master tx announce timeout
    ptp4l[1724377.375]: port 1: delay timeout
    ptp4l[1724377.989]: port 1: master sync timeout
    ptp4l[1724378.375]: port 1: delay timeout
    ptp4l[1724378.990]: port 1: master sync timeout
    ptp4l[1724378.990]: port 1: master tx announce timeout
    ptp4l[1724379.375]: port 1: delay timeout
    ptp4l[1724379.376]: port 1: peer port id set to 543b30.fffe.0118ef-1
    ptp4l[1724379.376]: delay   filtered       1283   raw       1283
    ptp4l[1724379.990]: port 1: master sync timeout
    ptp4l[1724380.375]: port 1: delay timeout
    ptp4l[1724380.376]: delay   filtered       1286   raw       1290
    ptp4l[1724380.990]: port 1: master sync timeout
    ptp4l[1724380.990]: port 1: master tx announce timeout
    ptp4l[1724381.375]: port 1: delay timeout
    ptp4l[1724381.376]: delay   filtered       1283   raw       1279
    ptp4l[1724381.990]: port 1: master sync timeout
    ptp4l[1724382.375]: port 1: delay timeout
    ptp4l[1724382.376]: delay   filtered       1286   raw       1308
    ptp4l[1724382.990]: port 1: master tx announce timeout
    ptp4l[1724382.990]: port 1: master sync timeout
    ptp4l[1724383.375]: port 1: delay timeout
    ptp4l[1724383.376]: delay   filtered       1290   raw       1290
    ptp4l[1724383.990]: port 1: master sync timeout
    ptp4l[1724384.376]: port 1: delay timeout
    ptp4l[1724384.376]: delay   filtered       1286   raw       1277
    ptp4l[1724384.990]: port 1: master tx announce timeout
    ptp4l[1724384.990]: port 1: master sync timeout
    ptp4l[1724385.376]: port 1: delay timeout
    ptp4l[1724385.377]: delay   filtered       1283   raw       1282
    ptp4l[1724385.990]: port 1: master sync timeout
    ptp4l[1724386.376]: port 1: delay timeout
    ptp4l[1724386.377]: delay   filtered       1286   raw       1306
    ptp4l[1724386.990]: port 1: master tx announce timeout
    ptp4l[1724386.990]: port 1: master sync timeout
    ptp4l[1724387.376]: port 1: delay timeout
    ptp4l[1724387.377]: delay   filtered       1287   raw       1287
    ptp4l[1724387.991]: port 1: master sync timeout
    ptp4l[1724388.376]: port 1: delay timeout
    ptp4l[1724388.377]: delay   filtered       1288   raw       1291
    ptp4l[1724388.990]: port 1: master tx announce timeout
    ptp4l[1724388.991]: port 1: master sync timeout
    ptp4l[1724389.376]: port 1: delay timeout
    ptp4l[1724389.377]: delay   filtered       1290   raw       1293
    ptp4l[1724389.991]: port 1: master sync timeout
    ptp4l[1724390.376]: port 1: delay timeout
    ptp4l[1724390.377]: delay   filtered       1290   raw       1293
    ptp4l[1724390.991]: port 1: master tx announce timeout
    ptp4l[1724390.991]: port 1: master sync timeout
    ptp4l[1724391.377]: port 1: delay timeout
    ptp4l[1724391.377]: delay   filtered       1291   raw       1292
    ptp4l[1724391.991]: port 1: master sync timeout
    ptp4l[1724392.219]: port 1: received link status notification
    ptp4l[1724392.219]: interface index 3 is down                                                 <<<< eth1 made down here.
    ptp4l[1724392.219]: port 1: link down
    ptp4l[1724392.219]: port 1: MASTER to FAULTY on FAULT_DETECTED (FT_UNSPECIFIED)
    ptp4l[1724392.220]: waiting 2^{4} seconds to clear fault on port 1
    ptp4l[1724392.220]: selected local clock 40a6b7.fffe.9c2706 as best master
    ptp4l[1724392.220]: port 1: assuming the grand master role
    ptp4l[1724408.221]: clearing fault on port 1
    ptp4l[1724420.532]: port 1: received link status notification                                  <<<< eth1 made up here
    ptp4l[1724420.532]: interface index 3 is up
    ptp4l[1724420.532]: port 1: link up
    ptp4l[1724420.532]: config item enp8s0.logMinDelayReqInterval is 0
    ptp4l[1724420.532]: config item enp8s0.logAnnounceInterval is 1
    ptp4l[1724420.532]: config item enp8s0.inhibit_announce is 0
    ptp4l[1724420.532]: config item enp8s0.ignore_source_id is 0
    ptp4l[1724420.532]: config item enp8s0.announceReceiptTimeout is 3
    ptp4l[1724420.532]: config item enp8s0.syncReceiptTimeout is 0
    ptp4l[1724420.532]: config item enp8s0.transportSpecific is 0
    ptp4l[1724420.532]: config item enp8s0.ignore_transport_specific is 0
    ptp4l[1724420.532]: config item enp8s0.G.8275.portDS.localPriority is 128
    ptp4l[1724420.532]: config item enp8s0.logSyncInterval is 0
    ptp4l[1724420.532]: config item enp8s0.operLogSyncInterval is 0
    ptp4l[1724420.532]: config item enp8s0.logMinPdelayReqInterval is 0
    ptp4l[1724420.532]: config item enp8s0.operLogPdelayReqInterval is 0
    ptp4l[1724420.532]: config item enp8s0.neighborPropDelayThresh is 20000000
    ptp4l[1724420.532]: config item enp8s0.min_neighbor_prop_delay is -20000000
    ptp4l[1724420.532]: config item enp8s0.asCapable is 1
    ptp4l[1724420.532]: config item enp8s0.inhibit_delay_req is 0
    ptp4l[1724420.532]: config item enp8s0.ptp_dst_mac is '01:1B:19:00:00:00'
    ptp4l[1724420.532]: config item enp8s0.p2p_dst_mac is '01:80:C2:00:00:0E'
    ptp4l[1724420.532]: config item global.socket_priority is 0
    ptp4l[1724420.550]: port 1: FAULTY to LISTENING on INIT_COMPLETE
    ptp4l[1724420.550]: port 1: received link status notification
    ptp4l[1724420.550]: interface index 3 is up
    ptp4l[1724421.550]: port 1: delay timeout
    ptp4l[1724422.550]: port 1: delay timeout
    ptp4l[1724422.550]: port 1: setting asCapable
    ptp4l[1724423.550]: port 1: delay timeout
    ptp4l[1724424.550]: port 1: delay timeout
    ptp4l[1724425.550]: port 1: delay timeout
    ptp4l[1724426.550]: port 1: delay timeout
    ptp4l[1724427.298]: port 1: announce timeout
    ptp4l[1724427.298]: port 1: LISTENING to MASTER on ANNOUNCE_RECEIPT_TIMEOUT_EXPIRES
    ptp4l[1724427.298]: selected local clock 40a6b7.fffe.9c2706 as best master
    ptp4l[1724427.298]: port 1: assuming the grand master role
    ptp4l[1724427.299]: port 1: master tx announce timeout
    ptp4l[1724427.551]: port 1: delay timeout
    ptp4l[1724428.298]: port 1: master sync timeout
    ptp4l[1724428.551]: port 1: delay timeout
    ptp4l[1724429.298]: port 1: master sync timeout
    ptp4l[1724429.299]: port 1: master tx announce timeout
    ptp4l[1724429.551]: port 1: delay timeout
    ptp4l[1724430.298]: port 1: master sync timeout
    ptp4l[1724430.551]: port 1: delay timeout
    ptp4l[1724431.299]: port 1: master sync timeout
    ptp4l[1724431.299]: port 1: master tx announce timeout
    ptp4l[1724431.551]: port 1: delay timeout
    ptp4l[1724432.299]: port 1: master sync timeout
    ptp4l[1724432.551]: port 1: delay timeout
    ptp4l[1724433.299]: port 1: master sync timeout
    ptp4l[1724433.300]: port 1: master tx announce timeout
    ptp4l[1724433.551]: port 1: delay timeout
    ptp4l[1724434.299]: port 1: master sync timeout
    ptp4l[1724434.551]: port 1: delay timeout                                    <<< this continues indefinetly, PTP sync is not established.
    

    DUT (PTP Follower)

    root@ptp_test:/home/root#  ptp4l -2 -P -H -i eth1   -m -q -l 7 -s
    ptp4l[417657.790]: config item (null).assume_two_step is 0
    ptp4l[417657.790]: config item (null).check_fup_sync is 0
    ptp4l[417657.790]: config item (null).tx_timestamp_timeout is 10
    ptp4l[417657.790]: config item (null).hwts_filter is 0
    ptp4l[417657.790]: config item (null).clock_servo is 0
    ptp4l[417657.790]: config item (null).clock_type is 32768
    ptp4l[417657.790]: config item (null).clock_servo is 0
    ptp4l[417657.790]: config item (null).clockClass is 248
    ptp4l[417657.790]: config item (null).clockAccuracy is 254
    ptp4l[417657.790]: config item (null).offsetScaledLogVariance is 65535
    ptp4l[417657.790]: config item (null).productDescription is ';;'
    ptp4l[417657.790]: config item (null).revisionData is ';;'
    ptp4l[417657.790]: config item (null).userDescription is ''
    ptp4l[417657.790]: config item (null).manufacturerIdentity is '00:00:00'
    ptp4l[417657.790]: config item (null).domainNumber is 0
    ptp4l[417657.790]: config item (null).clientOnly is 1
    ptp4l[417657.790]: config item (null).gmCapable is 1
    ptp4l[417657.790]: config item (null).gmCapable is 1
    ptp4l[417657.790]: config item (null).G.8275.defaultDS.localPriority is 128
    ptp4l[417657.790]: config item (null).maxStepsRemoved is 255
    ptp4l[417657.790]: config item (null).clock_class_threshold is 248
    ptp4l[417657.790]: config item (null).time_stamping is 1
    ptp4l[417657.790]: config item (null).twoStepFlag is 1
    ptp4l[417657.790]: config item (null).twoStepFlag is 1
    ptp4l[417657.790]: config item (null).time_stamping is 1
    ptp4l[417657.790]: config item (null).priority1 is 128
    ptp4l[417657.790]: config item (null).priority2 is 128
    ptp4l[417657.791]: interface index 3 is up
    ptp4l[417657.791]: config item eth1.phc_index is -1
    ptp4l[417657.791]: config item (null).free_running is 0
    ptp4l[417657.791]: selected /dev/ptp0 as PTP clock
    ptp4l[417657.791]: config item (null).clockIdentity is '000000.0000.000000'
    ptp4l[417657.791]: config item (null).uds_address is '/var/run/ptp4l'
    ptp4l[417657.791]: section item /var/run/ptp4l.announceReceiptTimeout now 0
    ptp4l[417657.791]: section item /var/run/ptp4l.delay_mechanism now 0
    ptp4l[417657.791]: section item /var/run/ptp4l.network_transport now 0
    ptp4l[417657.791]: section item /var/run/ptp4l.delay_filter_length now 1
    ptp4l[417657.791]: config item (null).uds_ro_address is '/var/run/ptp4lro'
    ptp4l[417657.791]: section item /var/run/ptp4lro.announceReceiptTimeout now 0
    ptp4l[417657.791]: section item /var/run/ptp4lro.delay_mechanism now 0
    ptp4l[417657.791]: section item /var/run/ptp4lro.network_transport now 0
    ptp4l[417657.791]: section item /var/run/ptp4lro.delay_filter_length now 1
    ptp4l[417657.791]: config item (null).free_running is 0
    ptp4l[417657.791]: config item (null).freq_est_interval is 1
    ptp4l[417657.791]: config item (null).write_phase_mode is 0
    ptp4l[417657.791]: config item (null).gmCapable is 1
    ptp4l[417657.791]: config item (null).kernel_leap is 1
    ptp4l[417657.791]: config item (null).utc_offset is 37
    ptp4l[417657.791]: config item (null).timeSource is 160
    ptp4l[417657.791]: config item (null).step_window is 0
    ptp4l[417657.791]: config item (null).pi_proportional_const is 0.000000
    ptp4l[417657.791]: config item (null).pi_integral_const is 0.000000
    ptp4l[417657.792]: config item (null).pi_proportional_scale is 0.000000
    ptp4l[417657.792]: config item (null).pi_proportional_exponent is -0.300000
    ptp4l[417657.792]: config item (null).pi_proportional_norm_max is 0.700000
    ptp4l[417657.792]: config item (null).pi_integral_scale is 0.000000
    ptp4l[417657.792]: config item (null).pi_integral_exponent is 0.400000
    ptp4l[417657.792]: config item (null).pi_integral_norm_max is 0.300000
    ptp4l[417657.792]: config item (null).step_threshold is 0.000000
    ptp4l[417657.792]: config item (null).first_step_threshold is 0.000020
    ptp4l[417657.792]: config item (null).max_frequency is 900000000
    ptp4l[417657.792]: config item (null).servo_offset_threshold is 0
    ptp4l[417657.792]: config item (null).servo_num_offset_values is 10
    ptp4l[417657.792]: config item (null).dataset_comparison is 0
    ptp4l[417657.792]: config item (null).tsproc_mode is 0
    ptp4l[417657.792]: config item (null).delay_filter is 1
    ptp4l[417658.124]: config item (null).delay_filter_length is 10
    ptp4l[417658.124]: config item (null).initial_delay is 0
    ptp4l[417658.124]: config item (null).summary_interval is 0
    ptp4l[417658.124]: config item (null).sanity_freq_limit is 200000000
    ptp4l[417658.124]: PI servo: sync interval 1.000 kp 0.700 ki 0.300000
    ptp4l[417658.124]: config item /var/run/ptp4l.phc_index is -1
    ptp4l[417658.124]: config item /var/run/ptp4l.boundary_clock_jbod is 0
    ptp4l[417658.124]: config item /var/run/ptp4l.serverOnly is 0
    ptp4l[417658.124]: config item /var/run/ptp4l.BMCA is 0
    ptp4l[417658.124]: config item /var/run/ptp4l.network_transport is 0
    ptp4l[417658.124]: config item /var/run/ptp4l.delayAsymmetry is 0
    ptp4l[417658.124]: config item /var/run/ptp4l.follow_up_info is 0
    ptp4l[417658.124]: config item /var/run/ptp4l.freq_est_interval is 1
    ptp4l[417658.124]: config item /var/run/ptp4l.msg_interval_request is 0
    ptp4l[417658.124]: config item /var/run/ptp4l.net_sync_monitor is 0
    ptp4l[417658.124]: config item /var/run/ptp4l.path_trace_enabled is 0
    ptp4l[417658.124]: config item /var/run/ptp4l.tc_spanning_tree is 0
    ptp4l[417658.124]: config item /var/run/ptp4l.ingressLatency is 0
    ptp4l[417658.124]: config item /var/run/ptp4l.egressLatency is 0
    ptp4l[417658.124]: config item /var/run/ptp4l.delay_mechanism is 0
    ptp4l[417658.124]: config item /var/run/ptp4l.power_profile.version is 0
    ptp4l[417658.124]: config item /var/run/ptp4l.power_profile.grandmasterID is 0
    ptp4l[417658.124]: config item /var/run/ptp4l.power_profile.2011.grandmasterTimeInaccuracy is -1
    ptp4l[417658.124]: config item /var/run/ptp4l.power_profile.2011.networkTimeInaccuracy is -1
    ptp4l[417658.124]: config item /var/run/ptp4l.power_profile.2017.totalTimeInaccuracy is -1
    ptp4l[417658.124]: config item /var/run/ptp4l.hybrid_e2e is 0
    ptp4l[417658.124]: config item /var/run/ptp4l.fault_badpeernet_interval is 16
    ptp4l[417658.124]: config item /var/run/ptp4l.fault_reset_interval is 4
    ptp4l[417658.124]: config item /var/run/ptp4l.tsproc_mode is 0
    ptp4l[417658.124]: config item /var/run/ptp4l.delay_filter is 1
    ptp4l[417658.124]: config item /var/run/ptp4l.delay_filter_length is 1
    ptp4l[417658.124]: config item /var/run/ptp4lro.phc_index is -1
    ptp4l[417658.124]: config item /var/run/ptp4lro.boundary_clock_jbod is 0
    ptp4l[417658.124]: config item /var/run/ptp4lro.serverOnly is 0
    ptp4l[417658.124]: config item /var/run/ptp4lro.BMCA is 0
    ptp4l[417658.124]: config item /var/run/ptp4lro.network_transport is 0
    ptp4l[417658.124]: config item /var/run/ptp4lro.delayAsymmetry is 0
    ptp4l[417658.124]: config item /var/run/ptp4lro.follow_up_info is 0
    ptp4l[417658.124]: config item /var/run/ptp4lro.freq_est_interval is 1
    ptp4l[417658.124]: config item /var/run/ptp4lro.msg_interval_request is 0
    ptp4l[417658.124]: config item /var/run/ptp4lro.net_sync_monitor is 0
    ptp4l[417658.125]: config item /var/run/ptp4lro.path_trace_enabled is 0
    ptp4l[417658.125]: config item /var/run/ptp4lro.tc_spanning_tree is 0
    ptp4l[417658.125]: config item /var/run/ptp4lro.ingressLatency is 0
    ptp4l[417658.125]: config item /var/run/ptp4lro.egressLatency is 0
    ptp4l[417658.125]: config item /var/run/ptp4lro.delay_mechanism is 0
    ptp4l[417658.125]: config item /var/run/ptp4lro.power_profile.version is 0
    ptp4l[417658.125]: config item /var/run/ptp4lro.power_profile.grandmasterID is 0
    ptp4l[417658.125]: config item /var/run/ptp4lro.power_profile.2011.grandmasterTimeInaccuracy is -1
    ptp4l[417658.125]: config item /var/run/ptp4lro.power_profile.2011.networkTimeInaccuracy is -1
    ptp4l[417658.125]: config item /var/run/ptp4lro.power_profile.2017.totalTimeInaccuracy is -1
    ptp4l[417658.125]: config item /var/run/ptp4lro.hybrid_e2e is 0
    ptp4l[417658.125]: config item /var/run/ptp4lro.fault_badpeernet_interval is 16
    ptp4l[417658.457]: config item /var/run/ptp4lro.fault_reset_interval is 4
    ptp4l[417658.457]: config item /var/run/ptp4lro.tsproc_mode is 0
    ptp4l[417658.457]: config item /var/run/ptp4lro.delay_filter is 1
    ptp4l[417658.457]: config item /var/run/ptp4lro.delay_filter_length is 1
    ptp4l[417658.457]: config item (null).slave_event_monitor is ''
    ptp4l[417658.458]: config item eth1.phc_index is -1
    ptp4l[417658.458]: config item eth1.boundary_clock_jbod is 0
    ptp4l[417658.458]: config item eth1.serverOnly is 0
    ptp4l[417658.458]: config item eth1.BMCA is 0
    ptp4l[417658.458]: config item eth1.network_transport is 3
    ptp4l[417658.458]: config item eth1.delayAsymmetry is 0
    ptp4l[417658.458]: config item eth1.follow_up_info is 0
    ptp4l[417658.458]: config item eth1.freq_est_interval is 1
    ptp4l[417658.458]: config item eth1.msg_interval_request is 0
    ptp4l[417658.458]: config item eth1.net_sync_monitor is 0
    ptp4l[417658.458]: config item eth1.path_trace_enabled is 0
    ptp4l[417658.458]: config item eth1.tc_spanning_tree is 0
    ptp4l[417658.458]: config item eth1.ingressLatency is 0
    ptp4l[417658.458]: config item eth1.egressLatency is 0
    ptp4l[417658.458]: config item eth1.delay_mechanism is 2
    ptp4l[417658.458]: config item eth1.power_profile.version is 0
    ptp4l[417658.458]: config item eth1.power_profile.grandmasterID is 0
    ptp4l[417658.458]: config item eth1.power_profile.2011.grandmasterTimeInaccuracy is -1
    ptp4l[417658.458]: config item eth1.power_profile.2011.networkTimeInaccuracy is -1
    ptp4l[417658.458]: config item eth1.power_profile.2017.totalTimeInaccuracy is -1
    ptp4l[417658.458]: config item eth1.unicast_master_table is 0
    ptp4l[417658.458]: config item eth1.unicast_listen is 0
    ptp4l[417658.458]: config item eth1.hybrid_e2e is 0
    ptp4l[417658.458]: config item eth1.fault_badpeernet_interval is 16
    ptp4l[417658.458]: config item eth1.fault_reset_interval is 4
    ptp4l[417658.458]: config item eth1.tsproc_mode is 0
    ptp4l[417658.458]: config item eth1.delay_filter is 1
    ptp4l[417658.458]: config item eth1.delay_filter_length is 10
    ptp4l[417658.458]: config item eth1.logMinDelayReqInterval is 0
    ptp4l[417658.458]: config item eth1.logAnnounceInterval is 1
    ptp4l[417658.458]: config item eth1.inhibit_announce is 0
    ptp4l[417658.458]: config item eth1.ignore_source_id is 0
    ptp4l[417658.458]: config item eth1.announceReceiptTimeout is 3
    ptp4l[417658.458]: config item eth1.syncReceiptTimeout is 0
    ptp4l[417658.458]: config item eth1.transportSpecific is 0
    ptp4l[417658.458]: config item eth1.ignore_transport_specific is 0
    ptp4l[417658.458]: config item eth1.G.8275.portDS.localPriority is 128
    ptp4l[417658.458]: config item eth1.logSyncInterval is 0
    ptp4l[417658.458]: config item eth1.operLogSyncInterval is 0
    ptp4l[417658.458]: config item eth1.logMinPdelayReqInterval is 0
    ptp4l[417658.458]: config item eth1.operLogPdelayReqInterval is 0
    ptp4l[417658.458]: config item eth1.neighborPropDelayThresh is 20000000
    ptp4l[417658.458]: config item eth1.min_neighbor_prop_delay is -20000000
    ptp4l[417658.458]: config item eth1.delay_response_timeout is 0
    ptp4l[417658.458]: config item eth1.interface_rate_tlv is 0
    ptp4l[417658.458]: config item eth1.asCapable is 1
    ptp4l[417658.458]: config item eth1.inhibit_delay_req is 0
    ptp4l[417658.458]: config item eth1.ptp_dst_mac is '01:1B:19:00:00:00'
    ptp4l[417658.458]: config item eth1.p2p_dst_mac is '01:80:C2:00:00:0E'
    ptp4l[417658.458]: config item global.socket_priority is 0
    ptp4l[417658.639]: port 1 (eth1): INITIALIZING to LISTENING on INIT_COMPLETE
    ptp4l[417658.639]: config item /var/run/ptp4l.logMinDelayReqInterval is 0
    ptp4l[417658.640]: config item /var/run/ptp4l.logAnnounceInterval is 1
    ptp4l[417658.640]: config item /var/run/ptp4l.inhibit_announce is 0
    ptp4l[417658.640]: config item /var/run/ptp4l.ignore_source_id is 0
    ptp4l[417658.640]: config item /var/run/ptp4l.announceReceiptTimeout is 0
    ptp4l[417658.640]: config item /var/run/ptp4l.syncReceiptTimeout is 0
    ptp4l[417658.640]: config item /var/run/ptp4l.transportSpecific is 0
    ptp4l[417658.640]: config item /var/run/ptp4l.ignore_transport_specific is 0
    ptp4l[417658.640]: config item /var/run/ptp4l.G.8275.portDS.localPriority is 128
    ptp4l[417658.640]: config item /var/run/ptp4l.logSyncInterval is 0
    ptp4l[417658.640]: config item /var/run/ptp4l.operLogSyncInterval is 0
    ptp4l[417658.640]: config item /var/run/ptp4l.logMinPdelayReqInterval is 0
    ptp4l[417658.640]: config item /var/run/ptp4l.operLogPdelayReqInterval is 0
    ptp4l[417658.640]: config item /var/run/ptp4l.neighborPropDelayThresh is 20000000
    ptp4l[417658.640]: config item /var/run/ptp4l.min_neighbor_prop_delay is -20000000
    ptp4l[417658.640]: config item /var/run/ptp4l.delay_response_timeout is 0
    ptp4l[417658.640]: config item /var/run/ptp4l.interface_rate_tlv is 0
    ptp4l[417658.640]: config item /var/run/ptp4l.asCapable is 1
    ptp4l[417658.640]: config item /var/run/ptp4l.inhibit_delay_req is 0
    ptp4l[417658.640]: config item (null).uds_ro_address is '/var/run/ptp4lro'
    ptp4l[417658.640]: config item (null).uds_address is '/var/run/ptp4l'
    ptp4l[417658.640]: config item /var/run/ptp4l.uds_file_mode is 432
    ptp4l[417658.974]: port 0 (/var/run/ptp4l): INITIALIZING to LISTENING on INIT_COMPLETE
    ptp4l[417658.974]: config item /var/run/ptp4lro.logMinDelayReqInterval is 0
    ptp4l[417658.974]: config item /var/run/ptp4lro.logAnnounceInterval is 1
    ptp4l[417658.974]: config item /var/run/ptp4lro.inhibit_announce is 0
    ptp4l[417658.974]: config item /var/run/ptp4lro.ignore_source_id is 0
    ptp4l[417658.974]: config item /var/run/ptp4lro.announceReceiptTimeout is 0
    ptp4l[417658.974]: config item /var/run/ptp4lro.syncReceiptTimeout is 0
    ptp4l[417658.974]: config item /var/run/ptp4lro.transportSpecific is 0
    ptp4l[417658.974]: config item /var/run/ptp4lro.ignore_transport_specific is 0
    ptp4l[417658.974]: config item /var/run/ptp4lro.G.8275.portDS.localPriority is 128
    ptp4l[417658.974]: config item /var/run/ptp4lro.logSyncInterval is 0
    ptp4l[417658.974]: config item /var/run/ptp4lro.operLogSyncInterval is 0
    ptp4l[417658.974]: config item /var/run/ptp4lro.logMinPdelayReqInterval is 0
    ptp4l[417658.974]: config item /var/run/ptp4lro.operLogPdelayReqInterval is 0
    ptp4l[417658.974]: config item /var/run/ptp4lro.neighborPropDelayThresh is 20000000
    ptp4l[417658.974]: config item /var/run/ptp4lro.min_neighbor_prop_delay is -20000000
    ptp4l[417658.974]: config item /var/run/ptp4lro.delay_response_timeout is 0
    ptp4l[417658.974]: config item /var/run/ptp4lro.interface_rate_tlv is 0
    ptp4l[417658.974]: config item /var/run/ptp4lro.asCapable is 1
    ptp4l[417658.974]: config item /var/run/ptp4lro.inhibit_delay_req is 0
    ptp4l[417658.974]: config item (null).uds_ro_address is '/var/run/ptp4lro'
    ptp4l[417658.974]: config item (null).uds_address is '/var/run/ptp4l'
    ptp4l[417658.974]: config item /var/run/ptp4lro.uds_ro_file_mode is 438
    ptp4l[417658.974]: port 0 (/var/run/ptp4lro): INITIALIZING to LISTENING on INIT_COMPLETE
    ptp4l[417658.974]: port 1 (eth1): setting asCapable
    ptp4l[417658.975]: port 1 (eth1): ignoring message
    ptp4l[417658.975]: port 1 (eth1): new foreign master 40a6b7.fffe.9c2706-1
    ptp4l[417659.328]: port 1 (eth1): peer port id set to 40a6b7.fffe.9c2706-1
    ptp4l[417659.640]: port 1 (eth1): delay timeout
    ptp4l[417659.640]: delay   filtered       1284   raw       1284
    ptp4l[417660.640]: port 1 (eth1): delay timeout
    ptp4l[417660.641]: delay   filtered       1291   raw       1298
    ptp4l[417661.640]: port 1 (eth1): delay timeout
    ptp4l[417661.641]: delay   filtered       1286   raw       1286
    ptp4l[417662.640]: port 1 (eth1): delay timeout
    ptp4l[417662.641]: delay   filtered       1285   raw       1276
    ptp4l[417662.943]: selected best master clock 40a6b7.fffe.9c2706
    ptp4l[417662.943]: port 1 (eth1): LISTENING to UNCALIBRATED on RS_SLAVE
    ptp4l[417663.641]: port 1 (eth1): delay timeout
    ptp4l[417663.641]: delay   filtered       1286   raw       1307
    ptp4l[417663.943]: master offset   82378458 s0 freq  -25575 path delay      1286
    ptp4l[417664.641]: port 1 (eth1): delay timeout
    ptp4l[417664.642]: delay   filtered       1288   raw       1291
    ptp4l[417664.944]: master offset   82378982 s1 freq  -25051 path delay      1288
    ptp4l[417665.641]: port 1 (eth1): delay timeout
    ptp4l[417665.642]: delay   filtered       1291   raw       1300
    ptp4l[417665.944]: master offset      -5733 s2 freq  -30784 path delay      1291
    ptp4l[417665.944]: port 1 (eth1): UNCALIBRATED to SLAVE on MASTER_CLOCK_SELECTED
    ptp4l[417666.642]: port 1 (eth1): delay timeout
    ptp4l[417666.642]: delay   filtered       1288   raw       1285
    ptp4l[417666.944]: master offset         -1 s2 freq  -26772 path delay      1288
    ptp4l[417667.642]: port 1 (eth1): delay timeout
    ptp4l[417667.643]: delay   filtered       1291   raw       1291
    ptp4l[417667.944]: master offset       1717 s2 freq  -25054 path delay      1291
    ptp4l[417668.642]: port 1 (eth1): delay timeout
    ptp4l[417668.643]: delay   filtered       1291   raw       1295
    ptp4l[417668.944]: master offset       1714 s2 freq  -24542 path delay      1291
    ptp4l[417669.642]: port 1 (eth1): delay timeout
    ptp4l[417669.643]: delay   filtered       1291   raw       1279
    ptp4l[417669.944]: master offset       1199 s2 freq  -24543 path delay      1291
    ptp4l[417670.643]: port 1 (eth1): delay timeout
    ptp4l[417670.643]: delay   filtered       1288   raw       1282
    ptp4l[417670.944]: master offset        683 s2 freq  -24699 path delay      1288
    ptp4l[417671.643]: port 1 (eth1): delay timeout
    ptp4l[417671.644]: delay   filtered       1288   raw       1283
    ptp4l[417671.944]: master offset        316 s2 freq  -24861 path delay      1288
    ptp4l[417672.130]: port 1 (eth1): ignoring message
    [417672.131710] am65-cpsw-nuss 8000000.ethernet eth1: Link is Down                                       <<<< eth1 was made down here
    ptp4l[417672.130]: port 1 (eth1): error on fda[0]: Network is down
    ptp4l[417672.146]: port 1 (eth1): SLAVE to FAULTY on FAULT_DETECTED (FT_UNSPECIFIED)
    ptp4l[417672.180]: waiting 2^{4} seconds to clear fault on port 1 (eth1)
    ptp4l[417688.180]: clearing fault on port 1 (eth1)
    ptp4l[417688.180]: config item eth1.logMinDelayReqInterval is 0
    ptp4l[417688.180]: config item eth1.logAnnounceInterval is 1
    ptp4l[417688.180]: config item eth1.inhibit_announce is 0
    ptp4l[417688.180]: config item eth1.ignore_source_id is 0
    ptp4l[417688.180]: config item eth1.announceReceiptTimeout is 3
    ptp4l[417688.180]: config item eth1.syncReceiptTimeout is 0
    ptp4l[417688.180]: config item eth1.transportSpecific is 0
    ptp4l[417688.180]: config item eth1.ignore_transport_specific is 0
    ptp4l[417688.180]: config item eth1.G.8275.portDS.localPriority is 128
    ptp4l[417688.180]: config item eth1.logSyncInterval is 0
    ptp4l[417688.180]: config item eth1.operLogSyncInterval is 0
    ptp4l[417688.180]: config item eth1.logMinPdelayReqInterval is 0
    ptp4l[417688.180]: config item eth1.operLogPdelayReqInterval is 0
    ptp4l[417688.180]: config item eth1.neighborPropDelayThresh is 20000000
    ptp4l[417688.180]: config item eth1.min_neighbor_prop_delay is -20000000
    ptp4l[417688.180]: config item eth1.delay_response_timeout is 0
    ptp4l[417688.180]: config item eth1.interface_rate_tlv is 0
    ptp4l[417688.180]: config item eth1.asCapable is 1
    ptp4l[417688.180]: config item eth1.inhibit_delay_req is 0
    ptp4l[417688.181]: config item eth1.ptp_dst_mac is '01:1B:19:00:00:00'
    ptp4l[417688.181]: config item eth1.p2p_dst_mac is '01:80:C2:00:00:0E'
    ptp4l[417688.181]: config item global.socket_priority is 0
    ptp4l[417688.212]: driver rejected most general HWTSTAMP filter
    ptp4l[417688.212]: ioctl SIOCSHWTSTAMP failed: Invalid argument
    [417696.696946] am65-cpsw-nuss 8000000.ethernet eth1: PHY [8000f00.mdio:01] driver [TI DP83867] (irq=POLL)      <<<< eth1 was made up here
    [417696.696977] am65-cpsw-nuss 8000000.ethernet eth1: configuring for phy/rgmii-rxid link mode
    ptp4l[417696.711]: port 1 (eth1): ignoring message
    [417696.733627] 8021q: adding VLAN 0 to HW filter on device eth1
    ptp4l[417699.773]: port 1 (eth1): ignoring message[417699.775426] am65-cpsw-nuss 8000000.ethernet eth1: Link is Up - 100Mbps/Full - flow control off
    
    <<<< There is no more output, it is waiting here indefinetly

    Have you tried using "ptp4l -2 -P -H -i eth0 -i eth1 -m -q -l 7 -s" for DUT and "sudo ptp4l -2 -P -H  -i enp6s0 -i enp8s0 -m -q -l 7" for PC?

    I believe this will configure devices in PTP transparent clock which is not relevant to our scenario and the other link is merely used for ssh connection and it is not supposed to have any PTP running.

    EDIT:

    When the sync is lost (after eth1 is made up again) we again see the same drop counters are incremented.

    root@ptp_test:~# ethtool -S eth1 | grep drop | grep -v ": 0"
    ale_drop: 1807
    rx_port_mask_drop: 1807
    root@smartnc-hwtest:~#

  • Hi Dipal,

    We are not trying to us any redundancy, enp6s0 - ETH0 has no part in PTP, I just made this topo so that it is easy to test. However, we have observed same behavior in Topo 1 as well even through eth0 and eth1 are connected to completely different devices. 

    Thanks for this clarification

    If eth1 is disconnected, the PTP never recovers (there are no messages related to eth0), please find below the logs for both grand master and follower (DUT) for this scenario, check "<<<<" for annotations.

    This is a little confusing to me. I was under the impression that since eth1 is used in the ptp4l configuration, eth1 is a necessary interface to keep ptp synchronization running and that the issue lies in eth0 (unrelated to PTP configuration) being disconnected (not eth1 being disconnected). 

    What happens if you had kept eth0 disconnected before running the ptp4l synchronization? 

    What happens if you done this, making sure to keep eth1 connected throughout the whole test?

    -Daolin

  • HI Daolin,

    This is a little confusing to me. I was under the impression that since eth1 is used in the ptp4l configuration, eth1 is a necessary interface to keep ptp synchronization running and that the issue lies in eth0 (unrelated to PTP configuration) being disconnected (not eth1 being disconnected). 

    Based on your request in previous reply, quoted below, I though you wanted me to check by disconnecting eth1? However, it has discovered new issue that ptp never resumes.

    With these ptp4l options, if eth1 was disconnected instead of eth0, do you see similar log outputs? If possible, can you show the log for this case as well? I'm assuming instead of  "port1 (eth1): delay timeout" something like "port0 (eth0): delay timeout" would show up?

    If we interchange eth0 interface with eth1, the behavior is exactly similar, we can replace eth0 <-> eth1 in all logs accordingly. 

    Anyways here is the summary of original issue we had:

    1. eth0 is physically disconnected before starting PTP
      1. Start PTP on eth1, ensure it is working properly
      2. reconnect eth0 cable
      3. eth0 is back online 
      4. PTP stops working on eth1
    2. eth0 is connected and up before starting PTP
      1. Start PTP on eth1, ensure it is working properly
      2. Disconnected eth0
      3. PTP stops working on eth1
      4. Reconnect eth0
      5. PTP still doesn't work on eth1

    If we swap eth0 with eth1 we will observe the same behavior (i.e. eth1 state will stop PTP operation on eth0). 

    For these scenarios PTP will start working if I do any of following

    1. Restart the PTP
    2. Run "ifconfig eth1 up" (Please note it is eth1, the interface which was already up and had PTP sync working)
    3. Turn on Promiscuous  mode "ip link set eth1 promisc on"

    Now when I try to change the state of eth1 itself (where PTP is running), we found another issues (eth0 has no role in this scenario):

    1. Change eth1 state by Physically disconnecting the cable
      1. Start PTP on eth1, ensure it is working properly
      2. Physically disconnect the eth1 cable 
      3. Wait for 1 minute  (PTP will not work as cable is disconnected)
      4. Reconnect the eth1 cable
      5. PTP sync is restored 
      6. Everything is working as expected here
    2.  Change eth1 state over CLI (cable remains connected):
      1. Start PTP on eth1, ensure it is working properly
      2. Bring down eth1 interface using cli "ifconfig eth1 down"
      3. Wait for 1 minute (PTP will not work as cable is disconnected)
      4. Bring up eth1 interface using cli "ifconfig eth1 up"
      5. PTP never recovers (this is the issue reported in my last reply)
      6. Only way to make PTP work again is to restart the PTP process, interface state, promiscus mode doesn't help
  • Hi Dipal,

    Based on your request in previous reply, quoted below, I though you wanted me to check by disconnecting eth1? However, it has discovered new issue that ptp never resumes.

    With these ptp4l options, if eth1 was disconnected instead of eth0, do you see similar log outputs? If possible, can you show the log for this case as well? I'm assuming instead of  "port1 (eth1): delay timeout" something like "port0 (eth0): delay timeout" would show up?

    I see, there was a misunderstanding. What I meant was if you could use "ptp4l -2 -P -H -i eth0  -m -q -l 7 -s" and disconnect eth1 and show exactly what the logs are. I know that you have stated the behavior is similar if the interfaces are switched but I would like to see the log as well for the switched case.

    Thanks for making clear the sequence of steps to observe the various issues you specified. Are eth0 and eth1 interfaces in dual mac mode or configured as a switch?

    I will try on my side if I can reproduce the issue, most likely I will not get to this until Friday. Please kindly ping this thread if I haven't responded on Friday.

    -Daolin

  • HI Daolin,

    No problem, I realized later what you were trying to find out.

    So I update the topology as:

    Here are the logs:

    PC (PTP Grandmaster):

    sudo ptp4l -2 -P -H -i enp8s0 -m -q -l 7
    [sudo] password for dze: 
    ptp4l[1901362.324]: config item (null).assume_two_step is 0
    ptp4l[1901362.324]: config item (null).check_fup_sync is 0
    ptp4l[1901362.324]: config item (null).tx_timestamp_timeout is 1
    ptp4l[1901362.324]: config item (null).hwts_filter is 0
    ptp4l[1901362.324]: config item (null).clock_servo is 0
    ptp4l[1901362.324]: config item (null).clock_type is 32768
    ptp4l[1901362.324]: config item (null).clock_servo is 0
    ptp4l[1901362.324]: config item (null).clockClass is 248
    ptp4l[1901362.324]: config item (null).clockAccuracy is 254
    ptp4l[1901362.324]: config item (null).offsetScaledLogVariance is 65535
    ptp4l[1901362.324]: config item (null).productDescription is ';;'
    ptp4l[1901362.324]: config item (null).revisionData is ';;'
    ptp4l[1901362.324]: config item (null).userDescription is ''
    ptp4l[1901362.324]: config item (null).manufacturerIdentity is '00:00:00'
    ptp4l[1901362.324]: config item (null).domainNumber is 0
    ptp4l[1901362.324]: config item (null).slaveOnly is 0
    ptp4l[1901362.324]: config item (null).gmCapable is 1
    ptp4l[1901362.324]: config item (null).gmCapable is 1
    ptp4l[1901362.324]: config item (null).G.8275.defaultDS.localPriority is 128
    ptp4l[1901362.324]: config item (null).maxStepsRemoved is 255
    ptp4l[1901362.324]: config item (null).time_stamping is 1
    ptp4l[1901362.324]: config item (null).twoStepFlag is 1
    ptp4l[1901362.324]: config item (null).twoStepFlag is 1
    ptp4l[1901362.324]: config item (null).time_stamping is 1
    ptp4l[1901362.324]: config item (null).priority1 is 128
    ptp4l[1901362.324]: config item (null).priority2 is 128
    ptp4l[1901362.324]: interface index 3 is up
    ptp4l[1901362.324]: config item (null).free_running is 0
    ptp4l[1901362.324]: selected /dev/ptp0 as PTP clock
    ptp4l[1901362.324]: config item (null).clockIdentity is '000000.0000.000000'
    ptp4l[1901362.324]: config item (null).uds_address is '/var/run/ptp4l'
    ptp4l[1901362.324]: section item /var/run/ptp4l.announceReceiptTimeout now 0
    ptp4l[1901362.324]: section item /var/run/ptp4l.delay_mechanism now 0
    ptp4l[1901362.324]: section item /var/run/ptp4l.network_transport now 0
    ptp4l[1901362.324]: section item /var/run/ptp4l.delay_filter_length now 1
    ptp4l[1901362.324]: config item (null).free_running is 0
    ptp4l[1901362.324]: config item (null).freq_est_interval is 1
    ptp4l[1901362.324]: config item (null).write_phase_mode is 0
    ptp4l[1901362.324]: config item (null).gmCapable is 1
    ptp4l[1901362.324]: config item (null).kernel_leap is 1
    ptp4l[1901362.324]: config item (null).utc_offset is 37
    ptp4l[1901362.324]: config item (null).timeSource is 160
    ptp4l[1901362.324]: config item (null).pi_proportional_const is 0.000000
    ptp4l[1901362.324]: config item (null).pi_integral_const is 0.000000
    ptp4l[1901362.324]: config item (null).pi_proportional_scale is 0.000000
    ptp4l[1901362.324]: config item (null).pi_proportional_exponent is -0.300000
    ptp4l[1901362.324]: config item (null).pi_proportional_norm_max is 0.700000
    ptp4l[1901362.324]: config item (null).pi_integral_scale is 0.000000
    ptp4l[1901362.324]: config item (null).pi_integral_exponent is 0.400000
    ptp4l[1901362.324]: config item (null).pi_integral_norm_max is 0.300000
    ptp4l[1901362.324]: config item (null).step_threshold is 0.000000
    ptp4l[1901362.324]: config item (null).first_step_threshold is 0.000020
    ptp4l[1901362.324]: config item (null).max_frequency is 900000000
    ptp4l[1901362.324]: config item (null).servo_offset_threshold is 0
    ptp4l[1901362.324]: config item (null).servo_num_offset_values is 10
    ptp4l[1901362.324]: config item (null).dataset_comparison is 0
    ptp4l[1901362.324]: config item (null).delay_filter_length is 10
    ptp4l[1901362.324]: config item (null).delay_filter is 1
    ptp4l[1901362.324]: config item (null).tsproc_mode is 0
    ptp4l[1901362.324]: config item (null).initial_delay is 0
    ptp4l[1901362.324]: config item (null).summary_interval is 0
    ptp4l[1901362.324]: config item (null).sanity_freq_limit is 200000000
    ptp4l[1901362.324]: PI servo: sync interval 1.000 kp 0.700 ki 0.300000
    ptp4l[1901362.324]: config item /var/run/ptp4l.boundary_clock_jbod is 0
    ptp4l[1901362.324]: config item /var/run/ptp4l.network_transport is 0
    ptp4l[1901362.324]: config item /var/run/ptp4l.masterOnly is 0
    ptp4l[1901362.324]: config item /var/run/ptp4l.BMCA is 0
    ptp4l[1901362.324]: config item /var/run/ptp4l.delayAsymmetry is 0
    ptp4l[1901362.324]: config item /var/run/ptp4l.follow_up_info is 0
    ptp4l[1901362.324]: config item /var/run/ptp4l.freq_est_interval is 1
    ptp4l[1901362.324]: config item /var/run/ptp4l.msg_interval_request is 0
    ptp4l[1901362.324]: config item /var/run/ptp4l.net_sync_monitor is 0
    ptp4l[1901362.324]: config item /var/run/ptp4l.path_trace_enabled is 0
    ptp4l[1901362.324]: config item /var/run/ptp4l.tc_spanning_tree is 0
    ptp4l[1901362.324]: config item /var/run/ptp4l.ingressLatency is 0
    ptp4l[1901362.324]: config item /var/run/ptp4l.egressLatency is 0
    ptp4l[1901362.324]: config item /var/run/ptp4l.delay_mechanism is 0
    ptp4l[1901362.324]: config item /var/run/ptp4l.hybrid_e2e is 0
    ptp4l[1901362.324]: config item /var/run/ptp4l.fault_badpeernet_interval is 16
    ptp4l[1901362.324]: config item /var/run/ptp4l.fault_reset_interval is 4
    ptp4l[1901362.324]: config item /var/run/ptp4l.delay_filter_length is 1
    ptp4l[1901362.324]: config item /var/run/ptp4l.delay_filter is 1
    ptp4l[1901362.324]: config item /var/run/ptp4l.tsproc_mode is 0
    ptp4l[1901362.324]: config item (null).slave_event_monitor is ''
    ptp4l[1901362.324]: config item enp8s0.boundary_clock_jbod is 0
    ptp4l[1901362.324]: config item enp8s0.network_transport is 3
    ptp4l[1901362.324]: config item enp8s0.masterOnly is 0
    ptp4l[1901362.324]: config item enp8s0.BMCA is 0
    ptp4l[1901362.324]: config item enp8s0.delayAsymmetry is 0
    ptp4l[1901362.324]: config item enp8s0.follow_up_info is 0
    ptp4l[1901362.324]: config item enp8s0.freq_est_interval is 1
    ptp4l[1901362.324]: config item enp8s0.msg_interval_request is 0
    ptp4l[1901362.324]: config item enp8s0.net_sync_monitor is 0
    ptp4l[1901362.324]: config item enp8s0.path_trace_enabled is 0
    ptp4l[1901362.324]: config item enp8s0.tc_spanning_tree is 0
    ptp4l[1901362.324]: config item enp8s0.ingressLatency is 0
    ptp4l[1901362.324]: config item enp8s0.egressLatency is 0
    ptp4l[1901362.324]: config item enp8s0.delay_mechanism is 2
    ptp4l[1901362.324]: config item enp8s0.unicast_master_table is 0
    ptp4l[1901362.324]: config item enp8s0.unicast_listen is 0
    ptp4l[1901362.324]: config item enp8s0.hybrid_e2e is 0
    ptp4l[1901362.324]: config item enp8s0.fault_badpeernet_interval is 16
    ptp4l[1901362.324]: config item enp8s0.fault_reset_interval is 4
    ptp4l[1901362.324]: config item enp8s0.delay_filter_length is 10
    ptp4l[1901362.324]: config item enp8s0.delay_filter is 1
    ptp4l[1901362.324]: config item enp8s0.tsproc_mode is 0
    ptp4l[1901362.324]: config item enp8s0.logMinDelayReqInterval is 0
    ptp4l[1901362.324]: config item enp8s0.logAnnounceInterval is 1
    ptp4l[1901362.324]: config item enp8s0.inhibit_announce is 0
    ptp4l[1901362.324]: config item enp8s0.ignore_source_id is 0
    ptp4l[1901362.324]: config item enp8s0.announceReceiptTimeout is 3
    ptp4l[1901362.324]: config item enp8s0.syncReceiptTimeout is 0
    ptp4l[1901362.324]: config item enp8s0.transportSpecific is 0
    ptp4l[1901362.324]: config item enp8s0.ignore_transport_specific is 0
    ptp4l[1901362.324]: config item enp8s0.G.8275.portDS.localPriority is 128
    ptp4l[1901362.324]: config item enp8s0.logSyncInterval is 0
    ptp4l[1901362.324]: config item enp8s0.operLogSyncInterval is 0
    ptp4l[1901362.324]: config item enp8s0.logMinPdelayReqInterval is 0
    ptp4l[1901362.324]: config item enp8s0.operLogPdelayReqInterval is 0
    ptp4l[1901362.324]: config item enp8s0.neighborPropDelayThresh is 20000000
    ptp4l[1901362.324]: config item enp8s0.min_neighbor_prop_delay is -20000000
    ptp4l[1901362.324]: config item enp8s0.asCapable is 1
    ptp4l[1901362.324]: config item enp8s0.inhibit_delay_req is 0
    ptp4l[1901362.324]: config item enp8s0.ptp_dst_mac is '01:1B:19:00:00:00'
    ptp4l[1901362.324]: config item enp8s0.p2p_dst_mac is '01:80:C2:00:00:0E'
    ptp4l[1901362.324]: config item global.socket_priority is 0
    ptp4l[1901362.344]: port 1: INITIALIZING to LISTENING on INIT_COMPLETE
    ptp4l[1901362.344]: config item /var/run/ptp4l.logMinDelayReqInterval is 0
    ptp4l[1901362.344]: config item /var/run/ptp4l.logAnnounceInterval is 1
    ptp4l[1901362.344]: config item /var/run/ptp4l.inhibit_announce is 0
    ptp4l[1901362.344]: config item /var/run/ptp4l.ignore_source_id is 0
    ptp4l[1901362.344]: config item /var/run/ptp4l.announceReceiptTimeout is 0
    ptp4l[1901362.344]: config item /var/run/ptp4l.syncReceiptTimeout is 0
    ptp4l[1901362.344]: config item /var/run/ptp4l.transportSpecific is 0
    ptp4l[1901362.344]: config item /var/run/ptp4l.ignore_transport_specific is 0
    ptp4l[1901362.344]: config item /var/run/ptp4l.G.8275.portDS.localPriority is 128
    ptp4l[1901362.344]: config item /var/run/ptp4l.logSyncInterval is 0
    ptp4l[1901362.344]: config item /var/run/ptp4l.operLogSyncInterval is 0
    ptp4l[1901362.344]: config item /var/run/ptp4l.logMinPdelayReqInterval is 0
    ptp4l[1901362.344]: config item /var/run/ptp4l.operLogPdelayReqInterval is 0
    ptp4l[1901362.344]: config item /var/run/ptp4l.neighborPropDelayThresh is 20000000
    ptp4l[1901362.344]: config item /var/run/ptp4l.min_neighbor_prop_delay is -20000000
    ptp4l[1901362.344]: config item /var/run/ptp4l.asCapable is 1
    ptp4l[1901362.344]: config item /var/run/ptp4l.inhibit_delay_req is 0
    ptp4l[1901362.344]: config item (null).uds_address is '/var/run/ptp4l'
    ptp4l[1901362.344]: port 0: INITIALIZING to LISTENING on INIT_COMPLETE
    ptp4l[1901362.344]: port 1: received link status notification
    ptp4l[1901362.344]: interface index 3 is up
    ptp4l[1901363.344]: port 1: delay timeout
    ptp4l[1901364.344]: port 1: delay timeout
    ptp4l[1901364.344]: port 1: setting asCapable
    ptp4l[1901365.344]: port 1: delay timeout
    ptp4l[1901366.344]: port 1: delay timeout
    ptp4l[1901367.344]: port 1: delay timeout
    ptp4l[1901368.345]: port 1: delay timeout
    ptp4l[1901369.295]: port 1: announce timeout
    ptp4l[1901369.295]: port 1: LISTENING to MASTER on ANNOUNCE_RECEIPT_TIMEOUT_EXPIRES
    ptp4l[1901369.295]: selected local clock 40a6b7.fffe.9c2706 as best master
    ptp4l[1901369.295]: port 1: assuming the grand master role
    ptp4l[1901369.296]: port 1: master tx announce timeout
    ptp4l[1901377.345]: port 1: delay timeout
    ptp4l[1901378.296]: port 1: master sync timeout
    ptp4l[1901378.346]: port 1: delay timeout
    ptp4l[1901379.297]: port 1: master sync timeout
    ptp4l[1901379.297]: port 1: master tx announce timeout
    ptp4l[1901379.346]: port 1: delay timeout
    ptp4l[1901380.297]: port 1: master sync timeout
    ptp4l[1901380.346]: port 1: delay timeout
    ptp4l[1901381.297]: port 1: master sync timeout
    ptp4l[1901381.297]: port 1: master tx announce timeout
    ptp4l[1901381.346]: port 1: delay timeout
    ptp4l[1901382.297]: port 1: master sync timeout
    ptp4l[1901382.346]: port 1: delay timeout
    ptp4l[1901383.297]: port 1: master tx announce timeout
    ptp4l[1901389.298]: port 1: master sync timeout
    ptp4l[1901389.347]: port 1: delay timeout
    ptp4l[1901390.298]: port 1: master sync timeout
    ptp4l[1901390.347]: port 1: delay timeout
    ptp4l[1901391.298]: port 1: master tx announce timeout
    ptp4l[1901391.298]: port 1: master sync timeout
    ptp4l[1901391.347]: port 1: delay timeout
    ptp4l[1901392.298]: port 1: master sync timeout
    ptp4l[1901392.347]: port 1: delay timeout
    ptp4l[1901393.298]: port 1: master tx announce timeout
    ptp4l[1901393.298]: port 1: master sync timeout
    ptp4l[1901393.347]: port 1: delay timeout
    ptp4l[1901394.298]: port 1: master sync timeout
    ptp4l[1901403.299]: port 1: master sync timeout
    ptp4l[1901403.348]: port 1: delay timeout
    ptp4l[1901404.299]: port 1: master sync timeout
    ptp4l[1901404.348]: port 1: delay timeout
    ptp4l[1901405.299]: port 1: master tx announce timeout
    ptp4l[1901405.299]: port 1: master sync timeout
    ptp4l[1901405.348]: port 1: delay timeout
    ptp4l[1901406.299]: port 1: master sync timeout
    ptp4l[1901406.348]: port 1: delay timeout
    ptp4l[1901406.349]: port 1: peer port id set to 543b30.fffe.0118ee-1
    ptp4l[1901406.349]: delay   filtered       1310   raw       1310
    ptp4l[1901407.299]: port 1: master tx announce timeout
    ptp4l[1901407.299]: port 1: master sync timeout
    ptp4l[1901407.349]: port 1: delay timeout
    ptp4l[1901407.349]: delay   filtered       1307   raw       1305
    ptp4l[1901408.299]: port 1: master sync timeout
    ptp4l[1901408.349]: port 1: delay timeout
    ptp4l[1901408.349]: delay   filtered       1305   raw       1303
    ptp4l[1901409.299]: port 1: master tx announce timeout
    ptp4l[1901409.300]: port 1: master sync timeout
    ptp4l[1901409.349]: port 1: delay timeout
    ptp4l[1901409.349]: delay   filtered       1307   raw       1320
    ptp4l[1901410.300]: port 1: master sync timeout
    ptp4l[1901410.349]: port 1: delay timeout
    ptp4l[1901410.349]: delay   filtered       1305   raw       1296
    ptp4l[1901411.299]: port 1: master tx announce timeout
    ptp4l[1901411.300]: port 1: master sync timeout
    ptp4l[1901411.349]: port 1: delay timeout
    ptp4l[1901411.349]: delay   filtered       1304   raw       1294
    ptp4l[1901412.300]: port 1: master sync timeout
    ptp4l[1901412.349]: port 1: delay timeout
    ptp4l[1901412.350]: delay   filtered       1305   raw       1310
    ptp4l[1901413.299]: port 1: master tx announce timeout
    ptp4l[1901413.300]: port 1: master sync timeout
    ptp4l[1901413.349]: port 1: delay timeout
    ptp4l[1901413.350]: delay   filtered       1304   raw       1299
    ptp4l[1901414.300]: port 1: master sync timeout
    ptp4l[1901414.349]: port 1: delay timeout
    ptp4l[1901414.350]: delay   filtered       1303   raw       1292
    ptp4l[1901415.299]: port 1: master tx announce timeout
    ptp4l[1901415.300]: port 1: master sync timeout
    ptp4l[1901415.349]: port 1: delay timeout
    ptp4l[1901415.350]: delay   filtered       1304   raw       1305
    ptp4l[1901416.300]: port 1: master sync timeout
    ptp4l[1901416.349]: port 1: delay timeout
    ptp4l[1901416.350]: delay   filtered       1304   raw       1317
    ptp4l[1901417.299]: port 1: master tx announce timeout
    ptp4l[1901417.300]: port 1: master sync timeout
    ptp4l[1901417.349]: port 1: delay timeout
    ptp4l[1901417.350]: delay   filtered       1301   raw       1287
    ptp4l[1901418.301]: port 1: master sync timeout
    ptp4l[1901418.349]: port 1: delay timeout
    ptp4l[1901418.350]: delay   filtered       1297   raw       1296
    ptp4l[1901419.299]: port 1: master tx announce timeout
    ptp4l[1901419.301]: port 1: master sync timeout
    ptp4l[1901419.349]: port 1: delay timeout
    ptp4l[1901419.350]: delay   filtered       1296   raw       1283
    ptp4l[1901420.301]: port 1: master sync timeout
    ptp4l[1901420.350]: port 1: delay timeout
    ptp4l[1901420.350]: delay   filtered       1295   raw       1293
    ptp4l[1901421.300]: port 1: master tx announce timeout
    ptp4l[1901421.301]: port 1: master sync timeout
    ptp4l[1901421.350]: port 1: delay timeout
    ptp4l[1901421.350]: delay   filtered       1297   raw       1299
    ptp4l[1901422.301]: port 1: master sync timeout
    ptp4l[1901422.350]: port 1: delay timeout
    ptp4l[1901422.350]: delay   filtered       1294   raw       1285
    ptp4l[1901423.300]: port 1: master tx announce timeout
    ptp4l[1901423.301]: port 1: master sync timeout
    ptp4l[1901423.350]: port 1: delay timeout
    ptp4l[1901423.351]: delay   filtered       1294   raw       1312
    ptp4l[1901424.301]: port 1: master sync timeout
    ptp4l[1901424.350]: port 1: delay timeout
    ptp4l[1901424.351]: delay   filtered       1297   raw       1315               <<<< Eth1 was made down here
    ptp4l[1901425.300]: port 1: master tx announce timeout
    ptp4l[1901425.301]: port 1: master sync timeout
    ptp4l[1901425.350]: port 1: delay timeout
    ptp4l[1901426.301]: port 1: master sync timeout
    ptp4l[1901426.350]: port 1: delay timeout
    ptp4l[1901427.300]: port 1: master tx announce timeout
    ptp4l[1901427.302]: port 1: master sync timeout
    ptp4l[1901427.350]: port 1: delay timeout
    ptp4l[1901428.302]: port 1: master sync timeout
    ptp4l[1901428.350]: port 1: delay timeout
    ptp4l[1901429.300]: port 1: master tx announce timeout
    ptp4l[1901429.302]: port 1: master sync timeout
    ptp4l[1901429.350]: port 1: delay timeout
    ptp4l[1901430.302]: port 1: master sync timeout
    ptp4l[1901430.351]: port 1: delay timeout
    ptp4l[1901431.300]: port 1: master tx announce timeout
    ptp4l[1901431.302]: port 1: master sync timeout
    ptp4l[1901431.351]: port 1: delay timeout
    ptp4l[1901432.302]: port 1: master sync timeout
    ptp4l[1901432.351]: port 1: delay timeout
    ptp4l[1901433.300]: port 1: master tx announce timeout
    ptp4l[1901433.302]: port 1: master sync timeout
    ptp4l[1901433.351]: port 1: delay timeout
    ptp4l[1901434.302]: port 1: master sync timeout
    ptp4l[1901434.351]: port 1: delay timeout
    ptp4l[1901435.300]: port 1: master tx announce timeout
    ptp4l[1901435.302]: port 1: master sync timeout
    ptp4l[1901435.351]: port 1: delay timeout
    ptp4l[1901436.303]: port 1: master sync timeout
    ptp4l[1901436.351]: port 1: delay timeout
    ptp4l[1901437.301]: port 1: master tx announce timeout
    ptp4l[1901437.303]: port 1: master sync timeout
    ptp4l[1901437.351]: port 1: delay timeout
    ptp4l[1901438.303]: port 1: master sync timeout
    ptp4l[1901438.351]: port 1: delay timeout
    ptp4l[1901439.301]: port 1: master tx announce timeout
    ptp4l[1901439.303]: port 1: master sync timeout
    ptp4l[1901439.351]: port 1: delay timeout
    ptp4l[1901440.303]: port 1: master sync timeout
    ptp4l[1901440.352]: port 1: delay timeout
    ptp4l[1901441.301]: port 1: master tx announce timeout
    ptp4l[1901441.303]: port 1: master sync timeout
    ptp4l[1901441.352]: port 1: delay timeout
    ptp4l[1901442.303]: port 1: master sync timeout
    ptp4l[1901442.352]: port 1: delay timeout
    ptp4l[1901443.301]: port 1: master tx announce timeout
    ptp4l[1901443.303]: port 1: master sync timeout
    ptp4l[1901443.352]: port 1: delay timeout
    ptp4l[1901444.303]: port 1: master sync timeout
    ptp4l[1901444.352]: port 1: delay timeout
    ptp4l[1901445.301]: port 1: master tx announce timeout
    ptp4l[1901445.304]: port 1: master sync timeout
    ptp4l[1901445.352]: port 1: delay timeout
    ptp4l[1901446.304]: port 1: master sync timeout
    ptp4l[1901446.352]: port 1: delay timeout
    ptp4l[1901447.301]: port 1: master tx announce timeout
    ptp4l[1901447.304]: port 1: master sync timeout
    ptp4l[1901447.352]: port 1: delay timeout
    ptp4l[1901448.304]: port 1: master sync timeout
    ptp4l[1901448.352]: port 1: delay timeout
    ptp4l[1901449.301]: port 1: master tx announce timeout
    ptp4l[1901449.304]: port 1: master sync timeout
    ptp4l[1901449.352]: port 1: delay timeout
    ptp4l[1901450.304]: port 1: master sync timeout
    ptp4l[1901450.353]: port 1: delay timeout
    ptp4l[1901451.301]: port 1: master tx announce timeout
    ptp4l[1901451.304]: port 1: master sync timeout
    ptp4l[1901451.353]: port 1: delay timeout
    ptp4l[1901452.304]: port 1: master sync timeout
    ptp4l[1901452.353]: port 1: delay timeout
    ptp4l[1901453.301]: port 1: master tx announce timeout
    ptp4l[1901453.305]: port 1: master sync timeout
    ptp4l[1901453.353]: port 1: delay timeout
    ptp4l[1901453.353]: delay   filtered       1296   raw       1297              <<<< Eth0 was made up (Again) here
    ptp4l[1901454.305]: port 1: master sync timeout
    ptp4l[1901454.353]: port 1: delay timeout
    ptp4l[1901454.354]: delay   filtered       1296   raw       1299
    ptp4l[1901455.302]: port 1: master tx announce timeout
    ptp4l[1901455.305]: port 1: master sync timeout
    ptp4l[1901455.353]: port 1: delay timeout
    ptp4l[1901455.354]: delay   filtered       1296   raw       1296
    ptp4l[1901456.305]: port 1: master sync timeout
    ptp4l[1901456.353]: port 1: delay timeout
    ptp4l[1901456.354]: delay   filtered       1296   raw       1296
    ptp4l[1901457.302]: port 1: master tx announce timeout
    ptp4l[1901457.305]: port 1: master sync timeout
    ptp4l[1901457.353]: port 1: delay timeout
    ptp4l[1901457.354]: delay   filtered       1297   raw       1297
    

    DUT (PTP Follower):

    root@smartnc:~# ptp4l -2 -P -H -i eth0   -m -q -l 7 -s
    ptp4l[223.989]: config item (null).assume_two_step is 0
    ptp4l[223.989]: config item (null).check_fup_sync is 0
    ptp4l[223.989]: config item (null).tx_timestamp_timeout is 10
    ptp4l[223.989]: config item (null).hwts_filter is 0
    ptp4l[223.989]: config item (null).clock_servo is 0
    ptp4l[223.989]: config item (null).clock_type is 32768
    ptp4l[223.989]: config item (null).clock_servo is 0
    ptp4l[223.989]: config item (null).clockClass is 248
    ptp4l[223.989]: config item (null).clockAccuracy is 254
    ptp4l[223.989]: config item (null).offsetScaledLogVariance is 65535
    ptp4l[223.989]: config item (null).productDescription is ';;'
    ptp4l[223.989]: config item (null).revisionData is ';;'
    ptp4l[223.989]: config item (null).userDescription is ''
    ptp4l[223.989]: config item (null).manufacturerIdentity is '00:00:00'
    ptp4l[223.989]: config item (null).domainNumber is 0
    ptp4l[223.989]: config item (null).clientOnly is 1
    ptp4l[223.989]: config item (null).gmCapable is 1
    ptp4l[223.989]: config item (null).gmCapable is 1
    ptp4l[223.989]: config item (null).G.8275.defaultDS.localPriority is 128
    ptp4l[223.989]: config item (null).maxStepsRemoved is 255
    ptp4l[223.989]: config item (null).clock_class_threshold is 248
    ptp4l[223.989]: config item (null).time_stamping is 1
    ptp4l[223.989]: config item (null).twoStepFlag is 1
    ptp4l[223.989]: config item (null).twoStepFlag is 1
    ptp4l[223.989]: config item (null).time_stamping is 1
    ptp4l[223.989]: config item (null).priority1 is 128
    ptp4l[223.989]: config item (null).priority2 is 128
    ptp4l[223.990]: interface index 2 is up
    ptp4l[223.990]: config item eth0.phc_index is -1
    ptp4l[223.990]: config item (null).free_running is 0
    ptp4l[223.990]: selected /dev/ptp0 as PTP clock
    ptp4l[223.990]: config item (null).clockIdentity is '000000.0000.000000'
    ptp4l[223.990]: config item (null).uds_address is '/var/run/ptp4l'
    ptp4l[223.990]: section item /var/run/ptp4l.announceReceiptTimeout now 0
    ptp4l[223.990]: section item /var/run/ptp4l.delay_mechanism now 0
    ptp4l[223.990]: section item /var/run/ptp4l.network_transport now 0
    ptp4l[223.990]: section item /var/run/ptp4l.delay_filter_length now 1
    ptp4l[223.990]: config item (null).uds_ro_address is '/var/run/ptp4lro'
    ptp4l[223.990]: section item /var/run/ptp4lro.announceReceiptTimeout now 0
    ptp4l[223.990]: section item /var/run/ptp4lro.delay_mechanism now 0
    ptp4l[223.990]: section item /var/run/ptp4lro.network_transport now 0
    ptp4l[223.990]: section item /var/run/ptp4lro.delay_filter_length now 1
    ptp4l[223.990]: config item (null).free_running is 0
    ptp4l[223.990]: config item (null).freq_est_interval is 1
    ptp4l[223.990]: config item (null).write_phase_mode is 0
    ptp4l[223.990]: config item (null).gmCapable is 1
    ptp4l[223.990]: config item (null).kernel_leap is 1
    ptp4l[223.990]: config item (null).utc_offset is 37
    ptp4l[223.990]: config item (null).timeSource is 160
    ptp4l[223.990]: config item (null).step_window is 0
    ptp4l[223.990]: config item (null).pi_proportional_const is 0.000000
    ptp4l[223.990]: config item (null).pi_integral_const is 0.000000
    ptp4l[223.990]: config item (null).pi_proportional_scale is 0.000000
    ptp4l[223.990]: config item (null).pi_proportional_exponent is -0.300000
    ptp4l[223.990]: config item (null).pi_proportional_norm_max is 0.700000
    ptp4l[223.990]: config item (null).pi_integral_scale is 0.000000
    ptp4l[223.990]: config item (null).pi_integral_exponent is 0.400000
    ptp4l[223.990]: config item (null).pi_integral_norm_max is 0.300000
    ptp4l[223.990]: config item (null).step_threshold is 0.000000
    ptp4l[223.990]: config item (null).first_step_threshold is 0.000020
    ptp4l[223.990]: config item (null).max_frequency is 900000000
    ptp4l[223.990]: config item (null).servo_offset_threshold is 0
    ptp4l[223.990]: config item (null).servo_num_offset_values is 10
    ptp4l[223.990]: config item (null).dataset_comparison is 0
    ptp4l[223.990]: config item (null).tsproc_mode is 0
    ptp4l[223.991]: config item (null).delay_filter is 1
    ptp4l[223.991]: config item (null).delay_filter_length is 10
    ptp4l[223.991]: config item (null).initial_delay is 0
    ptp4l[223.991]: config item (null).summary_interval is 0
    ptp4l[224.323]: config item (null).sanity_freq_limit is 200000000
    ptp4l[224.323]: PI servo: sync interval 1.000 kp 0.700 ki 0.300000
    ptp4l[224.323]: config item /var/run/ptp4l.phc_index is -1
    ptp4l[224.323]: config item /var/run/ptp4l.boundary_clock_jbod is 0
    ptp4l[224.323]: config item /var/run/ptp4l.serverOnly is 0
    ptp4l[224.323]: config item /var/run/ptp4l.BMCA is 0
    ptp4l[224.323]: config item /var/run/ptp4l.network_transport is 0
    ptp4l[224.323]: config item /var/run/ptp4l.delayAsymmetry is 0
    ptp4l[224.323]: config item /var/run/ptp4l.follow_up_info is 0
    ptp4l[224.323]: config item /var/run/ptp4l.freq_est_interval is 1
    ptp4l[224.323]: config item /var/run/ptp4l.msg_interval_request is 0
    ptp4l[224.323]: config item /var/run/ptp4l.net_sync_monitor is 0
    ptp4l[224.323]: config item /var/run/ptp4l.path_trace_enabled is 0
    ptp4l[224.323]: config item /var/run/ptp4l.tc_spanning_tree is 0
    ptp4l[224.323]: config item /var/run/ptp4l.ingressLatency is 0
    ptp4l[224.323]: config item /var/run/ptp4l.egressLatency is 0
    ptp4l[224.323]: config item /var/run/ptp4l.delay_mechanism is 0
    ptp4l[224.323]: config item /var/run/ptp4l.power_profile.version is 0
    ptp4l[224.323]: config item /var/run/ptp4l.power_profile.grandmasterID is 0
    ptp4l[224.323]: config item /var/run/ptp4l.power_profile.2011.grandmasterTimeInaccuracy is -1
    ptp4l[224.323]: config item /var/run/ptp4l.power_profile.2011.networkTimeInaccuracy is -1
    ptp4l[224.323]: config item /var/run/ptp4l.power_profile.2017.totalTimeInaccuracy is -1
    ptp4l[224.323]: config item /var/run/ptp4l.hybrid_e2e is 0
    ptp4l[224.323]: config item /var/run/ptp4l.fault_badpeernet_interval is 16
    ptp4l[224.323]: config item /var/run/ptp4l.fault_reset_interval is 4
    ptp4l[224.323]: config item /var/run/ptp4l.tsproc_mode is 0
    ptp4l[224.323]: config item /var/run/ptp4l.delay_filter is 1
    ptp4l[224.323]: config item /var/run/ptp4l.delay_filter_length is 1
    ptp4l[224.323]: config item /var/run/ptp4lro.phc_index is -1
    ptp4l[224.323]: config item /var/run/ptp4lro.boundary_clock_jbod is 0
    ptp4l[224.323]: config item /var/run/ptp4lro.serverOnly is 0
    ptp4l[224.323]: config item /var/run/ptp4lro.BMCA is 0
    ptp4l[224.323]: config item /var/run/ptp4lro.network_transport is 0
    ptp4l[224.323]: config item /var/run/ptp4lro.delayAsymmetry is 0
    ptp4l[224.323]: config item /var/run/ptp4lro.follow_up_info is 0
    ptp4l[224.323]: config item /var/run/ptp4lro.freq_est_interval is 1
    ptp4l[224.323]: config item /var/run/ptp4lro.msg_interval_request is 0
    ptp4l[224.323]: config item /var/run/ptp4lro.net_sync_monitor is 0
    ptp4l[224.323]: config item /var/run/ptp4lro.path_trace_enabled is 0
    ptp4l[224.323]: config item /var/run/ptp4lro.tc_spanning_tree is 0
    ptp4l[224.323]: config item /var/run/ptp4lro.ingressLatency is 0
    ptp4l[224.323]: config item /var/run/ptp4lro.egressLatency is 0
    ptp4l[224.324]: config item /var/run/ptp4lro.delay_mechanism is 0
    ptp4l[224.324]: config item /var/run/ptp4lro.power_profile.version is 0
    ptp4l[224.324]: config item /var/run/ptp4lro.power_profile.grandmasterID is 0
    ptp4l[224.324]: config item /var/run/ptp4lro.power_profile.2011.grandmasterTimeInaccuracy is -1
    ptp4l[224.324]: config item /var/run/ptp4lro.power_profile.2011.networkTimeInaccuracy is -1
    ptp4l[224.324]: config item /var/run/ptp4lro.power_profile.2017.totalTimeInaccuracy is -1
    ptp4l[224.324]: config item /var/run/ptp4lro.hybrid_e2e is 0
    ptp4l[224.324]: config item /var/run/ptp4lro.fault_badpeernet_interval is 16
    ptp4l[224.324]: config item /var/run/ptp4lro.fault_reset_interval is 4
    ptp4l[224.324]: config item /var/run/ptp4lro.tsproc_mode is 0
    ptp4l[224.324]: config item /var/run/ptp4lro.delay_filter is 1
    ptp4l[224.324]: config item /var/run/ptp4lro.delay_filter_length is 1
    ptp4l[224.324]: config item (null).slave_event_monitor is ''
    ptp4l[224.656]: config item eth0.phc_index is -1
    ptp4l[224.656]: config item eth0.boundary_clock_jbod is 0
    ptp4l[224.656]: config item eth0.serverOnly is 0
    ptp4l[224.656]: config item eth0.BMCA is 0
    ptp4l[224.656]: config item eth0.network_transport is 3
    ptp4l[224.656]: config item eth0.delayAsymmetry is 0
    ptp4l[224.656]: config item eth0.follow_up_info is 0
    ptp4l[224.656]: config item eth0.freq_est_interval is 1
    ptp4l[224.656]: config item eth0.msg_interval_request is 0
    ptp4l[224.656]: config item eth0.net_sync_monitor is 0
    ptp4l[224.657]: config item eth0.path_trace_enabled is 0
    ptp4l[224.657]: config item eth0.tc_spanning_tree is 0
    ptp4l[224.657]: config item eth0.ingressLatency is 0
    ptp4l[224.657]: config item eth0.egressLatency is 0
    ptp4l[224.657]: config item eth0.delay_mechanism is 2
    ptp4l[224.657]: config item eth0.power_profile.version is 0
    ptp4l[224.657]: config item eth0.power_profile.grandmasterID is 0
    ptp4l[224.657]: config item eth0.power_profile.2011.grandmasterTimeInaccuracy is -1
    ptp4l[224.657]: config item eth0.power_profile.2011.networkTimeInaccuracy is -1
    ptp4l[224.657]: config item eth0.power_profile.2017.totalTimeInaccuracy is -1
    ptp4l[224.657]: config item eth0.unicast_master_table is 0
    ptp4l[224.657]: config item eth0.unicast_listen is 0
    ptp4l[224.657]: config item eth0.hybrid_e2e is 0
    ptp4l[224.657]: config item eth0.fault_badpeernet_interval is 16
    ptp4l[224.657]: config item eth0.fault_reset_interval is 4
    ptp4l[224.657]: config item eth0.tsproc_mode is 0
    ptp4l[224.657]: config item eth0.delay_filter is 1
    ptp4l[224.657]: config item eth0.delay_filter_length is 10
    ptp4l[224.657]: config item eth0.logMinDelayReqInterval is 0
    ptp4l[224.657]: config item eth0.logAnnounceInterval is 1
    ptp4l[224.657]: config item eth0.inhibit_announce is 0
    ptp4l[224.657]: config item eth0.ignore_source_id is 0
    ptp4l[224.657]: config item eth0.announceReceiptTimeout is 3
    ptp4l[224.657]: config item eth0.syncReceiptTimeout is 0
    ptp4l[224.657]: config item eth0.transportSpecific is 0
    ptp4l[224.657]: config item eth0.ignore_transport_specific is 0
    ptp4l[224.657]: config item eth0.G.8275.portDS.localPriority is 128
    ptp4l[224.657]: config item eth0.logSyncInterval is 0
    ptp4l[224.657]: config item eth0.operLogSyncInterval is 0
    ptp4l[224.657]: config item eth0.logMinPdelayReqInterval is 0
    ptp4l[224.657]: config item eth0.operLogPdelayReqInterval is 0
    ptp4l[224.657]: config item eth0.neighborPropDelayThresh is 20000000
    ptp4l[224.657]: config item eth0.min_neighbor_prop_delay is -20000000
    ptp4l[224.657]: config item eth0.delay_response_timeout is 0
    ptp4l[224.657]: config item eth0.interface_rate_tlv is 0
    ptp4l[224.657]: config item eth0.asCapable is 1
    ptp4l[224.657]: config item eth0.inhibit_delay_req is 0
    ptp4l[224.657]: config item eth0.ptp_dst_mac is '01:1B:19:00:00:00'
    ptp4l[224.657]: config item eth0.p2p_dst_mac is '01:80:C2:00:00:0E'
    ptp4l[224.657]: config item global.socket_priority is 0
    ptp4l[224.839]: port 1 (eth0): INITIALIZING to LISTENING on INIT_COMPLETE
    ptp4l[224.839]: config item /var/run/ptp4l.logMinDelayReqInterval is 0
    ptp4l[224.839]: config item /var/run/ptp4l.logAnnounceInterval is 1
    ptp4l[224.839]: config item /var/run/ptp4l.inhibit_announce is 0
    ptp4l[224.839]: config item /var/run/ptp4l.ignore_source_id is 0
    ptp4l[224.839]: config item /var/run/ptp4l.announceReceiptTimeout is 0
    ptp4l[224.839]: config item /var/run/ptp4l.syncReceiptTimeout is 0
    ptp4l[224.839]: config item /var/run/ptp4l.transportSpecific is 0
    ptp4l[224.840]: config item /var/run/ptp4l.ignore_transport_specific is 0
    ptp4l[224.840]: config item /var/run/ptp4l.G.8275.portDS.localPriority is 128
    ptp4l[224.840]: config item /var/run/ptp4l.logSyncInterval is 0
    ptp4l[224.840]: config item /var/run/ptp4l.operLogSyncInterval is 0
    ptp4l[224.840]: config item /var/run/ptp4l.logMinPdelayReqInterval is 0
    ptp4l[224.840]: config item /var/run/ptp4l.operLogPdelayReqInterval is 0
    ptp4l[224.840]: config item /var/run/ptp4l.neighborPropDelayThresh is 20000000
    ptp4l[224.840]: config item /var/run/ptp4l.min_neighbor_prop_delay is -20000000
    ptp4l[224.840]: config item /var/run/ptp4l.delay_response_timeout is 0
    ptp4l[224.840]: config item /var/run/ptp4l.interface_rate_tlv is 0
    ptp4l[224.840]: config item /var/run/ptp4l.asCapable is 1
    ptp4l[224.840]: config item /var/run/ptp4l.inhibit_delay_req is 0
    ptp4l[224.840]: config item (null).uds_ro_address is '/var/run/ptp4lro'
    ptp4l[224.840]: config item (null).uds_address is '/var/run/ptp4l'
    ptp4l[224.840]: config item /var/run/ptp4l.uds_file_mode is 432
    ptp4l[224.840]: port 0 (/var/run/ptp4l): INITIALIZING to LISTENING on INIT_COMPLETE
    ptp4l[224.840]: config item /var/run/ptp4lro.logMinDelayReqInterval is 0
    ptp4l[224.840]: config item /var/run/ptp4lro.logAnnounceInterval is 1
    ptp4l[224.840]: config item /var/run/ptp4lro.inhibit_announce is 0
    ptp4l[224.840]: config item /var/run/ptp4lro.ignore_source_id is 0
    ptp4l[224.840]: config item /var/run/ptp4lro.announceReceiptTimeout is 0
    ptp4l[224.840]: config item /var/run/ptp4lro.syncReceiptTimeout is 0
    ptp4l[224.840]: config item /var/run/ptp4lro.transportSpecific is 0
    ptp4l[225.174]: config item /var/run/ptp4lro.ignore_transport_specific is 0
    ptp4l[225.174]: config item /var/run/ptp4lro.G.8275.portDS.localPriority is 128
    ptp4l[225.174]: config item /var/run/ptp4lro.logSyncInterval is 0
    ptp4l[225.174]: config item /var/run/ptp4lro.operLogSyncInterval is 0
    ptp4l[225.174]: config item /var/run/ptp4lro.logMinPdelayReqInterval is 0
    ptp4l[225.174]: config item /var/run/ptp4lro.operLogPdelayReqInterval is 0
    ptp4l[225.174]: config item /var/run/ptp4lro.neighborPropDelayThresh is 20000000
    ptp4l[225.174]: config item /var/run/ptp4lro.min_neighbor_prop_delay is -20000000
    ptp4l[225.174]: config item /var/run/ptp4lro.delay_response_timeout is 0
    ptp4l[225.174]: config item /var/run/ptp4lro.interface_rate_tlv is 0
    ptp4l[225.174]: config item /var/run/ptp4lro.asCapable is 1
    ptp4l[225.174]: config item /var/run/ptp4lro.inhibit_delay_req is 0
    ptp4l[225.174]: config item (null).uds_ro_address is '/var/run/ptp4lro'
    ptp4l[225.174]: config item (null).uds_address is '/var/run/ptp4l'
    ptp4l[225.174]: config item /var/run/ptp4lro.uds_ro_file_mode is 438
    ptp4l[225.174]: port 0 (/var/run/ptp4lro): INITIALIZING to LISTENING on INIT_COMPLETE
    ptp4l[225.174]: port 1 (eth0): setting asCapable
    ptp4l[225.174]: port 1 (eth0): received SYNC without timestamp
    ptp4l[225.174]: port 1 (eth0): ignoring message
    ptp4l[225.174]: port 1 (eth0): received PDELAY_REQ without timestamp
    ptp4l[225.805]: port 1 (eth0): peer port id set to 40a6b7.fffe.9c2706-1
    ptp4l[225.839]: port 1 (eth0): delay timeout
    ptp4l[225.840]: delay   filtered       1298   raw       1298
    ptp4l[226.755]: port 1 (eth0): new foreign master 40a6b7.fffe.9c2706-1
    ptp4l[226.840]: port 1 (eth0): delay timeout
    ptp4l[226.840]: delay   filtered       1308   raw       1318
    ptp4l[227.840]: port 1 (eth0): delay timeout
    ptp4l[227.841]: delay   filtered       1301   raw       1301
    ptp4l[228.840]: port 1 (eth0): delay timeout
    ptp4l[228.841]: delay   filtered       1301   raw       1302
    ptp4l[229.840]: port 1 (eth0): delay timeout
    ptp4l[229.841]: delay   filtered       1302   raw       1302
    ptp4l[230.756]: selected best master clock 40a6b7.fffe.9c2706
    ptp4l[230.756]: port 1 (eth0): LISTENING to UNCALIBRATED on RS_SLAVE
    ptp4l[230.841]: port 1 (eth0): delay timeout
    ptp4l[230.841]: delay   filtered       1301   raw       1300
    ptp4l[231.757]: master offset -1738832211104347386 s0 freq      -0 path delay      1301
    ptp4l[231.841]: port 1 (eth0): delay timeout
    ptp4l[231.842]: delay   filtered       1301   raw       1296
    ptp4l[232.756]: master offset -1738832211104373085 s1 freq  -25697 path delay      1301
    ptp4l[232.841]: port 1 (eth0): delay timeout
    ptp4l[232.842]: delay   filtered       1300   raw       1293
    ptp4l[233.757]: master offset      -4747 s2 freq  -30444 path delay      1300
    ptp4l[233.757]: port 1 (eth0): UNCALIBRATED to SLAVE on MASTER_CLOCK_SELECTED
    ptp4l[233.841]: port 1 (eth0): delay timeout
    ptp4l[233.842]: delay   filtered       1301   raw       1308
    ptp4l[234.757]: master offset         -6 s2 freq  -27127 path delay      1301
    ptp4l[234.842]: port 1 (eth0): delay timeout
    ptp4l[234.842]: delay   filtered       1301   raw       1302
    ptp4l[235.757]: master offset       1423 s2 freq  -25700 path delay      1301
    ptp4l[235.842]: port 1 (eth0): delay timeout
    ptp4l[235.843]: delay   filtered       1301   raw       1300
    ptp4l[236.757]: master offset       1385 s2 freq  -25311 path delay      1301
    ptp4l[236.842]: port 1 (eth0): delay timeout
    ptp4l[236.843]: delay   filtered       1300   raw       1291
    ptp4l[237.757]: master offset        991 s2 freq  -25289 path delay      1300
    ptp4l[237.842]: port 1 (eth0): delay timeout
    ptp4l[237.843]: delay   filtered       1301   raw       1304
    ptp4l[238.757]: master offset        536 s2 freq  -25447 path delay      1301
    ptp4l[238.843]: port 1 (eth0): delay timeout
    ptp4l[238.843]: delay   filtered       1300   raw       1293
    ptp4l[239.757]: master offset        278 s2 freq  -25544 path delay      1300
    ptp4l[239.843]: port 1 (eth0): delay timeout
    ptp4l[239.844]: delay   filtered       1300   raw       1309
    ptp4l[240.757]: master offset        118 s2 freq  -25621 path delay      1300
    ptp4l[240.844]: port 1 (eth0): delay timeout
    ptp4l[240.844]: delay   filtered       1300   raw       1300
    ptp4l[241.758]: master offset        -12 s2 freq  -25715 path delay      1300
    ptp4l[241.844]: port 1 (eth0): delay timeout
    ptp4l[241.844]: delay   filtered       1300   raw       1287
    ptp4l[242.758]: master offset         -6 s2 freq  -25713 path delay      1300
    ptp4l[242.844]: port 1 (eth0): delay timeout
    ptp4l[242.845]: delay   filtered       1300   raw       1297
    ptp4l[243.758]: master offset        -46 s2 freq  -25755 path delay      1300
    ptp4l[243.844]: port 1 (eth0): delay timeout
    ptp4l[243.845]: delay   filtered       1300   raw       1302                           <<<< eth1 was made down here
    ptp4l[244.657]: port 1 (eth0): ignoring message[  244.659619] am65-cpsw-nuss 8000000.ethernet eth1: Link is Down
    
    ptp4l[244.845]: port 1 (eth0): delay timeout
    ptp4l[245.845]: port 1 (eth0): delay timeout
    ptp4l[246.845]: port 1 (eth0): delay timeout
    ptp4l[247.846]: port 1 (eth0): delay timeout
    ptp4l[248.846]: port 1 (eth0): delay timeout
    ptp4l[249.161]: port 1 (eth0): announce timeout
    ptp4l[249.161]: port 1 (eth0): SLAVE to LISTENING on ANNOUNCE_RECEIPT_TIMEOUT_EXPIRES
    ptp4l[249.162]: selected local clock 543b30.fffe.0118ee as best master
    ptp4l[250.162]: port 1 (eth0): delay timeout
    ptp4l[251.162]: port 1 (eth0): delay timeout
    ptp4l[252.162]: port 1 (eth0): delay timeout
    ptp4l[253.163]: port 1 (eth0): delay timeout
    ptp4l[254.163]: port 1 (eth0): delay timeout
    ptp4l[255.163]: port 1 (eth0): delay timeout
    ptp4l[255.598]: port 1 (eth0): announce timeout
    ptp4l[256.163]: port 1 (eth0): delay timeout
    ptp4l[257.164]: port 1 (eth0): delay timeout
    ptp4l[258.164]: port 1 (eth0): delay timeout                          <<<< eth1 was made up here
    [  258.689017] am65-cpsw-nuss 8000000.ethernet eth1: PHY [8000f00.mdio:01] driver [TI DP83867] (irq=POLL)
    [  258.689047] am65-cpsw-nuss 8000000.ethernet eth1: configuring for phy/rgmii-rxid link mode
    ptp4l[258.702]: port 1 (eth0): ignoring message
    [  258.722844] 8021q: adding VLAN 0 to HW filter on device eth1
    ptp4l[259.165]: port 1 (eth0): delay timeout
    ptp4l[260.165]: port 1 (eth0): delay timeout
    ptp4l[261.165]: port 1 (eth0): delay timeout
    ptp4l[261.757]: port 1 (eth0): ignoring message
    [  261.759441] am65-cpsw-nuss 8000000.ethernet eth1: Link is Up - 100Mbps/Full - flow control off
    ptp4l[262.165]: port 1 (eth0): delay timeout
    ptp4l[263.166]: port 1 (eth0): delay timeout
    ptp4l[263.301]: port 1 (eth0): announce timeout
    ptp4l[264.166]: port 1 (eth0): delay timeout
    ptp4l[265.166]: port 1 (eth0): delay timeout
    ptp4l[266.167]: port 1 (eth0): delay timeout
    ptp4l[267.167]: port 1 (eth0): delay timeout
    ptp4l[268.167]: port 1 (eth0): delay timeout
    ptp4l[269.168]: port 1 (eth0): delay timeout
    ptp4l[269.988]: port 1 (eth0): announce timeout
    ptp4l[270.168]: port 1 (eth0): delay timeout
    ptp4l[271.168]: port 1 (eth0): delay timeout
    ptp4l[272.168]: port 1 (eth0): delay timeout
    ptp4l[273.169]: port 1 (eth0): delay timeout                      <<<< eth0 was made up (Again) here
    ptp4l[273.169]: delay   filtered       1299   raw       1299
    ptp4l[274.169]: port 1 (eth0): delay timeout
    ptp4l[274.170]: delay   filtered       1299   raw       1303
    ptp4l[274.758]: selected best master clock 40a6b7.fffe.9c2706
    ptp4l[274.758]: port 1 (eth0): LISTENING to UNCALIBRATED on RS_SLAVE
    ptp4l[275.169]: port 1 (eth0): delay timeout
    ptp4l[275.170]: delay   filtered       1299   raw       1285
    ptp4l[275.761]: master offset       2506 s2 freq  -23217 path delay      1299
    ptp4l[275.761]: port 1 (eth0): UNCALIBRATED to SLAVE on MASTER_CLOCK_SELECTED
    ptp4l[276.170]: port 1 (eth0): delay timeout
    ptp4l[276.170]: delay   filtered       1299   raw       1306
    ptp4l[276.761]: master offset         73 s2 freq  -24898 path delay      1299
    

  • Hi Dipal,

    I still need to test on my end. However, I see from your log "Eth0 was made up (Again) here". This is confusing to me because it was indicated to me that eth1 was the one that was made down and back up. Just to be clear, ONLY eth1 was disconnected in the logs above and eth0 was always kept connected?

    -Daolin

  • Hi Daolin,

    Your understanding is correct, eth0 is always up. In short "ipconfig eth0 up" (even though eth0 interface is already up) does something which make PTP packets to flow again. 

    What happens is this

    1. eth0 is up and has PTP working as expected, eth1 is also up at this state
    2. eth1 link state is changed from up to down -> PTP stops working on eth0
    3. eth1 link state is changed from down to up -> PTP still doesn't work on eth0
    4. Now if you run "ifconfig eth0 up" we see that PTP syncs again (eth0 interface was always up, this command is redundant but it make PTP work again without restarting the PTP process.) As noted by you, we don't see any logs related to eth0 but PTP starts working.

    After step 2 in above sequence, there are thee ways to make PTP work again 

    1. Run "ifconfig eth0 up"
    2. Run "ip link set eth0 promisc on"
    3. Stop PTP process on DUT and start again.

    My analysis is that there is some configuration in the ALE which prevents PTP multicast packets to reach CPU, and this configuration is corrected by these commands, that's why when promiscus mode is enabled we don't see this issue as nothing is dropped by ALE. 

    Hope it is clear now.

    Regards

    -Dipal

  • Hello Dipal,

    I ran the same ptp4l test on my setup of two AM64x EVMs connected eth0 to eth0 and eth1 to eth1 and configuring the eth1 interface in the ptp4l command. The Linux kernel I'm using the is the same as provided in the latest SDK RT-Linux 10.01 (kernel 6.6). 

    DUT1 (AM64x EVM1) - PTP grandmaster

    root@am64xx-evm:~# ptp4l -2 -P -H -i eth1 -m -q -l 7
    ptp4l[192.319]: config item (null).assume_two_step is 0
    ptp4l[192.319]: config item (null).check_fup_sync is 0
    ptp4l[192.319]: config item (null).tx_timestamp_timeout is 10
    ptp4l[192.319]: config item (null).hwts_filter is 0
    ptp4l[192.319]: config item (null).clock_servo is 0
    ptp4l[192.319]: config item (null).clock_type is 32768
    ptp4l[192.319]: config item (null).clock_servo is 0
    ptp4l[192.319]: config item (null).clockClass is 248
    ptp4l[192.319]: config item (null).clockAccuracy is 254
    ptp4l[192.319]: config item (null).offsetScaledLogVariance is 65535
    ptp4l[192.319]: config item (null).productDescription is ';;'
    ptp4l[192.319]: config item (null).revisionData is ';;'
    ptp4l[192.319]: config item (null).userDescription is ''
    ptp4l[192.319]: config item (null).manufacturerIdentity is '00:00:00'
    ptp4l[192.319]: config item (null).domainNumber is 0
    ptp4l[192.319]: config item (null).clientOnly is 0
    ptp4l[192.319]: config item (null).gmCapable is 1
    ptp4l[192.319]: config item (null).gmCapable is 1
    ptp4l[192.319]: config item (null).G.8275.defaultDS.localPriority is 128
    ptp4l[192.319]: config item (null).maxStepsRemoved is 255
    ptp4l[192.319]: config item (null).clock_class_threshold is 248
    ptp4l[192.319]: config item (null).time_stamping is 1
    ptp4l[192.319]: config item (null).twoStepFlag is 1
    ptp4l[192.319]: config item (null).twoStepFlag is 1
    ptp4l[192.319]: config item (null).time_stamping is 1
    ptp4l[192.319]: config item (null).priority1 is 128
    ptp4l[192.319]: config item (null).priority2 is 128
    ptp4l[192.320]: interface index 3 is up
    ptp4l[192.320]: config item eth1.phc_index is -1
    ptp4l[192.320]: config item (null).free_running is 0
    ptp4l[192.320]: selected /dev/ptp0 as PTP clock
    ptp4l[192.320]: config item (null).clockIdentity is '000000.0000.000000'
    ptp4l[192.320]: config item (null).uds_address is '/var/run/ptp4l'
    ptp4l[192.320]: section item /var/run/ptp4l.announceReceiptTimeout now 0
    ptp4l[192.320]: section item /var/run/ptp4l.delay_mechanism now 0
    ptp4l[192.320]: section item /var/run/ptp4l.network_transport now 0
    ptp4l[192.320]: section item /var/run/ptp4l.delay_filter_length now 1
    ptp4l[192.320]: config item (null).uds_ro_address is '/var/run/ptp4lro'
    ptp4l[192.320]: section item /var/run/ptp4lro.announceReceiptTimeout now 0
    ptp4l[192.320]: section item /var/run/ptp4lro.delay_mechanism now 0
    ptp4l[192.320]: section item /var/run/ptp4lro.network_transport now 0
    ptp4l[192.320]: section item /var/run/ptp4lro.delay_filter_length now 1
    ptp4l[192.320]: config item (null).free_running is 0
    ptp4l[192.320]: config item (null).freq_est_interval is 1
    ptp4l[192.320]: config item (null).write_phase_mode is 0
    ptp4l[192.320]: config item (null).gmCapable is 1
    ptp4l[192.320]: config item (null).kernel_leap is 1
    ptp4l[192.320]: config item (null).utc_offset is 37
    ptp4l[192.320]: config item (null).timeSource is 160
    ptp4l[192.320]: config item (null).step_window is 0
    ptp4l[192.321]: config item (null).pi_proportional_const is 0.000000
    ptp4l[192.321]: config item (null).pi_integral_const is 0.000000
    ptp4l[192.321]: config item (null).pi_proportional_scale is 0.000000
    ptp4l[192.321]: config item (null).pi_proportional_exponent is -0.300000
    ptp4l[192.321]: config item (null).pi_proportional_norm_max is 0.700000
    ptp4l[192.321]: config item (null).pi_integral_scale is 0.000000
    ptp4l[192.321]: config item (null).pi_integral_exponent is 0.400000
    ptp4l[192.321]: config item (null).pi_integral_norm_max is 0.300000
    ptp4l[192.321]: config item (null).step_threshold is 0.000000
    ptp4l[192.321]: config item (null).first_step_threshold is 0.000020
    ptp4l[192.321]: config item (null).max_frequency is 900000000
    ptp4l[192.321]: config item (null).servo_offset_threshold is 0
    ptp4l[192.321]: config item (null).servo_num_offset_values is 10
    ptp4l[192.321]: config item (null).dataset_comparison is 0
    ptp4l[192.321]: config item (null).tsproc_mode is 0
    ptp4l[192.321]: config item (null).delay_filter is 1
    ptp4l[192.321]: config item (null).delay_filter_length is 10
    ptp4l[192.321]: config item (null).initial_delay is 0
    ptp4l[192.321]: config item (null).summary_interval is 0
    ptp4l[192.652]: config item (null).sanity_freq_limit is 200000000
    ptp4l[192.652]: PI servo: sync interval 1.000 kp 0.700 ki 0.300000
    ptp4l[192.652]: config item /var/run/ptp4l.phc_index is -1
    ptp4l[192.652]: config item /var/run/ptp4l.boundary_clock_jbod is 0
    ptp4l[192.652]: config item /var/run/ptp4l.serverOnly is 0
    ptp4l[192.652]: config item /var/run/ptp4l.BMCA is 0
    ptp4l[192.652]: config item /var/run/ptp4l.network_transport is 0
    ptp4l[192.652]: config item /var/run/ptp4l.delayAsymmetry is 0
    ptp4l[192.652]: config item /var/run/ptp4l.follow_up_info is 0
    ptp4l[192.652]: config item /var/run/ptp4l.freq_est_interval is 1
    ptp4l[192.653]: config item /var/run/ptp4l.msg_interval_request is 0
    ptp4l[192.653]: config item /var/run/ptp4l.net_sync_monitor is 0
    ptp4l[192.653]: config item /var/run/ptp4l.path_trace_enabled is 0
    ptp4l[192.653]: config item /var/run/ptp4l.tc_spanning_tree is 0
    ptp4l[192.653]: config item /var/run/ptp4l.ingressLatency is 0
    ptp4l[192.653]: config item /var/run/ptp4l.egressLatency is 0
    ptp4l[192.653]: config item /var/run/ptp4l.delay_mechanism is 0
    ptp4l[192.653]: config item /var/run/ptp4l.power_profile.version is 0
    ptp4l[192.653]: config item /var/run/ptp4l.power_profile.grandmasterID is 0
    ptp4l[192.653]: config item /var/run/ptp4l.power_profile.2011.grandmasterTimeInaccuracy is -1
    ptp4l[192.653]: config item /var/run/ptp4l.power_profile.2011.networkTimeInaccuracy is -1
    ptp4l[192.653]: config item /var/run/ptp4l.power_profile.2017.totalTimeInaccuracy is -1
    ptp4l[192.653]: config item /var/run/ptp4l.hybrid_e2e is 0
    ptp4l[192.653]: config item /var/run/ptp4l.fault_badpeernet_interval is 16
    ptp4l[192.653]: config item /var/run/ptp4l.fault_reset_interval is 4
    ptp4l[192.653]: config item /var/run/ptp4l.tsproc_mode is 0
    ptp4l[192.653]: config item /var/run/ptp4l.delay_filter is 1
    ptp4l[192.653]: config item /var/run/ptp4l.delay_filter_length is 1
    ptp4l[192.653]: config item /var/run/ptp4lro.phc_index is -1
    ptp4l[192.653]: config item /var/run/ptp4lro.boundary_clock_jbod is 0
    ptp4l[192.653]: config item /var/run/ptp4lro.serverOnly is 0
    ptp4l[192.653]: config item /var/run/ptp4lro.BMCA is 0
    ptp4l[192.653]: config item /var/run/ptp4lro.network_transport is 0
    ptp4l[192.653]: config item /var/run/ptp4lro.delayAsymmetry is 0
    ptp4l[192.653]: config item /var/run/ptp4lro.follow_up_info is 0
    ptp4l[192.653]: config item /var/run/ptp4lro.freq_est_interval is 1
    ptp4l[192.653]: config item /var/run/ptp4lro.msg_interval_request is 0
    ptp4l[192.653]: config item /var/run/ptp4lro.net_sync_monitor is 0
    ptp4l[192.653]: config item /var/run/ptp4lro.path_trace_enabled is 0
    ptp4l[192.653]: config item /var/run/ptp4lro.tc_spanning_tree is 0
    ptp4l[192.653]: config item /var/run/ptp4lro.ingressLatency is 0
    ptp4l[192.653]: config item /var/run/ptp4lro.egressLatency is 0
    ptp4l[192.653]: config item /var/run/ptp4lro.delay_mechanism is 0
    ptp4l[192.653]: config item /var/run/ptp4lro.power_profile.version is 0
    ptp4l[192.653]: config item /var/run/ptp4lro.power_profile.grandmasterID is 0
    ptp4l[192.653]: config item /var/run/ptp4lro.power_profile.2011.grandmasterTimeInaccuracy is -1
    ptp4l[192.653]: config item /var/run/ptp4lro.power_profile.2011.networkTimeInaccuracy is -1
    ptp4l[192.653]: config item /var/run/ptp4lro.power_profile.2017.totalTimeInaccuracy is -1
    ptp4l[192.653]: config item /var/run/ptp4lro.hybrid_e2e is 0
    ptp4l[192.653]: config item /var/run/ptp4lro.fault_badpeernet_interval is 16
    ptp4l[192.653]: config item /var/run/ptp4lro.fault_reset_interval is 4
    ptp4l[192.653]: config item /var/run/ptp4lro.tsproc_mode is 0
    ptp4l[192.653]: config item /var/run/ptp4lro.delay_filter is 1
    ptp4l[192.653]: config item /var/run/ptp4lro.delay_filter_length is 1
    ptp4l[192.653]: config item (null).slave_event_monitor is ''
    ptp4l[192.986]: config item eth1.phc_index is -1
    ptp4l[192.986]: config item eth1.boundary_clock_jbod is 0
    ptp4l[192.986]: config item eth1.serverOnly is 0
    ptp4l[192.986]: config item eth1.BMCA is 0
    ptp4l[192.986]: config item eth1.network_transport is 3
    ptp4l[192.986]: config item eth1.delayAsymmetry is 0
    ptp4l[192.986]: config item eth1.follow_up_info is 0
    ptp4l[192.986]: config item eth1.freq_est_interval is 1
    ptp4l[192.986]: config item eth1.msg_interval_request is 0
    ptp4l[192.986]: config item eth1.net_sync_monitor is 0
    ptp4l[192.986]: config item eth1.path_trace_enabled is 0
    ptp4l[192.986]: config item eth1.tc_spanning_tree is 0
    ptp4l[192.986]: config item eth1.ingressLatency is 0
    ptp4l[192.986]: config item eth1.egressLatency is 0
    ptp4l[192.986]: config item eth1.delay_mechanism is 2
    ptp4l[192.986]: config item eth1.power_profile.version is 0
    ptp4l[192.986]: config item eth1.power_profile.grandmasterID is 0
    ptp4l[192.986]: config item eth1.power_profile.2011.grandmasterTimeInaccuracy is -1
    ptp4l[192.986]: config item eth1.power_profile.2011.networkTimeInaccuracy is -1
    ptp4l[192.986]: config item eth1.power_profile.2017.totalTimeInaccuracy is -1
    ptp4l[192.986]: config item eth1.unicast_master_table is 0
    ptp4l[192.986]: config item eth1.unicast_listen is 0
    ptp4l[192.986]: config item eth1.hybrid_e2e is 0
    ptp4l[192.986]: config item eth1.fault_badpeernet_interval is 16
    ptp4l[192.986]: config item eth1.fault_reset_interval is 4
    ptp4l[192.986]: config item eth1.tsproc_mode is 0
    ptp4l[192.986]: config item eth1.delay_filter is 1
    ptp4l[192.986]: config item eth1.delay_filter_length is 10
    ptp4l[192.986]: config item eth1.logMinDelayReqInterval is 0
    ptp4l[192.986]: config item eth1.logAnnounceInterval is 1
    ptp4l[192.986]: config item eth1.inhibit_announce is 0
    ptp4l[192.986]: config item eth1.ignore_source_id is 0
    ptp4l[192.986]: config item eth1.announceReceiptTimeout is 3
    ptp4l[192.986]: config item eth1.syncReceiptTimeout is 0
    ptp4l[192.986]: config item eth1.transportSpecific is 0
    ptp4l[192.986]: config item eth1.ignore_transport_specific is 0
    ptp4l[192.986]: config item eth1.G.8275.portDS.localPriority is 128
    ptp4l[192.986]: config item eth1.logSyncInterval is 0
    ptp4l[192.986]: config item eth1.operLogSyncInterval is 0
    ptp4l[192.986]: config item eth1.logMinPdelayReqInterval is 0
    ptp4l[192.986]: config item eth1.operLogPdelayReqInterval is 0
    ptp4l[192.987]: config item eth1.neighborPropDelayThresh is 20000000
    ptp4l[192.987]: config item eth1.min_neighbor_prop_delay is -20000000
    ptp4l[192.987]: config item eth1.delay_response_timeout is 0
    ptp4l[192.987]: config item eth1.interface_rate_tlv is 0
    ptp4l[192.987]: config item eth1.asCapable is 1
    ptp4l[192.987]: config item eth1.inhibit_delay_req is 0
    ptp4l[192.987]: config item eth1.ptp_dst_mac is '01:1B:19:00:00:00'
    ptp4l[192.987]: config item eth1.p2p_dst_mac is '01:80:C2:00:00:0E'
    ptp4l[192.987]: config item global.socket_priority is 0
    ptp4l[193.021]: port 1 (eth1): INITIALIZING to LISTENING on INIT_COMPLETE
    ptp4l[193.021]: config item /var/run/ptp4l.logMinDelayReqInterval is 0
    ptp4l[193.021]: config item /var/run/ptp4l.logAnnounceInterval is 1
    ptp4l[193.021]: config item /var/run/ptp4l.inhibit_announce is 0
    ptp4l[193.021]: config item /var/run/ptp4l.ignore_source_id is 0
    ptp4l[193.021]: config item /var/run/ptp4l.announceReceiptTimeout is 0
    ptp4l[193.021]: config item /var/run/ptp4l.syncReceiptTimeout is 0
    ptp4l[193.021]: config item /var/run/ptp4l.transportSpecific is 0
    ptp4l[193.021]: config item /var/run/ptp4l.ignore_transport_specific is 0
    ptp4l[193.021]: config item /var/run/ptp4l.G.8275.portDS.localPriority is 128
    ptp4l[193.021]: config item /var/run/ptp4l.logSyncInterval is 0
    ptp4l[193.022]: config item /var/run/ptp4l.operLogSyncInterval is 0
    ptp4l[193.022]: config item /var/run/ptp4l.logMinPdelayReqInterval is 0
    ptp4l[193.022]: config item /var/run/ptp4l.operLogPdelayReqInterval is 0
    ptp4l[193.022]: config item /var/run/ptp4l.neighborPropDelayThresh is 20000000
    ptp4l[193.022]: config item /var/run/ptp4l.min_neighbor_prop_delay is -20000000
    ptp4l[193.022]: config item /var/run/ptp4l.delay_response_timeout is 0
    ptp4l[193.354]: config item /var/run/ptp4l.interface_rate_tlv is 0
    ptp4l[193.354]: config item /var/run/ptp4l.asCapable is 1
    ptp4l[193.354]: config item /var/run/ptp4l.inhibit_delay_req is 0
    ptp4l[193.354]: config item (null).uds_ro_address is '/var/run/ptp4lro'
    ptp4l[193.355]: config item (null).uds_address is '/var/run/ptp4l'
    ptp4l[193.355]: config item /var/run/ptp4l.uds_file_mode is 432
    ptp4l[193.355]: port 0 (/var/run/ptp4l): INITIALIZING to LISTENING on INIT_COMPLETE
    ptp4l[193.355]: config item /var/run/ptp4lro.logMinDelayReqInterval is 0
    ptp4l[193.355]: config item /var/run/ptp4lro.logAnnounceInterval is 1
    ptp4l[193.355]: config item /var/run/ptp4lro.inhibit_announce is 0
    ptp4l[193.355]: config item /var/run/ptp4lro.ignore_source_id is 0
    ptp4l[193.355]: config item /var/run/ptp4lro.announceReceiptTimeout is 0
    ptp4l[193.355]: config item /var/run/ptp4lro.syncReceiptTimeout is 0
    ptp4l[193.355]: config item /var/run/ptp4lro.transportSpecific is 0
    ptp4l[193.355]: config item /var/run/ptp4lro.ignore_transport_specific is 0
    ptp4l[193.355]: config item /var/run/ptp4lro.G.8275.portDS.localPriority is 128
    ptp4l[193.355]: config item /var/run/ptp4lro.logSyncInterval is 0
    ptp4l[193.355]: config item /var/run/ptp4lro.operLogSyncInterval is 0
    ptp4l[193.355]: config item /var/run/ptp4lro.logMinPdelayReqInterval is 0
    ptp4l[193.355]: config item /var/run/ptp4lro.operLogPdelayReqInterval is 0
    ptp4l[193.355]: config item /var/run/ptp4lro.neighborPropDelayThresh is 20000000
    ptp4l[193.355]: config item /var/run/ptp4lro.min_neighbor_prop_delay is -20000000
    ptp4l[193.355]: config item /var/run/ptp4lro.delay_response_timeout is 0
    ptp4l[193.355]: config item /var/run/ptp4lro.interface_rate_tlv is 0
    ptp4l[193.355]: config item /var/run/ptp4lro.asCapable is 1
    ptp4l[193.355]: config item /var/run/ptp4lro.inhibit_delay_req is 0
    ptp4l[193.355]: config item (null).uds_ro_address is '/var/run/ptp4lro'
    ptp4l[193.355]: config item (null).uds_address is '/var/run/ptp4l'
    ptp4l[193.355]: config item /var/run/ptp4lro.uds_ro_file_mode is 438
    ptp4l[193.355]: port 0 (/var/run/ptp4lro): INITIALIZING to LISTENING on INIT_COMPLETE
    ptp4l[193.356]: port 1 (eth1): received link status notification
    ptp4l[193.356]: interface index 3 is up
    ptp4l[194.021]: port 1 (eth1): delay timeout
    ptp4l[195.022]: port 1 (eth1): delay timeout
    ptp4l[195.022]: port 1 (eth1): setting asCapable
    ptp4l[196.022]: port 1 (eth1): delay timeout
    ptp4l[197.022]: port 1 (eth1): delay timeout
    ptp4l[197.023]: port 1 (eth1): peer port id set to 70ff76.fffe.1f4098-1
    ptp4l[197.023]: delay   filtered        412   raw        412
    ptp4l[198.023]: port 1 (eth1): delay timeout
    ptp4l[198.023]: delay   filtered        412   raw        413
    ptp4l[199.023]: port 1 (eth1): delay timeout
    ptp4l[199.024]: delay   filtered        413   raw        413
    ptp4l[199.777]: port 1 (eth1): announce timeout
    ptp4l[199.777]: port 1 (eth1): LISTENING to MASTER on ANNOUNCE_RECEIPT_TIMEOUT_EXPIRES
    ptp4l[199.777]: selected local clock 70ff76.fffe.1f3c45 as best master
    ptp4l[199.777]: port 1 (eth1): assuming the grand master role
    ptp4l[199.778]: port 1 (eth1): master tx announce timeout
    ptp4l[200.023]: port 1 (eth1): delay timeout
    ptp4l[200.024]: delay   filtered        412   raw        410
    ptp4l[200.778]: port 1 (eth1): master sync timeout
    ptp4l[201.023]: port 1 (eth1): delay timeout
    ptp4l[201.024]: delay   filtered        412   raw        410
    ptp4l[201.778]: port 1 (eth1): master sync timeout
    ptp4l[201.779]: port 1 (eth1): master tx announce timeout
    ptp4l[202.024]: port 1 (eth1): delay timeout
    ptp4l[202.778]: port 1 (eth1): master sync timeout
    ptp4l[203.024]: port 1 (eth1): delay timeout
    ptp4l[203.024]: delay   filtered        411   raw        411
    ptp4l[203.778]: port 1 (eth1): master sync timeout
    ptp4l[203.779]: port 1 (eth1): master tx announce timeout
    ptp4l[204.024]: port 1 (eth1): delay timeout
    ptp4l[204.025]: delay   filtered        412   raw        412
    ptp4l[204.779]: port 1 (eth1): master sync timeout
    ptp4l[205.024]: port 1 (eth1): delay timeout
    ptp4l[205.025]: delay   filtered        411   raw        411
    ptp4l[205.779]: port 1 (eth1): master sync timeout
    ptp4l[205.780]: port 1 (eth1): master tx announce timeout
    ptp4l[206.024]: port 1 (eth1): delay timeout
    ptp4l[206.025]: delay   filtered        412   raw        412
    ptp4l[206.779]: port 1 (eth1): master sync timeout
    ptp4l[207.025]: port 1 (eth1): delay timeout
    ptp4l[207.025]: delay   filtered        411   raw        411
    ptp4l[207.780]: port 1 (eth1): master sync timeout
    ptp4l[207.780]: port 1 (eth1): master tx announce timeout
    ptp4l[208.025]: port 1 (eth1): delay timeout
    ptp4l[208.025]: delay   filtered        411   raw        411
    ptp4l[208.780]: port 1 (eth1): master sync timeout
    ptp4l[209.025]: port 1 (eth1): delay timeout
    ptp4l[209.026]: delay   filtered        411   raw        410
    ptp4l[209.780]: port 1 (eth1): master sync timeout
    ptp4l[209.781]: port 1 (eth1): master tx announce timeout
    ptp4l[210.025]: port 1 (eth1): delay timeout
    ptp4l[210.026]: delay   filtered        411   raw        410
    ptp4l[210.780]: port 1 (eth1): master sync timeout
    ptp4l[211.025]: port 1 (eth1): delay timeout
    ptp4l[211.026]: delay   filtered        411   raw        409
    ptp4l[211.781]: port 1 (eth1): master sync timeout
    ptp4l[211.781]: port 1 (eth1): master tx announce timeout
    ptp4l[212.026]: port 1 (eth1): delay timeout
    ptp4l[212.026]: delay   filtered        411   raw        409
    ptp4l[212.781]: port 1 (eth1): master sync timeout
    ptp4l[213.026]: port 1 (eth1): delay timeout
    ptp4l[213.027]: delay   filtered        411   raw        411
    ptp4l[213.781]: port 1 (eth1): master sync timeout
    ptp4l[213.782]: port 1 (eth1): master tx announce timeout
    ptp4l[214.026]: port 1 (eth1): delay timeout
    ptp4l[214.027]: delay   filtered        411   raw        413
    ptp4l[214.782]: port 1 (eth1): master sync timeout
    ptp4l[215.026]: port 1 (eth1): delay timeout
    ptp4l[215.027]: delay   filtered        411   raw        411
    ptp4l[215.782]: port 1 (eth1): master tx announce timeout
    ptp4l[215.783]: port 1 (eth1): master sync timeout
    ptp4l[216.027]: port 1 (eth1): delay timeout
    ptp4l[216.027]: delay   filtered        410   raw        409
    ptp4l[216.783]: port 1 (eth1): master sync timeout
    ptp4l[217.027]: port 1 (eth1): delay timeout
    ptp4l[217.028]: delay   filtered        410   raw        410
    ptp4l[217.782]: port 1 (eth1): master tx announce timeout
    ptp4l[217.783]: port 1 (eth1): master sync timeout
    ptp4l[218.027]: port 1 (eth1): delay timeout
    ptp4l[218.028]: delay   filtered        410   raw        412
    ptp4l[218.783]: port 1 (eth1): master sync timeout
    ptp4l[219.027]: port 1 (eth1): delay timeout
    ptp4l[219.028]: delay   filtered        410   raw        412
    ptp4l[219.782]: port 1 (eth1): master tx announce timeout
    ptp4l[219.783]: port 1 (eth1): master sync timeout
    ptp4l[220.027]: port 1 (eth1): delay timeout
    ptp4l[220.028]: delay   filtered        411   raw        412
    ptp4l[220.784]: port 1 (eth1): master sync timeout
    ptp4l[221.028]: port 1 (eth1): delay timeout
    ptp4l[221.028]: delay   filtered        411   raw        412
    ptp4l[221.783]: port 1 (eth1): master tx announce timeout
    ptp4l[221.784]: port 1 (eth1): master sync timeout
    ptp4l[222.028]: port 1 (eth1): delay timeout
    ptp4l[222.029]: delay   filtered        411   raw        409
    ptp4l[222.784]: port 1 (eth1): master sync timeout
    ptp4l[223.028]: port 1 (eth1): delay timeout
    ptp4l[223.029]: delay   filtered        411   raw        410
    ptp4l[223.783]: port 1 (eth1): master tx announce timeout
    ptp4l[223.784]: port 1 (eth1): master sync timeout
    ptp4l[224.028]: port 1 (eth1): delay timeout
    ptp4l[224.032]: delay   filtered        411   raw        412
    ptp4l[224.784]: port 1 (eth1): master sync timeout
    ptp4l[225.029]: port 1 (eth1): delay timeout
    ptp4l[225.783]: port 1 (eth1): master tx announce timeout
    ptp4l[225.784]: port 1 (eth1): master sync timeout
    ptp4l[226.029]: port 1 (eth1): delay timeout
    ptp4l[226.030]: delay   filtered        412   raw        412
    ptp4l[226.785]: port 1 (eth1): master sync timeout
    ptp4l[227.029]: port 1 (eth1): delay timeout
    ptp4l[227.030]: delay   filtered        412   raw        412
    ptp4l[227.784]: port 1 (eth1): master tx announce timeout
    ptp4l[227.785]: port 1 (eth1): master sync timeout
    ptp4l[228.029]: port 1 (eth1): delay timeout
    ptp4l[228.030]: delay   filtered        412   raw        411
    ptp4l[228.785]: port 1 (eth1): master sync timeout
    ptp4l[229.030]: port 1 (eth1): delay timeout
    ptp4l[229.030]: delay   filtered        412   raw        411
    ptp4l[229.784]: port 1 (eth1): master tx announce timeout
    ptp4l[229.785]: port 1 (eth1): master sync timeout
    ptp4l[230.030]: port 1 (eth1): delay timeout
    ptp4l[230.031]: delay   filtered        411   raw        409
    ptp4l[230.785]: port 1 (eth1): master sync timeout
    ptp4l[231.030]: port 1 (eth1): delay timeout
    ptp4l[231.031]: delay   filtered        411   raw        410
    ptp4l[231.784]: port 1 (eth1): master tx announce timeout
    ptp4l[231.785]: port 1 (eth1): master sync timeout
    ptp4l[232.030]: port 1 (eth1): delay timeout
    ptp4l[232.031]: delay   filtered        411   raw        411
    ptp4l[232.785]: port 1 (eth1): master sync timeout
    ptp4l[233.031]: port 1 (eth1): delay timeout
    ptp4l[233.031]: delay   filtered        411   raw        411
    ptp4l[233.784]: port 1 (eth1): master tx announce timeout
    ptp4l[233.786]: port 1 (eth1): master sync timeout
    ptp4l[234.031]: port 1 (eth1): delay timeout
    ptp4l[234.032]: delay   filtered        411   raw        412
    ptp4l[234.786]: port 1 (eth1): master sync timeout
    ptp4l[235.031]: port 1 (eth1): delay timeout
    ptp4l[235.032]: delay   filtered        411   raw        410
    ptp4l[235.785]: port 1 (eth1): master tx announce timeout
    ptp4l[235.786]: port 1 (eth1): master sync timeout
    ptp4l[236.031]: port 1 (eth1): delay timeout
    ptp4l[236.032]: delay   filtered        411   raw        411
    ptp4l[236.786]: port 1 (eth1): master sync timeout
    ptp4l[237.032]: port 1 (eth1): delay timeout
    ptp4l[237.032]: delay   filtered        411   raw        412
    ptp4l[237.785]: port 1 (eth1): master tx announce timeout
    ptp4l[237.786]: port 1 (eth1): master sync timeout
    ptp4l[238.032]: port 1 (eth1): delay timeout
    ptp4l[238.032]: delay   filtered        411   raw        412
    ptp4l[238.786]: port 1 (eth1): master sync timeout
    ptp4l[239.032]: port 1 (eth1): delay timeout
    ptp4l[239.033]: delay   filtered        411   raw        410
    ptp4l[239.785]: port 1 (eth1): master tx announce timeout
    ptp4l[239.787]: port 1 (eth1): master sync timeout
    ptp4l[240.032]: port 1 (eth1): delay timeout
    ptp4l[240.033]: delay   filtered        411   raw        410
    ptp4l[240.787]: port 1 (eth1): master sync timeout
    ptp4l[241.033]: port 1 (eth1): delay timeout
    ptp4l[241.033]: delay   filtered        411   raw        411
    ptp4l[241.785]: port 1 (eth1): master tx announce timeout
    ptp4l[241.787]: port 1 (eth1): master sync timeout
    ptp4l[242.033]: port 1 (eth1): delay timeout
    ptp4l[242.033]: delay   filtered        411   raw        410
    ptp4l[242.787]: port 1 (eth1): master sync timeout
    ptp4l[243.033]: port 1 (eth1): delay timeout
    ptp4l[243.034]: delay   filtered        410   raw        409
    ptp4l[243.786]: port 1 (eth1): master tx announce timeout
    ptp4l[243.787]: port 1 (eth1): master sync timeout
    ptp4l[244.033]: port 1 (eth1): delay timeout
    ptp4l[244.034]: delay   filtered        410   raw        411
    ptp4l[244.788]: port 1 (eth1): master sync timeout
    ptp4l[245.033]: port 1 (eth1): delay timeout
    ptp4l[245.034]: delay   filtered        411   raw        411
    ptp4l[245.786]: port 1 (eth1): master tx announce timeout
    ptp4l[245.788]: port 1 (eth1): master sync timeout
    ptp4l[246.034]: port 1 (eth1): delay timeout
    ptp4l[246.034]: delay   filtered        410   raw        409
    ptp4l[246.788]: port 1 (eth1): master sync timeout
    ptp4l[247.034]: port 1 (eth1): delay timeout
    ptp4l[247.035]: delay   filtered        410   raw        413
    ptp4l[247.786]: port 1 (eth1): master tx announce timeout
    ptp4l[247.788]: port 1 (eth1): master sync timeout
    ptp4l[248.034]: port 1 (eth1): delay timeout
    ptp4l[248.035]: delay   filtered        410   raw        410
    [  248.229742] am65-cpsw-nuss 8000000.ethernet eth0: Link is Down
    ptp4l[248.232]: port 1 (eth1): received link status notification
    ptp4l[248.788]: port 1 (eth1): master sync timeout
    ptp4l[249.035]: port 1 (eth1): delay timeout
    ptp4l[249.035]: delay   filtered        410   raw        411
    ptp4l[249.786]: port 1 (eth1): master tx announce timeout
    ptp4l[249.788]: port 1 (eth1): master sync timeout
    ptp4l[250.035]: port 1 (eth1): delay timeout
    ptp4l[250.036]: delay   filtered        410   raw        410
    ptp4l[250.788]: port 1 (eth1): master sync timeout
    ptp4l[251.035]: port 1 (eth1): delay timeout
    ptp4l[251.036]: delay   filtered        410   raw        409
    ptp4l[251.787]: port 1 (eth1): master tx announce timeout
    ptp4l[251.789]: port 1 (eth1): master sync timeout
    ptp4l[252.035]: port 1 (eth1): delay timeout
    ptp4l[252.036]: delay   filtered        410   raw        409
    ptp4l[252.789]: port 1 (eth1): master sync timeout
    ptp4l[253.035]: port 1 (eth1): delay timeout
    ptp4l[253.036]: delay   filtered        410   raw        411
    ptp4l[253.787]: port 1 (eth1): master tx announce timeout
    ptp4l[253.789]: port 1 (eth1): master sync timeout
    ptp4l[254.036]: port 1 (eth1): delay timeout
    ptp4l[254.036]: delay   filtered        410   raw        411
    ptp4l[254.789]: port 1 (eth1): master sync timeout
    ptp4l[255.036]: port 1 (eth1): delay timeout
    ptp4l[255.037]: delay   filtered        410   raw        412
    ptp4l[255.787]: port 1 (eth1): master tx announce timeout
    ptp4l[255.789]: port 1 (eth1): master sync timeout
    ptp4l[256.036]: port 1 (eth1): delay timeout
    ptp4l[256.037]: delay   filtered        410   raw        409
    ptp4l[256.789]: port 1 (eth1): master sync timeout
    ptp4l[257.036]: port 1 (eth1): delay timeout
    ptp4l[257.037]: delay   filtered        410   raw        409
    ptp4l[257.787]: port 1 (eth1): master tx announce timeout
    ptp4l[257.790]: port 1 (eth1): master sync timeout
    ptp4l[258.037]: port 1 (eth1): delay timeout
    ptp4l[258.037]: delay   filtered        410   raw        411
    ptp4l[258.790]: port 1 (eth1): master sync timeout
    ptp4l[259.037]: port 1 (eth1): delay timeout
    ptp4l[259.038]: delay   filtered        410   raw        411
    ptp4l[259.788]: port 1 (eth1): master tx announce timeout
    ptp4l[259.790]: port 1 (eth1): master sync timeout
    ptp4l[260.037]: port 1 (eth1): delay timeout
    ptp4l[260.038]: delay   filtered        411   raw        413
    ptp4l[260.790]: port 1 (eth1): master sync timeout
    ptp4l[261.037]: port 1 (eth1): delay timeout
    ptp4l[261.038]: delay   filtered        411   raw        411
    ptp4l[261.788]: port 1 (eth1): master tx announce timeout
    ptp4l[261.790]: port 1 (eth1): master sync timeout
    ptp4l[262.038]: port 1 (eth1): delay timeout
    ptp4l[262.038]: delay   filtered        411   raw        411
    ptp4l[262.791]: port 1 (eth1): master sync timeout
    ptp4l[263.038]: port 1 (eth1): delay timeout
    ptp4l[263.038]: delay   filtered        411   raw        410
    [  263.589504] am65-cpsw-nuss 8000000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
    ptp4l[263.585]: port 1 (eth1): received link status notification
    ptp4l[263.788]: port 1 (eth1): master tx announce timeout
    ptp4l[263.791]: port 1 (eth1): master sync timeout
    ptp4l[264.038]: port 1 (eth1): delay timeout
    ptp4l[264.039]: delay   filtered        411   raw        409
    ptp4l[264.791]: port 1 (eth1): master sync timeout
    ptp4l[265.038]: port 1 (eth1): delay timeout
    ptp4l[265.039]: delay   filtered        411   raw        411
    ptp4l[265.789]: port 1 (eth1): master tx announce timeout
    ptp4l[265.791]: port 1 (eth1): master sync timeout
    ptp4l[266.038]: port 1 (eth1): delay timeout
    ptp4l[266.039]: delay   filtered        411   raw        410
    ptp4l[266.791]: port 1 (eth1): master sync timeout
    ptp4l[267.039]: port 1 (eth1): delay timeout
    ptp4l[267.039]: delay   filtered        411   raw        411
    ptp4l[267.789]: port 1 (eth1): master tx announce timeout
    ptp4l[267.791]: port 1 (eth1): master sync timeout
    ptp4l[268.039]: port 1 (eth1): delay timeout
    ptp4l[268.039]: delay   filtered        411   raw        409
    ptp4l[268.792]: port 1 (eth1): master sync timeout
    ptp4l[269.039]: port 1 (eth1): delay timeout
    ptp4l[269.040]: delay   filtered        410   raw        409
    ptp4l[269.789]: port 1 (eth1): master tx announce timeout
    ptp4l[269.792]: port 1 (eth1): master sync timeout
    ptp4l[270.039]: port 1 (eth1): delay timeout
    ptp4l[270.040]: delay   filtered        410   raw        411
    ptp4l[270.792]: port 1 (eth1): master sync timeout
    ptp4l[271.039]: port 1 (eth1): delay timeout
    ptp4l[271.040]: delay   filtered        410   raw        410
    ptp4l[271.790]: port 1 (eth1): master tx announce timeout
    ptp4l[271.792]: port 1 (eth1): master sync timeout
    ptp4l[272.040]: port 1 (eth1): delay timeout
    ptp4l[272.792]: port 1 (eth1): master sync timeout
    ptp4l[273.040]: port 1 (eth1): delay timeout
    ^Croot@am64xx-evm:~# uname -a
    Linux am64xx-evm 6.6.58-rt45-gc79d7ef3a56f #16 SMP PREEMPT_RT Tue Jan 14 13:31:47 CST 2025 aarch64 GNU/Linux
    root@am64xx-evm:~#

    DUT2 (AM64x EVM2) - PTP follower

    root@am64xx-evm:~# ptp4l -2 -P -H -i eth1 -m -q -l 7 -s
    ptp4l[104.966]: config item (null).assume_two_step is 0
    ptp4l[104.966]: config item (null).check_fup_sync is 0
    ptp4l[104.967]: config item (null).tx_timestamp_timeout is 10
    ptp4l[104.967]: config item (null).hwts_filter is 0
    ptp4l[104.967]: config item (null).clock_servo is 0
    ptp4l[104.967]: config item (null).clock_type is 32768
    ptp4l[104.967]: config item (null).clock_servo is 0
    ptp4l[104.967]: config item (null).clockClass is 248
    ptp4l[104.967]: config item (null).clockAccuracy is 254
    ptp4l[104.967]: config item (null).offsetScaledLogVariance is 65535
    ptp4l[104.967]: config item (null).productDescription is ';;'
    ptp4l[104.967]: config item (null).revisionData is ';;'
    ptp4l[104.967]: config item (null).userDescription is ''
    ptp4l[104.967]: config item (null).manufacturerIdentity is '00:00:00'
    ptp4l[104.967]: config item (null).domainNumber is 0
    ptp4l[104.967]: config item (null).clientOnly is 1
    ptp4l[104.967]: config item (null).gmCapable is 1
    ptp4l[104.967]: config item (null).gmCapable is 1
    ptp4l[104.967]: config item (null).G.8275.defaultDS.localPriority is 128
    ptp4l[104.967]: config item (null).maxStepsRemoved is 255
    ptp4l[104.967]: config item (null).clock_class_threshold is 248
    ptp4l[104.967]: config item (null).time_stamping is 1
    ptp4l[104.967]: config item (null).twoStepFlag is 1
    ptp4l[104.967]: config item (null).twoStepFlag is 1
    ptp4l[104.967]: config item (null).time_stamping is 1
    ptp4l[104.967]: config item (null).priority1 is 128
    ptp4l[104.967]: config item (null).priority2 is 128
    ptp4l[104.967]: interface index 3 is up
    ptp4l[104.968]: config item eth1.phc_index is -1
    ptp4l[104.968]: config item (null).free_running is 0
    ptp4l[104.968]: selected /dev/ptp0 as PTP clock
    ptp4l[104.968]: config item (null).clockIdentity is '000000.0000.000000'
    ptp4l[104.968]: config item (null).uds_address is '/var/run/ptp4l'
    ptp4l[104.968]: section item /var/run/ptp4l.announceReceiptTimeout now 0
    ptp4l[104.968]: section item /var/run/ptp4l.delay_mechanism now 0
    ptp4l[104.968]: section item /var/run/ptp4l.network_transport now 0
    ptp4l[104.968]: section item /var/run/ptp4l.delay_filter_length now 1
    ptp4l[104.968]: config item (null).uds_ro_address is '/var/run/ptp4lro'
    ptp4l[104.968]: section item /var/run/ptp4lro.announceReceiptTimeout now 0
    ptp4l[104.968]: section item /var/run/ptp4lro.delay_mechanism now 0
    ptp4l[104.968]: section item /var/run/ptp4lro.network_transport now 0
    ptp4l[104.968]: section item /var/run/ptp4lro.delay_filter_length now 1
    ptp4l[104.968]: config item (null).free_running is 0
    ptp4l[104.968]: config item (null).freq_est_interval is 1
    ptp4l[104.968]: config item (null).write_phase_mode is 0
    ptp4l[104.968]: config item (null).gmCapable is 1
    ptp4l[104.968]: config item (null).kernel_leap is 1
    ptp4l[104.968]: config item (null).utc_offset is 37
    ptp4l[104.968]: config item (null).timeSource is 160
    ptp4l[104.968]: config item (null).step_window is 0
    ptp4l[104.968]: config item (null).pi_proportional_const is 0.000000
    ptp4l[104.968]: config item (null).pi_integral_const is 0.000000
    ptp4l[104.968]: config item (null).pi_proportional_scale is 0.000000
    ptp4l[104.968]: config item (null).pi_proportional_exponent is -0.300000
    ptp4l[104.968]: config item (null).pi_proportional_norm_max is 0.700000
    ptp4l[104.968]: config item (null).pi_integral_scale is 0.000000
    ptp4l[104.968]: config item (null).pi_integral_exponent is 0.400000
    ptp4l[104.968]: config item (null).pi_integral_norm_max is 0.300000
    ptp4l[104.968]: config item (null).step_threshold is 0.000000
    ptp4l[104.968]: config item (null).first_step_threshold is 0.000020
    ptp4l[104.968]: config item (null).max_frequency is 900000000
    ptp4l[104.968]: config item (null).servo_offset_threshold is 0
    ptp4l[104.969]: config item (null).servo_num_offset_values is 10
    ptp4l[104.969]: config item (null).dataset_comparison is 0
    ptp4l[104.969]: config item (null).tsproc_mode is 0
    ptp4l[104.969]: config item (null).delay_filter is 1
    ptp4l[104.969]: config item (null).delay_filter_length is 10
    ptp4l[104.969]: config item (null).initial_delay is 0
    ptp4l[104.969]: config item (null).summary_interval is 0
    ptp4l[105.300]: config item (null).sanity_freq_limit is 200000000
    ptp4l[105.304]: PI servo: sync interval 1.000 kp 0.700 ki 0.300000
    ptp4l[105.304]: config item /var/run/ptp4l.phc_index is -1
    ptp4l[105.304]: config item /var/run/ptp4l.boundary_clock_jbod is 0
    ptp4l[105.304]: config item /var/run/ptp4l.serverOnly is 0
    ptp4l[105.304]: config item /var/run/ptp4l.BMCA is 0
    ptp4l[105.304]: config item /var/run/ptp4l.network_transport is 0
    ptp4l[105.305]: config item /var/run/ptp4l.delayAsymmetry is 0
    ptp4l[105.305]: config item /var/run/ptp4l.follow_up_info is 0
    ptp4l[105.305]: config item /var/run/ptp4l.freq_est_interval is 1
    ptp4l[105.305]: config item /var/run/ptp4l.msg_interval_request is 0
    ptp4l[105.305]: config item /var/run/ptp4l.net_sync_monitor is 0
    ptp4l[105.305]: config item /var/run/ptp4l.path_trace_enabled is 0
    ptp4l[105.305]: config item /var/run/ptp4l.tc_spanning_tree is 0
    ptp4l[105.305]: config item /var/run/ptp4l.ingressLatency is 0
    ptp4l[105.305]: config item /var/run/ptp4l.egressLatency is 0
    ptp4l[105.305]: config item /var/run/ptp4l.delay_mechanism is 0
    ptp4l[105.305]: config item /var/run/ptp4l.power_profile.version is 0
    ptp4l[105.305]: config item /var/run/ptp4l.power_profile.grandmasterID is 0
    ptp4l[105.305]: config item /var/run/ptp4l.power_profile.2011.grandmasterTimeInaccuracy is -1
    ptp4l[105.305]: config item /var/run/ptp4l.power_profile.2011.networkTimeInaccuracy is -1
    ptp4l[105.305]: config item /var/run/ptp4l.power_profile.2017.totalTimeInaccuracy is -1
    ptp4l[105.305]: config item /var/run/ptp4l.hybrid_e2e is 0
    ptp4l[105.305]: config item /var/run/ptp4l.fault_badpeernet_interval is 16
    ptp4l[105.305]: config item /var/run/ptp4l.fault_reset_interval is 4
    ptp4l[105.305]: config item /var/run/ptp4l.tsproc_mode is 0
    ptp4l[105.305]: config item /var/run/ptp4l.delay_filter is 1
    ptp4l[105.305]: config item /var/run/ptp4l.delay_filter_length is 1
    ptp4l[105.305]: config item /var/run/ptp4lro.phc_index is -1
    ptp4l[105.305]: config item /var/run/ptp4lro.boundary_clock_jbod is 0
    ptp4l[105.305]: config item /var/run/ptp4lro.serverOnly is 0
    ptp4l[105.305]: config item /var/run/ptp4lro.BMCA is 0
    ptp4l[105.305]: config item /var/run/ptp4lro.network_transport is 0
    ptp4l[105.305]: config item /var/run/ptp4lro.delayAsymmetry is 0
    ptp4l[105.305]: config item /var/run/ptp4lro.follow_up_info is 0
    ptp4l[105.305]: config item /var/run/ptp4lro.freq_est_interval is 1
    ptp4l[105.305]: config item /var/run/ptp4lro.msg_interval_request is 0
    ptp4l[105.305]: config item /var/run/ptp4lro.net_sync_monitor is 0
    ptp4l[105.305]: config item /var/run/ptp4lro.path_trace_enabled is 0
    ptp4l[105.305]: config item /var/run/ptp4lro.tc_spanning_tree is 0
    ptp4l[105.305]: config item /var/run/ptp4lro.ingressLatency is 0
    ptp4l[105.305]: config item /var/run/ptp4lro.egressLatency is 0
    ptp4l[105.305]: config item /var/run/ptp4lro.delay_mechanism is 0
    ptp4l[105.305]: config item /var/run/ptp4lro.power_profile.version is 0
    ptp4l[105.305]: config item /var/run/ptp4lro.power_profile.grandmasterID is 0
    ptp4l[105.305]: config item /var/run/ptp4lro.power_profile.2011.grandmasterTimeInaccuracy is -1
    ptp4l[105.305]: config item /var/run/ptp4lro.power_profile.2011.networkTimeInaccuracy is -1
    ptp4l[105.305]: config item /var/run/ptp4lro.power_profile.2017.totalTimeInaccuracy is -1
    ptp4l[105.305]: config item /var/run/ptp4lro.hybrid_e2e is 0
    ptp4l[105.305]: config item /var/run/ptp4lro.fault_badpeernet_interval is 16
    ptp4l[105.305]: config item /var/run/ptp4lro.fault_reset_interval is 4
    ptp4l[105.305]: config item /var/run/ptp4lro.tsproc_mode is 0
    ptp4l[105.305]: config item /var/run/ptp4lro.delay_filter is 1
    ptp4l[105.305]: config item /var/run/ptp4lro.delay_filter_length is 1
    ptp4l[105.305]: config item (null).slave_event_monitor is ''
    ptp4l[105.634]: config item eth1.phc_index is -1
    ptp4l[105.634]: config item eth1.boundary_clock_jbod is 0
    ptp4l[105.634]: config item eth1.serverOnly is 0
    ptp4l[105.634]: config item eth1.BMCA is 0
    ptp4l[105.634]: config item eth1.network_transport is 3
    ptp4l[105.634]: config item eth1.delayAsymmetry is 0
    ptp4l[105.634]: config item eth1.follow_up_info is 0
    ptp4l[105.634]: config item eth1.freq_est_interval is 1
    ptp4l[105.634]: config item eth1.msg_interval_request is 0
    ptp4l[105.634]: config item eth1.net_sync_monitor is 0
    ptp4l[105.634]: config item eth1.path_trace_enabled is 0
    ptp4l[105.634]: config item eth1.tc_spanning_tree is 0
    ptp4l[105.634]: config item eth1.ingressLatency is 0
    ptp4l[105.634]: config item eth1.egressLatency is 0
    ptp4l[105.634]: config item eth1.delay_mechanism is 2
    ptp4l[105.634]: config item eth1.power_profile.version is 0
    ptp4l[105.634]: config item eth1.power_profile.grandmasterID is 0
    ptp4l[105.634]: config item eth1.power_profile.2011.grandmasterTimeInaccuracy is -1
    ptp4l[105.634]: config item eth1.power_profile.2011.networkTimeInaccuracy is -1
    ptp4l[105.634]: config item eth1.power_profile.2017.totalTimeInaccuracy is -1
    ptp4l[105.634]: config item eth1.unicast_master_table is 0
    ptp4l[105.634]: config item eth1.unicast_listen is 0
    ptp4l[105.634]: config item eth1.hybrid_e2e is 0
    ptp4l[105.634]: config item eth1.fault_badpeernet_interval is 16
    ptp4l[105.634]: config item eth1.fault_reset_interval is 4
    ptp4l[105.634]: config item eth1.tsproc_mode is 0
    ptp4l[105.634]: config item eth1.delay_filter is 1
    ptp4l[105.634]: config item eth1.delay_filter_length is 10
    ptp4l[105.634]: config item eth1.logMinDelayReqInterval is 0
    ptp4l[105.635]: config item eth1.logAnnounceInterval is 1
    ptp4l[105.635]: config item eth1.inhibit_announce is 0
    ptp4l[105.635]: config item eth1.ignore_source_id is 0
    ptp4l[105.635]: config item eth1.announceReceiptTimeout is 3
    ptp4l[105.635]: config item eth1.syncReceiptTimeout is 0
    ptp4l[105.635]: config item eth1.transportSpecific is 0
    ptp4l[105.635]: config item eth1.ignore_transport_specific is 0
    ptp4l[105.635]: config item eth1.G.8275.portDS.localPriority is 128
    ptp4l[105.635]: config item eth1.logSyncInterval is 0
    ptp4l[105.635]: config item eth1.operLogSyncInterval is 0
    ptp4l[105.635]: config item eth1.logMinPdelayReqInterval is 0
    ptp4l[105.635]: config item eth1.operLogPdelayReqInterval is 0
    ptp4l[105.635]: config item eth1.neighborPropDelayThresh is 20000000
    ptp4l[105.635]: config item eth1.min_neighbor_prop_delay is -20000000
    ptp4l[105.635]: config item eth1.delay_response_timeout is 0
    ptp4l[105.635]: config item eth1.interface_rate_tlv is 0
    ptp4l[105.635]: config item eth1.asCapable is 1
    ptp4l[105.635]: config item eth1.inhibit_delay_req is 0
    ptp4l[105.635]: config item eth1.ptp_dst_mac is '01:1B:19:00:00:00'
    ptp4l[105.635]: config item eth1.p2p_dst_mac is '01:80:C2:00:00:0E'
    ptp4l[105.635]: config item global.socket_priority is 0
    ptp4l[105.669]: port 1 (eth1): INITIALIZING to LISTENING on INIT_COMPLETE
    ptp4l[105.669]: config item /var/run/ptp4l.logMinDelayReqInterval is 0
    ptp4l[105.669]: config item /var/run/ptp4l.logAnnounceInterval is 1
    ptp4l[105.669]: config item /var/run/ptp4l.inhibit_announce is 0
    ptp4l[105.669]: config item /var/run/ptp4l.ignore_source_id is 0
    ptp4l[105.669]: config item /var/run/ptp4l.announceReceiptTimeout is 0
    ptp4l[105.669]: config item /var/run/ptp4l.syncReceiptTimeout is 0
    ptp4l[105.669]: config item /var/run/ptp4l.transportSpecific is 0
    ptp4l[105.669]: config item /var/run/ptp4l.ignore_transport_specific is 0
    ptp4l[105.669]: config item /var/run/ptp4l.G.8275.portDS.localPriority is 128
    ptp4l[105.669]: config item /var/run/ptp4l.logSyncInterval is 0
    ptp4l[105.669]: config item /var/run/ptp4l.operLogSyncInterval is 0
    ptp4l[105.669]: config item /var/run/ptp4l.logMinPdelayReqInterval is 0
    ptp4l[105.670]: config item /var/run/ptp4l.operLogPdelayReqInterval is 0
    ptp4l[105.670]: config item /var/run/ptp4l.neighborPropDelayThresh is 20000000
    ptp4l[105.670]: config item /var/run/ptp4l.min_neighbor_prop_delay is -20000000
    ptp4l[105.670]: config item /var/run/ptp4l.delay_response_timeout is 0
    ptp4l[106.001]: config item /var/run/ptp4l.interface_rate_tlv is 0
    ptp4l[106.001]: config item /var/run/ptp4l.asCapable is 1
    ptp4l[106.001]: config item /var/run/ptp4l.inhibit_delay_req is 0
    ptp4l[106.001]: config item (null).uds_ro_address is '/var/run/ptp4lro'
    ptp4l[106.001]: config item (null).uds_address is '/var/run/ptp4l'
    ptp4l[106.001]: config item /var/run/ptp4l.uds_file_mode is 432
    ptp4l[106.001]: port 0 (/var/run/ptp4l): INITIALIZING to LISTENING on INIT_COMPLETE
    ptp4l[106.001]: config item /var/run/ptp4lro.logMinDelayReqInterval is 0
    ptp4l[106.001]: config item /var/run/ptp4lro.logAnnounceInterval is 1
    ptp4l[106.001]: config item /var/run/ptp4lro.inhibit_announce is 0
    ptp4l[106.001]: config item /var/run/ptp4lro.ignore_source_id is 0
    ptp4l[106.001]: config item /var/run/ptp4lro.announceReceiptTimeout is 0
    ptp4l[106.001]: config item /var/run/ptp4lro.syncReceiptTimeout is 0
    ptp4l[106.002]: config item /var/run/ptp4lro.transportSpecific is 0
    ptp4l[106.002]: config item /var/run/ptp4lro.ignore_transport_specific is 0
    ptp4l[106.002]: config item /var/run/ptp4lro.G.8275.portDS.localPriority is 128
    ptp4l[106.002]: config item /var/run/ptp4lro.logSyncInterval is 0
    ptp4l[106.002]: config item /var/run/ptp4lro.operLogSyncInterval is 0
    ptp4l[106.002]: config item /var/run/ptp4lro.logMinPdelayReqInterval is 0
    ptp4l[106.002]: config item /var/run/ptp4lro.operLogPdelayReqInterval is 0
    ptp4l[106.002]: config item /var/run/ptp4lro.neighborPropDelayThresh is 20000000
    ptp4l[106.002]: config item /var/run/ptp4lro.min_neighbor_prop_delay is -20000000
    ptp4l[106.002]: config item /var/run/ptp4lro.delay_response_timeout is 0
    ptp4l[106.002]: config item /var/run/ptp4lro.interface_rate_tlv is 0
    ptp4l[106.002]: config item /var/run/ptp4lro.asCapable is 1
    ptp4l[106.002]: config item /var/run/ptp4lro.inhibit_delay_req is 0
    ptp4l[106.002]: config item (null).uds_ro_address is '/var/run/ptp4lro'
    ptp4l[106.002]: config item (null).uds_address is '/var/run/ptp4l'
    ptp4l[106.002]: config item /var/run/ptp4lro.uds_ro_file_mode is 438
    ptp4l[106.002]: port 0 (/var/run/ptp4lro): INITIALIZING to LISTENING on INIT_COMPLETE
    ptp4l[106.002]: port 1 (eth1): received link status notification
    ptp4l[106.002]: interface index 3 is up
    ptp4l[106.567]: port 1 (eth1): setting asCapable
    ptp4l[106.567]: port 1 (eth1): peer port id set to 70ff76.fffe.1f3c45-1
    ptp4l[106.669]: port 1 (eth1): delay timeout
    ptp4l[106.670]: delay   filtered        411   raw        411
    ptp4l[107.670]: port 1 (eth1): delay timeout
    ptp4l[107.670]: delay   filtered        411   raw        412
    ptp4l[108.670]: port 1 (eth1): delay timeout
    ptp4l[108.670]: delay   filtered        412   raw        412
    ptp4l[109.323]: port 1 (eth1): new foreign master 70ff76.fffe.1f3c45-1
    ptp4l[109.670]: port 1 (eth1): delay timeout
    ptp4l[109.671]: delay   filtered        412   raw        412
    ptp4l[110.670]: port 1 (eth1): delay timeout
    ptp4l[110.671]: delay   filtered        412   raw        412
    ptp4l[111.568]: port 1 (eth1): received PDELAY_REQ without timestamp
    ptp4l[111.671]: port 1 (eth1): delay timeout
    ptp4l[111.671]: delay   filtered        412   raw        411
    ptp4l[112.671]: port 1 (eth1): delay timeout
    ptp4l[112.671]: delay   filtered        412   raw        413
    ptp4l[112.858]: port 1 (eth1): announce timeout
    ptp4l[112.858]: selected local clock 70ff76.fffe.1f4098 as best master
    ptp4l[113.323]: selected best master clock 70ff76.fffe.1f3c45
    ptp4l[113.323]: port 1 (eth1): LISTENING to UNCALIBRATED on RS_SLAVE
    ptp4l[113.671]: port 1 (eth1): delay timeout
    ptp4l[113.671]: delay   filtered        412   raw        410
    ptp4l[114.323]: master offset -90456104101 s0 freq      -0 path delay       412
    ptp4l[114.671]: port 1 (eth1): delay timeout
    ptp4l[114.672]: delay   filtered        412   raw        412
    ptp4l[115.323]: master offset -90456106163 s1 freq   -2061 path delay       412
    ptp4l[115.671]: port 1 (eth1): delay timeout
    ptp4l[115.672]: delay   filtered        412   raw        410
    ptp4l[116.324]: master offset      -3509 s2 freq   -5570 path delay       412
    ptp4l[116.324]: port 1 (eth1): UNCALIBRATED to SLAVE on MASTER_CLOCK_SELECTED
    ptp4l[116.671]: port 1 (eth1): delay timeout
    ptp4l[116.672]: delay   filtered        412   raw        410
    ptp4l[117.324]: master offset         -1 s2 freq   -3115 path delay       412
    ptp4l[117.672]: port 1 (eth1): delay timeout
    ptp4l[117.672]: delay   filtered        411   raw        411
    ptp4l[118.324]: master offset       1034 s2 freq   -2080 path delay       411
    ptp4l[118.672]: port 1 (eth1): delay timeout
    ptp4l[118.672]: delay   filtered        411   raw        413
    ptp4l[119.325]: master offset       1045 s2 freq   -1759 path delay       411
    ptp4l[119.672]: port 1 (eth1): delay timeout
    ptp4l[119.673]: delay   filtered        411   raw        412
    ptp4l[120.325]: master offset        725 s2 freq   -1766 path delay       411
    ptp4l[120.672]: port 1 (eth1): delay timeout
    ptp4l[120.673]: delay   filtered        411   raw        411
    ptp4l[121.325]: master offset        406 s2 freq   -1867 path delay       411
    ptp4l[121.672]: port 1 (eth1): delay timeout
    ptp4l[121.673]: delay   filtered        411   raw        410
    ptp4l[122.325]: master offset        188 s2 freq   -1963 path delay       411
    ptp4l[122.673]: port 1 (eth1): delay timeout
    ptp4l[122.673]: delay   filtered        411   raw        412
    ptp4l[123.326]: master offset         55 s2 freq   -2040 path delay       411
    ptp4l[123.673]: port 1 (eth1): delay timeout
    ptp4l[123.673]: delay   filtered        411   raw        410
    ptp4l[124.328]: master offset          5 s2 freq   -2073 path delay       411
    ptp4l[124.673]: port 1 (eth1): delay timeout
    ptp4l[124.674]: delay   filtered        411   raw        412
    ptp4l[125.327]: master offset        -20 s2 freq   -2097 path delay       411
    ptp4l[125.673]: port 1 (eth1): delay timeout
    ptp4l[125.674]: delay   filtered        411   raw        410
    ptp4l[126.327]: master offset        -23 s2 freq   -2106 path delay       411
    ptp4l[126.673]: port 1 (eth1): delay timeout
    ptp4l[126.674]: delay   filtered        411   raw        411
    ptp4l[127.327]: master offset        -18 s2 freq   -2108 path delay       411
    ptp4l[127.674]: port 1 (eth1): delay timeout
    ptp4l[127.674]: delay   filtered        411   raw        412
    ptp4l[128.328]: master offset        -17 s2 freq   -2112 path delay       411
    ptp4l[128.674]: port 1 (eth1): delay timeout
    ptp4l[128.674]: delay   filtered        411   raw        412
    ptp4l[129.328]: master offset        -13 s2 freq   -2113 path delay       411
    ptp4l[129.674]: port 1 (eth1): delay timeout
    ptp4l[129.674]: delay   filtered        411   raw        409
    ptp4l[130.328]: master offset        -13 s2 freq   -2117 path delay       411
    ptp4l[130.674]: port 1 (eth1): delay timeout
    ptp4l[130.675]: delay   filtered        411   raw        412
    ptp4l[131.328]: master offset        -10 s2 freq   -2118 path delay       411
    ptp4l[131.674]: port 1 (eth1): delay timeout
    ptp4l[131.675]: delay   filtered        412   raw        413
    ptp4l[132.328]: master offset        -12 s2 freq   -2123 path delay       412
    ptp4l[132.674]: port 1 (eth1): delay timeout
    ptp4l[132.675]: delay   filtered        411   raw        409
    ptp4l[133.328]: master offset         -8 s2 freq   -2123 path delay       411
    ptp4l[133.679]: port 1 (eth1): delay timeout
    ptp4l[133.679]: delay   filtered        412   raw        412
    ptp4l[134.329]: master offset         -9 s2 freq   -2126 path delay       412
    ptp4l[134.573]: port 1 (eth1): received PDELAY_REQ without timestamp
    ptp4l[134.679]: port 1 (eth1): delay timeout
    ptp4l[134.680]: delay   filtered        411   raw        411
    ptp4l[135.329]: master offset         -2 s2 freq   -2122 path delay       411
    ptp4l[135.679]: port 1 (eth1): delay timeout
    ptp4l[135.680]: delay   filtered        412   raw        412
    ptp4l[136.329]: master offset         -1 s2 freq   -2121 path delay       412
    ptp4l[136.680]: port 1 (eth1): delay timeout
    ptp4l[136.680]: delay   filtered        412   raw        411
    ptp4l[137.329]: master offset         -2 s2 freq   -2123 path delay       412
    ptp4l[137.680]: port 1 (eth1): delay timeout
    ptp4l[137.680]: delay   filtered        411   raw        410
    ptp4l[138.329]: master offset         -4 s2 freq   -2125 path delay       411
    ptp4l[138.680]: port 1 (eth1): delay timeout
    ptp4l[138.681]: delay   filtered        411   raw        410
    ptp4l[139.329]: master offset        -11 s2 freq   -2133 path delay       411
    ptp4l[139.680]: port 1 (eth1): delay timeout
    ptp4l[139.681]: delay   filtered        411   raw        412
    ptp4l[140.330]: master offset         -4 s2 freq   -2130 path delay       411
    ptp4l[140.680]: port 1 (eth1): delay timeout
    ptp4l[140.681]: delay   filtered        411   raw        409
    ptp4l[141.330]: master offset         -5 s2 freq   -2132 path delay       411
    ptp4l[141.681]: port 1 (eth1): delay timeout
    ptp4l[141.681]: delay   filtered        410   raw        409
    ptp4l[142.330]: master offset        -16 s2 freq   -2144 path delay       410
    ptp4l[142.681]: port 1 (eth1): delay timeout
    ptp4l[142.681]: delay   filtered        410   raw        409
    ptp4l[143.330]: master offset        -14 s2 freq   -2147 path delay       410
    ptp4l[143.681]: port 1 (eth1): delay timeout
    ptp4l[143.682]: delay   filtered        410   raw        410
    ptp4l[144.330]: master offset        -12 s2 freq   -2149 path delay       410
    ptp4l[144.681]: port 1 (eth1): delay timeout
    ptp4l[144.682]: delay   filtered        410   raw        412
    ptp4l[145.330]: master offset        -11 s2 freq   -2152 path delay       410
    ptp4l[145.681]: port 1 (eth1): delay timeout
    ptp4l[145.682]: delay   filtered        410   raw        409
    ptp4l[146.330]: master offset         -7 s2 freq   -2151 path delay       410
    ptp4l[146.682]: port 1 (eth1): delay timeout
    ptp4l[146.682]: delay   filtered        410   raw        411
    ptp4l[147.330]: master offset        -12 s2 freq   -2158 path delay       410
    ptp4l[147.682]: port 1 (eth1): delay timeout
    ptp4l[147.682]: delay   filtered        409   raw        409
    ptp4l[148.331]: master offset         -4 s2 freq   -2154 path delay       409
    ptp4l[148.682]: port 1 (eth1): delay timeout
    ptp4l[148.683]: delay   filtered        409   raw        409
    ptp4l[149.331]: master offset         -2 s2 freq   -2153 path delay       409
    ptp4l[149.682]: port 1 (eth1): delay timeout
    ptp4l[149.683]: delay   filtered        409   raw        409
    ptp4l[150.331]: master offset         -2 s2 freq   -2154 path delay       409
    ptp4l[150.682]: port 1 (eth1): delay timeout
    ptp4l[150.683]: delay   filtered        409   raw        409
    ptp4l[151.331]: master offset          5 s2 freq   -2147 path delay       409
    ptp4l[151.682]: port 1 (eth1): delay timeout
    ptp4l[151.683]: delay   filtered        409   raw        412
    ptp4l[152.332]: master offset          3 s2 freq   -2148 path delay       409
    ptp4l[152.683]: port 1 (eth1): delay timeout
    ptp4l[152.683]: delay   filtered        409   raw        411
    ptp4l[153.332]: master offset         -2 s2 freq   -2152 path delay       409
    ptp4l[153.683]: port 1 (eth1): delay timeout
    ptp4l[153.683]: delay   filtered        409   raw        409
    ptp4l[154.332]: master offset          8 s2 freq   -2143 path delay       409
    ptp4l[154.683]: port 1 (eth1): delay timeout
    ptp4l[154.684]: delay   filtered        409   raw        410
    ptp4l[155.332]: master offset          2 s2 freq   -2146 path delay       409
    ptp4l[155.683]: port 1 (eth1): delay timeout
    ptp4l[155.684]: delay   filtered        409   raw        412
    ptp4l[156.332]: master offset         -1 s2 freq   -2149 path delay       409
    ptp4l[156.683]: port 1 (eth1): delay timeout
    ptp4l[156.684]: delay   filtered        409   raw        411
    ptp4l[157.332]: master offset         -7 s2 freq   -2155 path delay       409
    ptp4l[157.684]: port 1 (eth1): delay timeout
    ptp4l[157.684]: delay   filtered        409   raw        409
    [  157.926005] am65-cpsw-nuss 8000000.ethernet eth0: Link is Down
    ptp4l[157.927]: port 1 (eth1): received link status notification
    ptp4l[158.684]: port 1 (eth1): delay timeout
    ptp4l[158.685]: delay   filtered        410   raw        410
    ptp4l[159.684]: port 1 (eth1): delay timeout
    ptp4l[159.685]: delay   filtered        410   raw        412
    ptp4l[160.684]: port 1 (eth1): delay timeout
    ptp4l[160.685]: delay   filtered        410   raw        409
    ptp4l[161.684]: port 1 (eth1): delay timeout
    ptp4l[161.685]: delay   filtered        410   raw        410
    ptp4l[162.685]: port 1 (eth1): delay timeout
    ptp4l[162.685]: delay   filtered        410   raw        412
    ptp4l[163.362]: port 1 (eth1): announce timeout
    ptp4l[163.362]: port 1 (eth1): SLAVE to LISTENING on ANNOUNCE_RECEIPT_TIMEOUT_EXPIRES
    ptp4l[163.362]: selected local clock 70ff76.fffe.1f4098 as best master
    ptp4l[164.362]: port 1 (eth1): delay timeout
    ptp4l[164.363]: delay   filtered        410   raw        410
    ptp4l[165.363]: port 1 (eth1): delay timeout
    ptp4l[165.364]: delay   filtered        410   raw        412
    ptp4l[166.363]: port 1 (eth1): delay timeout
    ptp4l[166.364]: delay   filtered        410   raw        411
    ptp4l[167.363]: port 1 (eth1): delay timeout
    ptp4l[167.364]: delay   filtered        410   raw        412
    ptp4l[168.364]: port 1 (eth1): delay timeout
    ptp4l[168.364]: delay   filtered        411   raw        412
    ptp4l[169.364]: port 1 (eth1): delay timeout
    ptp4l[169.365]: delay   filtered        411   raw        409
    ptp4l[169.786]: port 1 (eth1): announce timeout
    ptp4l[170.364]: port 1 (eth1): delay timeout
    ptp4l[170.365]: delay   filtered        411   raw        411
    ptp4l[171.364]: port 1 (eth1): delay timeout
    ptp4l[171.365]: delay   filtered        411   raw        412
    ptp4l[172.365]: port 1 (eth1): delay timeout
    ptp4l[172.365]: delay   filtered        411   raw        409
    [  173.286002] am65-cpsw-nuss 8000000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
    ptp4l[173.281]: port 1 (eth1): received link status notification
    ptp4l[173.365]: port 1 (eth1): delay timeout
    ptp4l[173.366]: delay   filtered        411   raw        411
    ptp4l[174.365]: port 1 (eth1): delay timeout
    ptp4l[174.366]: delay   filtered        411   raw        409
    ptp4l[175.366]: port 1 (eth1): delay timeout
    ptp4l[175.366]: delay   filtered        411   raw        411
    ptp4l[175.790]: port 1 (eth1): announce timeout
    ptp4l[176.366]: port 1 (eth1): delay timeout
    ptp4l[176.366]: delay   filtered        411   raw        409
    ptp4l[177.366]: port 1 (eth1): delay timeout
    ptp4l[177.367]: delay   filtered        411   raw        411
    ptp4l[178.366]: port 1 (eth1): delay timeout
    ptp4l[178.367]: delay   filtered        411   raw        412
    ptp4l[179.367]: port 1 (eth1): delay timeout
    ptp4l[179.367]: delay   filtered        411   raw        411
    ptp4l[180.367]: port 1 (eth1): delay timeout
    ptp4l[180.368]: delay   filtered        411   raw        411
    ^Croot@am64xx-evm:~# uname -a
    Linux am64xx-evm 6.6.58-rt45-ti-rt-01780-gc79d7ef3a56f-dirty #1 SMP PREEMPT_RT Wed Nov 27 14:15:26 UTC 2024 aarch64 GNU/Linux
    root@am64xx-evm:~#

    You can see from the log when I disconnected the eth0 interface. Even after disconnecting the eth0 interface OR bringing the interface down with "ip link set dev eth0 down", I don't see the same continuous "delay timeout" message that you saw when the opposite interface was disconnected. 

    Even when I tried configuring eth0 for the interface used for ptp4l and disconnect or bring down the eth1 interface I don't see the same sequence of "delay timeout" messages you shared seeing.

    We are using kernel version 6.1.80-rt26.

    Can you give the latest SDK 10.1 a try? This would be kernel version 6.6.

    -Daolin

  • Hi Daolin,

    Thanks for checking it out and the update, I will try with the latest Kernel, i will need couple of days to get back on this.

    Meanwhile it will be really helpful if you can verify the following scenario as well.

    Now when I try to change the state of eth1 itself (where PTP is running), we found another issues (eth0 has no role in this scenario):

    1. Change eth1 state by Physically disconnecting the cable
      1. Start PTP on eth1, ensure it is working properly
      2. Physically disconnect the eth1 cable 
      3. Wait for 1 minute  (PTP will not work as cable is disconnected)
      4. Reconnect the eth1 cable
      5. PTP sync is restored 
      6. Everything is working as expected here
    2.  Change eth1 state over CLI (cable remains connected):
      1. Start PTP on eth1, ensure it is working properly
      2. Bring down eth1 interface using cli "ifconfig eth1 down"
      3. Wait for 1 minute (PTP will not work as cable is disconnected)
      4. Bring up eth1 interface using cli "ifconfig eth1 up"
      5. PTP never recovers (this is the issue reported in my last reply)
      6. Only way to make PTP work again is to restart the PTP process, interface state, promiscus mode doesn't help

    Regards,

    -Dipal

  • Hello Dipal,

    Please find the below logs where I replicated the two sequence of tests you specified.

    Change eth1 state by Physically disconnecting the cable

    DUT1 (AM64x EVM1) - PTP Grandmaster

    root@am64xx-evm:~# ptp4l -2 -P -H -i eth1 -m -q -l 7
    ptp4l[174.291]: config item (null).assume_two_step is 0
    ptp4l[174.291]: config item (null).check_fup_sync is 0
    ptp4l[174.291]: config item (null).tx_timestamp_timeout is 10
    ptp4l[174.291]: config item (null).hwts_filter is 0
    ptp4l[174.291]: config item (null).clock_servo is 0
    ptp4l[174.291]: config item (null).clock_type is 32768
    ptp4l[174.291]: config item (null).clock_servo is 0
    ptp4l[174.291]: config item (null).clockClass is 248
    ptp4l[174.291]: config item (null).clockAccuracy is 254
    ptp4l[174.291]: config item (null).offsetScaledLogVariance is 65535
    ptp4l[174.291]: config item (null).productDescription is ';;'
    ptp4l[174.291]: config item (null).revisionData is ';;'
    ptp4l[174.291]: config item (null).userDescription is ''
    ptp4l[174.291]: config item (null).manufacturerIdentity is '00:00:00'
    ptp4l[174.291]: config item (null).domainNumber is 0
    ptp4l[174.291]: config item (null).clientOnly is 0
    ptp4l[174.291]: config item (null).gmCapable is 1
    ptp4l[174.291]: config item (null).gmCapable is 1
    ptp4l[174.291]: config item (null).G.8275.defaultDS.localPriority is 128
    ptp4l[174.291]: config item (null).maxStepsRemoved is 255
    ptp4l[174.291]: config item (null).clock_class_threshold is 248
    ptp4l[174.291]: config item (null).time_stamping is 1
    ptp4l[174.291]: config item (null).twoStepFlag is 1
    ptp4l[174.291]: config item (null).twoStepFlag is 1
    ptp4l[174.291]: config item (null).time_stamping is 1
    ptp4l[174.291]: config item (null).priority1 is 128
    ptp4l[174.291]: config item (null).priority2 is 128
    ptp4l[174.292]: interface index 3 is up
    ptp4l[174.292]: config item eth1.phc_index is -1
    ptp4l[174.292]: config item (null).free_running is 0
    ptp4l[174.292]: selected /dev/ptp0 as PTP clock
    ptp4l[174.292]: config item (null).clockIdentity is '000000.0000.000000'
    ptp4l[174.292]: config item (null).uds_address is '/var/run/ptp4l'
    ptp4l[174.292]: section item /var/run/ptp4l.announceReceiptTimeout now 0
    ptp4l[174.292]: section item /var/run/ptp4l.delay_mechanism now 0
    ptp4l[174.292]: section item /var/run/ptp4l.network_transport now 0
    ptp4l[174.292]: section item /var/run/ptp4l.delay_filter_length now 1
    ptp4l[174.292]: config item (null).uds_ro_address is '/var/run/ptp4lro'
    ptp4l[174.292]: section item /var/run/ptp4lro.announceReceiptTimeout now 0
    ptp4l[174.292]: section item /var/run/ptp4lro.delay_mechanism now 0
    ptp4l[174.292]: section item /var/run/ptp4lro.network_transport now 0
    ptp4l[174.292]: section item /var/run/ptp4lro.delay_filter_length now 1
    ptp4l[174.292]: config item (null).free_running is 0
    ptp4l[174.292]: config item (null).freq_est_interval is 1
    ptp4l[174.292]: config item (null).write_phase_mode is 0
    ptp4l[174.292]: config item (null).gmCapable is 1
    ptp4l[174.292]: config item (null).kernel_leap is 1
    ptp4l[174.292]: config item (null).utc_offset is 37
    ptp4l[174.292]: config item (null).timeSource is 160
    ptp4l[174.292]: config item (null).step_window is 0
    ptp4l[174.293]: config item (null).pi_proportional_const is 0.000000
    ptp4l[174.293]: config item (null).pi_integral_const is 0.000000
    ptp4l[174.293]: config item (null).pi_proportional_scale is 0.000000
    ptp4l[174.293]: config item (null).pi_proportional_exponent is -0.300000
    ptp4l[174.293]: config item (null).pi_proportional_norm_max is 0.700000
    ptp4l[174.293]: config item (null).pi_integral_scale is 0.000000
    ptp4l[174.293]: config item (null).pi_integral_exponent is 0.400000
    ptp4l[174.293]: config item (null).pi_integral_norm_max is 0.300000
    ptp4l[174.293]: config item (null).step_threshold is 0.000000
    ptp4l[174.293]: config item (null).first_step_threshold is 0.000020
    ptp4l[174.293]: config item (null).max_frequency is 900000000
    ptp4l[174.293]: config item (null).servo_offset_threshold is 0
    ptp4l[174.293]: config item (null).servo_num_offset_values is 10
    ptp4l[174.293]: config item (null).dataset_comparison is 0
    ptp4l[174.293]: config item (null).tsproc_mode is 0
    ptp4l[174.293]: config item (null).delay_filter is 1
    ptp4l[174.293]: config item (null).delay_filter_length is 10
    ptp4l[174.293]: config item (null).initial_delay is 0
    ptp4l[174.293]: config item (null).summary_interval is 0
    ptp4l[174.624]: config item (null).sanity_freq_limit is 200000000
    ptp4l[174.624]: PI servo: sync interval 1.000 kp 0.700 ki 0.300000
    ptp4l[174.624]: config item /var/run/ptp4l.phc_index is -1
    ptp4l[174.624]: config item /var/run/ptp4l.boundary_clock_jbod is 0
    ptp4l[174.624]: config item /var/run/ptp4l.serverOnly is 0
    ptp4l[174.624]: config item /var/run/ptp4l.BMCA is 0
    ptp4l[174.624]: config item /var/run/ptp4l.network_transport is 0
    ptp4l[174.624]: config item /var/run/ptp4l.delayAsymmetry is 0
    ptp4l[174.624]: config item /var/run/ptp4l.follow_up_info is 0
    ptp4l[174.624]: config item /var/run/ptp4l.freq_est_interval is 1
    ptp4l[174.624]: config item /var/run/ptp4l.msg_interval_request is 0
    ptp4l[174.624]: config item /var/run/ptp4l.net_sync_monitor is 0
    ptp4l[174.624]: config item /var/run/ptp4l.path_trace_enabled is 0
    ptp4l[174.624]: config item /var/run/ptp4l.tc_spanning_tree is 0
    ptp4l[174.624]: config item /var/run/ptp4l.ingressLatency is 0
    ptp4l[174.624]: config item /var/run/ptp4l.egressLatency is 0
    ptp4l[174.624]: config item /var/run/ptp4l.delay_mechanism is 0
    ptp4l[174.624]: config item /var/run/ptp4l.power_profile.version is 0
    ptp4l[174.624]: config item /var/run/ptp4l.power_profile.grandmasterID is 0
    ptp4l[174.624]: config item /var/run/ptp4l.power_profile.2011.grandmasterTimeInaccuracy is -1
    ptp4l[174.624]: config item /var/run/ptp4l.power_profile.2011.networkTimeInaccuracy is -1
    ptp4l[174.625]: config item /var/run/ptp4l.power_profile.2017.totalTimeInaccuracy is -1
    ptp4l[174.625]: config item /var/run/ptp4l.hybrid_e2e is 0
    ptp4l[174.625]: config item /var/run/ptp4l.fault_badpeernet_interval is 16
    ptp4l[174.625]: config item /var/run/ptp4l.fault_reset_interval is 4
    ptp4l[174.625]: config item /var/run/ptp4l.tsproc_mode is 0
    ptp4l[174.625]: config item /var/run/ptp4l.delay_filter is 1
    ptp4l[174.625]: config item /var/run/ptp4l.delay_filter_length is 1
    ptp4l[174.625]: config item /var/run/ptp4lro.phc_index is -1
    ptp4l[174.625]: config item /var/run/ptp4lro.boundary_clock_jbod is 0
    ptp4l[174.625]: config item /var/run/ptp4lro.serverOnly is 0
    ptp4l[174.625]: config item /var/run/ptp4lro.BMCA is 0
    ptp4l[174.625]: config item /var/run/ptp4lro.network_transport is 0
    ptp4l[174.625]: config item /var/run/ptp4lro.delayAsymmetry is 0
    ptp4l[174.625]: config item /var/run/ptp4lro.follow_up_info is 0
    ptp4l[174.625]: config item /var/run/ptp4lro.freq_est_interval is 1
    ptp4l[174.625]: config item /var/run/ptp4lro.msg_interval_request is 0
    ptp4l[174.625]: config item /var/run/ptp4lro.net_sync_monitor is 0
    ptp4l[174.625]: config item /var/run/ptp4lro.path_trace_enabled is 0
    ptp4l[174.625]: config item /var/run/ptp4lro.tc_spanning_tree is 0
    ptp4l[174.625]: config item /var/run/ptp4lro.ingressLatency is 0
    ptp4l[174.625]: config item /var/run/ptp4lro.egressLatency is 0
    ptp4l[174.625]: config item /var/run/ptp4lro.delay_mechanism is 0
    ptp4l[174.625]: config item /var/run/ptp4lro.power_profile.version is 0
    ptp4l[174.625]: config item /var/run/ptp4lro.power_profile.grandmasterID is 0
    ptp4l[174.625]: config item /var/run/ptp4lro.power_profile.2011.grandmasterTimeInaccuracy is -1
    ptp4l[174.625]: config item /var/run/ptp4lro.power_profile.2011.networkTimeInaccuracy is -1
    ptp4l[174.625]: config item /var/run/ptp4lro.power_profile.2017.totalTimeInaccuracy is -1
    ptp4l[174.625]: config item /var/run/ptp4lro.hybrid_e2e is 0
    ptp4l[174.625]: config item /var/run/ptp4lro.fault_badpeernet_interval is 16
    ptp4l[174.625]: config item /var/run/ptp4lro.fault_reset_interval is 4
    ptp4l[174.625]: config item /var/run/ptp4lro.tsproc_mode is 0
    ptp4l[174.625]: config item /var/run/ptp4lro.delay_filter is 1
    ptp4l[174.625]: config item /var/run/ptp4lro.delay_filter_length is 1
    ptp4l[174.625]: config item (null).slave_event_monitor is ''
    ptp4l[174.958]: config item eth1.phc_index is -1
    ptp4l[174.958]: config item eth1.boundary_clock_jbod is 0
    ptp4l[174.958]: config item eth1.serverOnly is 0
    ptp4l[174.958]: config item eth1.BMCA is 0
    ptp4l[174.958]: config item eth1.network_transport is 3
    ptp4l[174.958]: config item eth1.delayAsymmetry is 0
    ptp4l[174.958]: config item eth1.follow_up_info is 0
    ptp4l[174.958]: config item eth1.freq_est_interval is 1
    ptp4l[174.958]: config item eth1.msg_interval_request is 0
    ptp4l[174.958]: config item eth1.net_sync_monitor is 0
    ptp4l[174.958]: config item eth1.path_trace_enabled is 0
    ptp4l[174.958]: config item eth1.tc_spanning_tree is 0
    ptp4l[174.958]: config item eth1.ingressLatency is 0
    ptp4l[174.958]: config item eth1.egressLatency is 0
    ptp4l[174.958]: config item eth1.delay_mechanism is 2
    ptp4l[174.958]: config item eth1.power_profile.version is 0
    ptp4l[174.958]: config item eth1.power_profile.grandmasterID is 0
    ptp4l[174.958]: config item eth1.power_profile.2011.grandmasterTimeInaccuracy is -1
    ptp4l[174.958]: config item eth1.power_profile.2011.networkTimeInaccuracy is -1
    ptp4l[174.958]: config item eth1.power_profile.2017.totalTimeInaccuracy is -1
    ptp4l[174.958]: config item eth1.unicast_master_table is 0
    ptp4l[174.958]: config item eth1.unicast_listen is 0
    ptp4l[174.958]: config item eth1.hybrid_e2e is 0
    ptp4l[174.958]: config item eth1.fault_badpeernet_interval is 16
    ptp4l[174.958]: config item eth1.fault_reset_interval is 4
    ptp4l[174.958]: config item eth1.tsproc_mode is 0
    ptp4l[174.958]: config item eth1.delay_filter is 1
    ptp4l[174.958]: config item eth1.delay_filter_length is 10
    ptp4l[174.958]: config item eth1.logMinDelayReqInterval is 0
    ptp4l[174.958]: config item eth1.logAnnounceInterval is 1
    ptp4l[174.958]: config item eth1.inhibit_announce is 0
    ptp4l[174.958]: config item eth1.ignore_source_id is 0
    ptp4l[174.958]: config item eth1.announceReceiptTimeout is 3
    ptp4l[174.958]: config item eth1.syncReceiptTimeout is 0
    ptp4l[174.958]: config item eth1.transportSpecific is 0
    ptp4l[174.959]: config item eth1.ignore_transport_specific is 0
    ptp4l[174.959]: config item eth1.G.8275.portDS.localPriority is 128
    ptp4l[174.959]: config item eth1.logSyncInterval is 0
    ptp4l[174.959]: config item eth1.operLogSyncInterval is 0
    ptp4l[174.959]: config item eth1.logMinPdelayReqInterval is 0
    ptp4l[174.959]: config item eth1.operLogPdelayReqInterval is 0
    ptp4l[174.959]: config item eth1.neighborPropDelayThresh is 20000000
    ptp4l[174.959]: config item eth1.min_neighbor_prop_delay is -20000000
    ptp4l[174.959]: config item eth1.delay_response_timeout is 0
    ptp4l[174.959]: config item eth1.interface_rate_tlv is 0
    ptp4l[174.959]: config item eth1.asCapable is 1
    ptp4l[174.959]: config item eth1.inhibit_delay_req is 0
    ptp4l[174.959]: config item eth1.ptp_dst_mac is '01:1B:19:00:00:00'
    ptp4l[174.959]: config item eth1.p2p_dst_mac is '01:80:C2:00:00:0E'
    ptp4l[174.959]: config item global.socket_priority is 0
    ptp4l[174.997]: port 1 (eth1): INITIALIZING to LISTENING on INIT_COMPLETE
    ptp4l[174.997]: config item /var/run/ptp4l.logMinDelayReqInterval is 0
    ptp4l[174.997]: config item /var/run/ptp4l.logAnnounceInterval is 1
    ptp4l[174.997]: config item /var/run/ptp4l.inhibit_announce is 0
    ptp4l[174.997]: config item /var/run/ptp4l.ignore_source_id is 0
    ptp4l[174.997]: config item /var/run/ptp4l.announceReceiptTimeout is 0
    ptp4l[174.997]: config item /var/run/ptp4l.syncReceiptTimeout is 0
    ptp4l[174.997]: config item /var/run/ptp4l.transportSpecific is 0
    ptp4l[174.997]: config item /var/run/ptp4l.ignore_transport_specific is 0
    ptp4l[174.997]: config item /var/run/ptp4l.G.8275.portDS.localPriority is 128
    ptp4l[174.997]: config item /var/run/ptp4l.logSyncInterval is 0
    ptp4l[174.997]: config item /var/run/ptp4l.operLogSyncInterval is 0
    ptp4l[174.998]: config item /var/run/ptp4l.logMinPdelayReqInterval is 0
    ptp4l[174.998]: config item /var/run/ptp4l.operLogPdelayReqInterval is 0
    ptp4l[174.998]: config item /var/run/ptp4l.neighborPropDelayThresh is 20000000
    ptp4l[174.998]: config item /var/run/ptp4l.min_neighbor_prop_delay is -20000000
    ptp4l[174.998]: config item /var/run/ptp4l.delay_response_timeout is 0
    ptp4l[174.998]: config item /var/run/ptp4l.interface_rate_tlv is 0
    ptp4l[175.330]: config item /var/run/ptp4l.asCapable is 1
    ptp4l[175.330]: config item /var/run/ptp4l.inhibit_delay_req is 0
    ptp4l[175.330]: config item (null).uds_ro_address is '/var/run/ptp4lro'
    ptp4l[175.330]: config item (null).uds_address is '/var/run/ptp4l'
    ptp4l[175.331]: config item /var/run/ptp4l.uds_file_mode is 432
    ptp4l[175.331]: port 0 (/var/run/ptp4l): INITIALIZING to LISTENING on INIT_COMPLETE
    ptp4l[175.331]: config item /var/run/ptp4lro.logMinDelayReqInterval is 0
    ptp4l[175.331]: config item /var/run/ptp4lro.logAnnounceInterval is 1
    ptp4l[175.331]: config item /var/run/ptp4lro.inhibit_announce is 0
    ptp4l[175.331]: config item /var/run/ptp4lro.ignore_source_id is 0
    ptp4l[175.331]: config item /var/run/ptp4lro.announceReceiptTimeout is 0
    ptp4l[175.331]: config item /var/run/ptp4lro.syncReceiptTimeout is 0
    ptp4l[175.331]: config item /var/run/ptp4lro.transportSpecific is 0
    ptp4l[175.331]: config item /var/run/ptp4lro.ignore_transport_specific is 0
    ptp4l[175.331]: config item /var/run/ptp4lro.G.8275.portDS.localPriority is 128
    ptp4l[175.331]: config item /var/run/ptp4lro.logSyncInterval is 0
    ptp4l[175.331]: config item /var/run/ptp4lro.operLogSyncInterval is 0
    ptp4l[175.331]: config item /var/run/ptp4lro.logMinPdelayReqInterval is 0
    ptp4l[175.331]: config item /var/run/ptp4lro.operLogPdelayReqInterval is 0
    ptp4l[175.331]: config item /var/run/ptp4lro.neighborPropDelayThresh is 20000000
    ptp4l[175.331]: config item /var/run/ptp4lro.min_neighbor_prop_delay is -20000000
    ptp4l[175.331]: config item /var/run/ptp4lro.delay_response_timeout is 0
    ptp4l[175.331]: config item /var/run/ptp4lro.interface_rate_tlv is 0
    ptp4l[175.331]: config item /var/run/ptp4lro.asCapable is 1
    ptp4l[175.331]: config item /var/run/ptp4lro.inhibit_delay_req is 0
    ptp4l[175.331]: config item (null).uds_ro_address is '/var/run/ptp4lro'
    ptp4l[175.331]: config item (null).uds_address is '/var/run/ptp4l'
    ptp4l[175.331]: config item /var/run/ptp4lro.uds_ro_file_mode is 438
    ptp4l[175.331]: port 0 (/var/run/ptp4lro): INITIALIZING to LISTENING on INIT_COMPLETE
    ptp4l[175.332]: port 1 (eth1): received link status notification
    ptp4l[175.332]: interface index 3 is up
    ptp4l[175.997]: port 1 (eth1): delay timeout
    ptp4l[176.998]: port 1 (eth1): delay timeout
    ptp4l[176.998]: port 1 (eth1): setting asCapable
    ptp4l[177.998]: port 1 (eth1): delay timeout
    ptp4l[178.998]: port 1 (eth1): delay timeout
    ptp4l[179.999]: port 1 (eth1): delay timeout
    ptp4l[180.999]: port 1 (eth1): delay timeout
    ptp4l[181.022]: port 1 (eth1): peer port id set to 70ff76.fffe.1f4098-1
    ptp4l[181.023]: delay   filtered        438   raw        438
    ptp4l[181.565]: port 1 (eth1): announce timeout
    ptp4l[181.565]: port 1 (eth1): LISTENING to MASTER on ANNOUNCE_RECEIPT_TIMEOUT_EXPIRES
    ptp4l[181.565]: selected local clock 70ff76.fffe.1f3c45 as best master
    ptp4l[181.565]: port 1 (eth1): assuming the grand master role
    ptp4l[181.566]: port 1 (eth1): master tx announce timeout
    ptp4l[181.999]: port 1 (eth1): delay timeout
    ptp4l[182.000]: delay   filtered        424   raw        411
    ptp4l[182.565]: port 1 (eth1): master sync timeout
    ptp4l[182.999]: port 1 (eth1): delay timeout
    ptp4l[183.000]: delay   filtered        413   raw        413
    ptp4l[183.565]: port 1 (eth1): master sync timeout
    ptp4l[183.566]: port 1 (eth1): master tx announce timeout
    ptp4l[184.000]: port 1 (eth1): delay timeout
    ptp4l[184.000]: delay   filtered        412   raw        412
    ptp4l[184.565]: port 1 (eth1): master sync timeout
    ptp4l[185.000]: port 1 (eth1): delay timeout
    ptp4l[185.001]: delay   filtered        413   raw        413
    ptp4l[185.566]: port 1 (eth1): master sync timeout
    ptp4l[185.566]: port 1 (eth1): master tx announce timeout
    ptp4l[186.000]: port 1 (eth1): delay timeout
    ptp4l[186.001]: delay   filtered        412   raw        412
    ptp4l[186.566]: port 1 (eth1): master sync timeout
    ptp4l[187.000]: port 1 (eth1): delay timeout
    ptp4l[187.001]: delay   filtered        412   raw        412
    ptp4l[187.566]: port 1 (eth1): master sync timeout
    ptp4l[187.567]: port 1 (eth1): master tx announce timeout
    ptp4l[188.001]: port 1 (eth1): delay timeout
    ptp4l[188.001]: delay   filtered        412   raw        413
    ptp4l[188.566]: port 1 (eth1): master sync timeout
    ptp4l[189.001]: port 1 (eth1): delay timeout
    ptp4l[189.002]: delay   filtered        412   raw        410
    ptp4l[189.567]: port 1 (eth1): master sync timeout
    ptp4l[189.567]: port 1 (eth1): master tx announce timeout
    ptp4l[190.001]: port 1 (eth1): delay timeout
    ptp4l[190.002]: delay   filtered        412   raw        409
    ptp4l[190.567]: port 1 (eth1): master sync timeout
    ptp4l[191.001]: port 1 (eth1): delay timeout
    ptp4l[191.002]: delay   filtered        412   raw        413
    ptp4l[191.567]: port 1 (eth1): master sync timeout
    ptp4l[191.568]: port 1 (eth1): master tx announce timeout
    ptp4l[192.001]: port 1 (eth1): delay timeout
    ptp4l[192.002]: delay   filtered        412   raw        413
    ptp4l[192.567]: port 1 (eth1): master sync timeout
    ptp4l[193.002]: port 1 (eth1): delay timeout
    ptp4l[193.003]: delay   filtered        412   raw        413
    ptp4l[193.568]: port 1 (eth1): master sync timeout
    ptp4l[193.568]: port 1 (eth1): master tx announce timeout
    ptp4l[194.002]: port 1 (eth1): delay timeout
    ptp4l[194.003]: delay   filtered        412   raw        410
    ptp4l[194.568]: port 1 (eth1): master sync timeout
    ptp4l[195.002]: port 1 (eth1): delay timeout
    ptp4l[195.003]: delay   filtered        412   raw        410
    ptp4l[195.568]: port 1 (eth1): master sync timeout
    ptp4l[195.569]: port 1 (eth1): master tx announce timeout
    ptp4l[196.002]: port 1 (eth1): delay timeout
    ptp4l[196.003]: delay   filtered        411   raw        409
    ptp4l[196.568]: port 1 (eth1): master sync timeout
    ptp4l[197.003]: port 1 (eth1): delay timeout
    [  197.221562] am65-cpsw-nuss 8000000.ethernet eth1: Link is Down
    ptp4l[197.223]: port 1 (eth1): received link status notification
    ptp4l[197.223]: interface index 3 is down
    ptp4l[197.223]: port 1 (eth1): link down
    ptp4l[197.223]: port 1 (eth1): MASTER to FAULTY on FAULT_DETECTED (FT_UNSPECIFIED)
    ptp4l[197.292]: waiting 2^{4} seconds to clear fault on port 1 (eth1)
    ptp4l[197.292]: port 1 (eth1): assuming the grand master role
    ptp4l[213.292]: clearing fault on port 1 (eth1)
    [  276.069399] am65-cpsw-nuss 8000000.ethernet eth1: Link is Up - 1Gbps/Full - flow control rx/tx
    ptp4l[276.065]: port 1 (eth1): received link status notification
    ptp4l[276.074]: interface index 3 is up
    ptp4l[276.078]: port 1 (eth1): link up
    ptp4l[276.078]: config item eth1.logMinDelayReqInterval is 0
    ptp4l[276.078]: config item eth1.logAnnounceInterval is 1
    ptp4l[276.078]: config item eth1.inhibit_announce is 0
    ptp4l[276.078]: config item eth1.ignore_source_id is 0
    ptp4l[276.078]: config item eth1.announceReceiptTimeout is 3
    ptp4l[276.078]: config item eth1.syncReceiptTimeout is 0
    ptp4l[276.078]: config item eth1.transportSpecific is 0
    ptp4l[276.078]: config item eth1.ignore_transport_specific is 0
    ptp4l[276.078]: config item eth1.G.8275.portDS.localPriority is 128
    ptp4l[276.078]: config item eth1.logSyncInterval is 0
    ptp4l[276.078]: config item eth1.operLogSyncInterval is 0
    ptp4l[276.078]: config item eth1.logMinPdelayReqInterval is 0
    ptp4l[276.078]: config item eth1.operLogPdelayReqInterval is 0
    ptp4l[276.078]: config item eth1.neighborPropDelayThresh is 20000000
    ptp4l[276.078]: config item eth1.min_neighbor_prop_delay is -20000000
    ptp4l[276.078]: config item eth1.delay_response_timeout is 0
    ptp4l[276.078]: config item eth1.interface_rate_tlv is 0
    ptp4l[276.078]: config item eth1.asCapable is 1
    ptp4l[276.078]: config item eth1.inhibit_delay_req is 0
    ptp4l[276.078]: config item eth1.ptp_dst_mac is '01:1B:19:00:00:00'
    ptp4l[276.079]: config item eth1.p2p_dst_mac is '01:80:C2:00:00:0E'
    ptp4l[276.079]: config item global.socket_priority is 0
    ptp4l[276.131]: port 1 (eth1): FAULTY to LISTENING on INIT_COMPLETE
    ptp4l[276.131]: port 1 (eth1): received link status notification
    ptp4l[276.131]: interface index 3 is up
    ptp4l[276.439]: port 1 (eth1): setting asCapable
    ptp4l[276.439]: port 1 (eth1): peer port id set to 70ff76.fffe.1f4098-1
    ptp4l[277.131]: port 1 (eth1): delay timeout
    ptp4l[277.132]: delay   filtered        410   raw        409
    ptp4l[278.132]: port 1 (eth1): delay timeout
    ptp4l[278.132]: delay   filtered        410   raw        410
    ptp4l[279.132]: port 1 (eth1): delay timeout
    ptp4l[279.133]: delay   filtered        410   raw        412
    ptp4l[280.132]: port 1 (eth1): delay timeout
    ptp4l[280.133]: delay   filtered        411   raw        412
    ptp4l[281.132]: port 1 (eth1): delay timeout
    ptp4l[281.133]: delay   filtered        411   raw        413
    ptp4l[282.133]: port 1 (eth1): delay timeout
    ptp4l[282.134]: delay   filtered        411   raw        414
    ptp4l[282.151]: port 1 (eth1): announce timeout
    ptp4l[282.151]: port 1 (eth1): LISTENING to MASTER on ANNOUNCE_RECEIPT_TIMEOUT_EXPIRES
    ptp4l[282.151]: port 1 (eth1): assuming the grand master role
    ptp4l[282.153]: port 1 (eth1): master tx announce timeout
    ptp4l[283.133]: port 1 (eth1): delay timeout
    ptp4l[283.134]: delay   filtered        411   raw        413
    ptp4l[283.152]: port 1 (eth1): master sync timeout
    ptp4l[284.133]: port 1 (eth1): delay timeout
    ptp4l[284.134]: delay   filtered        411   raw        410
    ptp4l[284.152]: port 1 (eth1): master sync timeout
    ptp4l[284.153]: port 1 (eth1): master tx announce timeout
    ptp4l[285.134]: port 1 (eth1): delay timeout
    ptp4l[285.134]: delay   filtered        412   raw        412
    ptp4l[285.152]: port 1 (eth1): master sync timeout
    ptp4l[286.134]: port 1 (eth1): delay timeout
    ptp4l[286.135]: delay   filtered        412   raw        411
    ptp4l[286.152]: port 1 (eth1): master sync timeout
    ptp4l[286.153]: port 1 (eth1): master tx announce timeout
    ptp4l[287.134]: port 1 (eth1): delay timeout
    ptp4l[287.135]: delay   filtered        412   raw        411
    ptp4l[287.152]: port 1 (eth1): master sync timeout
    ptp4l[288.134]: port 1 (eth1): delay timeout
    ptp4l[288.135]: delay   filtered        412   raw        410
    ptp4l[288.152]: port 1 (eth1): master sync timeout
    ptp4l[288.153]: port 1 (eth1): master tx announce timeout
    ptp4l[289.135]: port 1 (eth1): delay timeout
    ptp4l[289.135]: delay   filtered        411   raw        410
    ptp4l[289.152]: port 1 (eth1): master sync timeout
    ptp4l[290.135]: port 1 (eth1): delay timeout
    ptp4l[290.136]: delay   filtered        411   raw        411
    ptp4l[290.153]: port 1 (eth1): master sync timeout
    ptp4l[290.153]: port 1 (eth1): master tx announce timeout
    ptp4l[291.135]: port 1 (eth1): delay timeout
    ptp4l[291.136]: delay   filtered        411   raw        412
    ptp4l[291.153]: port 1 (eth1): master sync timeout
    ptp4l[292.135]: port 1 (eth1): delay timeout
    ptp4l[292.136]: delay   filtered        411   raw        409
    ptp4l[292.153]: port 1 (eth1): master sync timeout
    ptp4l[292.153]: port 1 (eth1): master tx announce timeout
    ptp4l[293.136]: port 1 (eth1): delay timeout
    ptp4l[293.137]: delay   filtered        411   raw        412
    ptp4l[293.153]: port 1 (eth1): master sync timeout
    ^Croot@am64xx-evm:~# uname -a
    Linux am64xx-evm 6.6.58-rt45-gc79d7ef3a56f #16 SMP PREEMPT_RT Tue Jan 14 13:31:47 CST 2025 aarch64 GNU/Linux
    root@am64xx-evm:~#

    DUT2 (AM64x EVM2) - PTP Follower

    root@am64xx-evm:~# ptp4l -2 -P -H -i eth1 -m -q -l 7 -s
    ptp4l[177.350]: config item (null).assume_two_step is 0
    ptp4l[177.350]: config item (null).check_fup_sync is 0
    ptp4l[177.350]: config item (null).tx_timestamp_timeout is 10
    ptp4l[177.351]: config item (null).hwts_filter is 0
    ptp4l[177.351]: config item (null).clock_servo is 0
    ptp4l[177.351]: config item (null).clock_type is 32768
    ptp4l[177.351]: config item (null).clock_servo is 0
    ptp4l[177.351]: config item (null).clockClass is 248
    ptp4l[177.351]: config item (null).clockAccuracy is 254
    ptp4l[177.351]: config item (null).offsetScaledLogVariance is 65535
    ptp4l[177.351]: config item (null).productDescription is ';;'
    ptp4l[177.351]: config item (null).revisionData is ';;'
    ptp4l[177.351]: config item (null).userDescription is ''
    ptp4l[177.351]: config item (null).manufacturerIdentity is '00:00:00'
    ptp4l[177.351]: config item (null).domainNumber is 0
    ptp4l[177.351]: config item (null).clientOnly is 1
    ptp4l[177.351]: config item (null).gmCapable is 1
    ptp4l[177.351]: config item (null).gmCapable is 1
    ptp4l[177.351]: config item (null).G.8275.defaultDS.localPriority is 128
    ptp4l[177.351]: config item (null).maxStepsRemoved is 255
    ptp4l[177.351]: config item (null).clock_class_threshold is 248
    ptp4l[177.351]: config item (null).time_stamping is 1
    ptp4l[177.351]: config item (null).twoStepFlag is 1
    ptp4l[177.351]: config item (null).twoStepFlag is 1
    ptp4l[177.351]: config item (null).time_stamping is 1
    ptp4l[177.351]: config item (null).priority1 is 128
    ptp4l[177.351]: config item (null).priority2 is 128
    ptp4l[177.351]: interface index 3 is up
    ptp4l[177.352]: config item eth1.phc_index is -1
    ptp4l[177.352]: config item (null).free_running is 0
    ptp4l[177.352]: selected /dev/ptp0 as PTP clock
    ptp4l[177.352]: config item (null).clockIdentity is '000000.0000.000000'
    ptp4l[177.352]: config item (null).uds_address is '/var/run/ptp4l'
    ptp4l[177.352]: section item /var/run/ptp4l.announceReceiptTimeout now 0
    ptp4l[177.352]: section item /var/run/ptp4l.delay_mechanism now 0
    ptp4l[177.352]: section item /var/run/ptp4l.network_transport now 0
    ptp4l[177.352]: section item /var/run/ptp4l.delay_filter_length now 1
    ptp4l[177.352]: config item (null).uds_ro_address is '/var/run/ptp4lro'
    ptp4l[177.352]: section item /var/run/ptp4lro.announceReceiptTimeout now 0
    ptp4l[177.352]: section item /var/run/ptp4lro.delay_mechanism now 0
    ptp4l[177.352]: section item /var/run/ptp4lro.network_transport now 0
    ptp4l[177.352]: section item /var/run/ptp4lro.delay_filter_length now 1
    ptp4l[177.352]: config item (null).free_running is 0
    ptp4l[177.352]: config item (null).freq_est_interval is 1
    ptp4l[177.352]: config item (null).write_phase_mode is 0
    ptp4l[177.352]: config item (null).gmCapable is 1
    ptp4l[177.352]: config item (null).kernel_leap is 1
    ptp4l[177.352]: config item (null).utc_offset is 37
    ptp4l[177.352]: config item (null).timeSource is 160
    ptp4l[177.352]: config item (null).step_window is 0
    ptp4l[177.352]: config item (null).pi_proportional_const is 0.000000
    ptp4l[177.352]: config item (null).pi_integral_const is 0.000000
    ptp4l[177.352]: config item (null).pi_proportional_scale is 0.000000
    ptp4l[177.352]: config item (null).pi_proportional_exponent is -0.300000
    ptp4l[177.352]: config item (null).pi_proportional_norm_max is 0.700000
    ptp4l[177.352]: config item (null).pi_integral_scale is 0.000000
    ptp4l[177.352]: config item (null).pi_integral_exponent is 0.400000
    ptp4l[177.352]: config item (null).pi_integral_norm_max is 0.300000
    ptp4l[177.352]: config item (null).step_threshold is 0.000000
    ptp4l[177.352]: config item (null).first_step_threshold is 0.000020
    ptp4l[177.352]: config item (null).max_frequency is 900000000
    ptp4l[177.352]: config item (null).servo_offset_threshold is 0
    ptp4l[177.352]: config item (null).servo_num_offset_values is 10
    ptp4l[177.352]: config item (null).dataset_comparison is 0
    ptp4l[177.352]: config item (null).tsproc_mode is 0
    ptp4l[177.352]: config item (null).delay_filter is 1
    ptp4l[177.352]: config item (null).delay_filter_length is 10
    ptp4l[177.353]: config item (null).initial_delay is 0
    ptp4l[177.353]: config item (null).summary_interval is 0
    ptp4l[177.684]: config item (null).sanity_freq_limit is 200000000
    ptp4l[177.684]: PI servo: sync interval 1.000 kp 0.700 ki 0.300000
    ptp4l[177.684]: config item /var/run/ptp4l.phc_index is -1
    ptp4l[177.684]: config item /var/run/ptp4l.boundary_clock_jbod is 0
    ptp4l[177.684]: config item /var/run/ptp4l.serverOnly is 0
    ptp4l[177.684]: config item /var/run/ptp4l.BMCA is 0
    ptp4l[177.684]: config item /var/run/ptp4l.network_transport is 0
    ptp4l[177.684]: config item /var/run/ptp4l.delayAsymmetry is 0
    ptp4l[177.685]: config item /var/run/ptp4l.follow_up_info is 0
    ptp4l[177.685]: config item /var/run/ptp4l.freq_est_interval is 1
    ptp4l[177.685]: config item /var/run/ptp4l.msg_interval_request is 0
    ptp4l[177.685]: config item /var/run/ptp4l.net_sync_monitor is 0
    ptp4l[177.685]: config item /var/run/ptp4l.path_trace_enabled is 0
    ptp4l[177.685]: config item /var/run/ptp4l.tc_spanning_tree is 0
    ptp4l[177.685]: config item /var/run/ptp4l.ingressLatency is 0
    ptp4l[177.685]: config item /var/run/ptp4l.egressLatency is 0
    ptp4l[177.685]: config item /var/run/ptp4l.delay_mechanism is 0
    ptp4l[177.685]: config item /var/run/ptp4l.power_profile.version is 0
    ptp4l[177.685]: config item /var/run/ptp4l.power_profile.grandmasterID is 0
    ptp4l[177.685]: config item /var/run/ptp4l.power_profile.2011.grandmasterTimeInaccuracy is -1
    ptp4l[177.685]: config item /var/run/ptp4l.power_profile.2011.networkTimeInaccuracy is -1
    ptp4l[177.685]: config item /var/run/ptp4l.power_profile.2017.totalTimeInaccuracy is -1
    ptp4l[177.685]: config item /var/run/ptp4l.hybrid_e2e is 0
    ptp4l[177.685]: config item /var/run/ptp4l.fault_badpeernet_interval is 16
    ptp4l[177.685]: config item /var/run/ptp4l.fault_reset_interval is 4
    ptp4l[177.685]: config item /var/run/ptp4l.tsproc_mode is 0
    ptp4l[177.685]: config item /var/run/ptp4l.delay_filter is 1
    ptp4l[177.685]: config item /var/run/ptp4l.delay_filter_length is 1
    ptp4l[177.685]: config item /var/run/ptp4lro.phc_index is -1
    ptp4l[177.685]: config item /var/run/ptp4lro.boundary_clock_jbod is 0
    ptp4l[177.685]: config item /var/run/ptp4lro.serverOnly is 0
    ptp4l[177.685]: config item /var/run/ptp4lro.BMCA is 0
    ptp4l[177.685]: config item /var/run/ptp4lro.network_transport is 0
    ptp4l[177.685]: config item /var/run/ptp4lro.delayAsymmetry is 0
    ptp4l[177.685]: config item /var/run/ptp4lro.follow_up_info is 0
    ptp4l[177.685]: config item /var/run/ptp4lro.freq_est_interval is 1
    ptp4l[177.685]: config item /var/run/ptp4lro.msg_interval_request is 0
    ptp4l[177.685]: config item /var/run/ptp4lro.net_sync_monitor is 0
    ptp4l[177.685]: config item /var/run/ptp4lro.path_trace_enabled is 0
    ptp4l[177.685]: config item /var/run/ptp4lro.tc_spanning_tree is 0
    ptp4l[177.685]: config item /var/run/ptp4lro.ingressLatency is 0
    ptp4l[177.685]: config item /var/run/ptp4lro.egressLatency is 0
    ptp4l[177.685]: config item /var/run/ptp4lro.delay_mechanism is 0
    ptp4l[177.685]: config item /var/run/ptp4lro.power_profile.version is 0
    ptp4l[177.685]: config item /var/run/ptp4lro.power_profile.grandmasterID is 0
    ptp4l[177.685]: config item /var/run/ptp4lro.power_profile.2011.grandmasterTimeInaccuracy is -1
    ptp4l[177.685]: config item /var/run/ptp4lro.power_profile.2011.networkTimeInaccuracy is -1
    ptp4l[177.685]: config item /var/run/ptp4lro.power_profile.2017.totalTimeInaccuracy is -1
    ptp4l[177.685]: config item /var/run/ptp4lro.hybrid_e2e is 0
    ptp4l[177.685]: config item /var/run/ptp4lro.fault_badpeernet_interval is 16
    ptp4l[177.685]: config item /var/run/ptp4lro.fault_reset_interval is 4
    ptp4l[177.685]: config item /var/run/ptp4lro.tsproc_mode is 0
    ptp4l[177.685]: config item /var/run/ptp4lro.delay_filter is 1
    ptp4l[177.685]: config item /var/run/ptp4lro.delay_filter_length is 1
    ptp4l[177.685]: config item (null).slave_event_monitor is ''
    ptp4l[178.018]: config item eth1.phc_index is -1
    ptp4l[178.018]: config item eth1.boundary_clock_jbod is 0
    ptp4l[178.018]: config item eth1.serverOnly is 0
    ptp4l[178.018]: config item eth1.BMCA is 0
    ptp4l[178.018]: config item eth1.network_transport is 3
    ptp4l[178.018]: config item eth1.delayAsymmetry is 0
    ptp4l[178.018]: config item eth1.follow_up_info is 0
    ptp4l[178.018]: config item eth1.freq_est_interval is 1
    ptp4l[178.018]: config item eth1.msg_interval_request is 0
    ptp4l[178.018]: config item eth1.net_sync_monitor is 0
    ptp4l[178.018]: config item eth1.path_trace_enabled is 0
    ptp4l[178.018]: config item eth1.tc_spanning_tree is 0
    ptp4l[178.018]: config item eth1.ingressLatency is 0
    ptp4l[178.018]: config item eth1.egressLatency is 0
    ptp4l[178.018]: config item eth1.delay_mechanism is 2
    ptp4l[178.018]: config item eth1.power_profile.version is 0
    ptp4l[178.018]: config item eth1.power_profile.grandmasterID is 0
    ptp4l[178.018]: config item eth1.power_profile.2011.grandmasterTimeInaccuracy is -1
    ptp4l[178.018]: config item eth1.power_profile.2011.networkTimeInaccuracy is -1
    ptp4l[178.018]: config item eth1.power_profile.2017.totalTimeInaccuracy is -1
    ptp4l[178.018]: config item eth1.unicast_master_table is 0
    ptp4l[178.018]: config item eth1.unicast_listen is 0
    ptp4l[178.018]: config item eth1.hybrid_e2e is 0
    ptp4l[178.018]: config item eth1.fault_badpeernet_interval is 16
    ptp4l[178.018]: config item eth1.fault_reset_interval is 4
    ptp4l[178.018]: config item eth1.tsproc_mode is 0
    ptp4l[178.018]: config item eth1.delay_filter is 1
    ptp4l[178.018]: config item eth1.delay_filter_length is 10
    ptp4l[178.018]: config item eth1.logMinDelayReqInterval is 0
    ptp4l[178.018]: config item eth1.logAnnounceInterval is 1
    ptp4l[178.018]: config item eth1.inhibit_announce is 0
    ptp4l[178.018]: config item eth1.ignore_source_id is 0
    ptp4l[178.018]: config item eth1.announceReceiptTimeout is 3
    ptp4l[178.018]: config item eth1.syncReceiptTimeout is 0
    ptp4l[178.018]: config item eth1.transportSpecific is 0
    ptp4l[178.018]: config item eth1.ignore_transport_specific is 0
    ptp4l[178.018]: config item eth1.G.8275.portDS.localPriority is 128
    ptp4l[178.018]: config item eth1.logSyncInterval is 0
    ptp4l[178.018]: config item eth1.operLogSyncInterval is 0
    ptp4l[178.019]: config item eth1.logMinPdelayReqInterval is 0
    ptp4l[178.019]: config item eth1.operLogPdelayReqInterval is 0
    ptp4l[178.019]: config item eth1.neighborPropDelayThresh is 20000000
    ptp4l[178.019]: config item eth1.min_neighbor_prop_delay is -20000000
    ptp4l[178.019]: config item eth1.delay_response_timeout is 0
    ptp4l[178.019]: config item eth1.interface_rate_tlv is 0
    ptp4l[178.019]: config item eth1.asCapable is 1
    ptp4l[178.019]: config item eth1.inhibit_delay_req is 0
    ptp4l[178.019]: config item eth1.ptp_dst_mac is '01:1B:19:00:00:00'
    ptp4l[178.019]: config item eth1.p2p_dst_mac is '01:80:C2:00:00:0E'
    ptp4l[178.019]: config item global.socket_priority is 0
    ptp4l[178.053]: port 1 (eth1): INITIALIZING to LISTENING on INIT_COMPLETE
    ptp4l[178.053]: config item /var/run/ptp4l.logMinDelayReqInterval is 0
    ptp4l[178.053]: config item /var/run/ptp4l.logAnnounceInterval is 1
    ptp4l[178.053]: config item /var/run/ptp4l.inhibit_announce is 0
    ptp4l[178.053]: config item /var/run/ptp4l.ignore_source_id is 0
    ptp4l[178.053]: config item /var/run/ptp4l.announceReceiptTimeout is 0
    ptp4l[178.053]: config item /var/run/ptp4l.syncReceiptTimeout is 0
    ptp4l[178.053]: config item /var/run/ptp4l.transportSpecific is 0
    ptp4l[178.053]: config item /var/run/ptp4l.ignore_transport_specific is 0
    ptp4l[178.054]: config item /var/run/ptp4l.G.8275.portDS.localPriority is 128
    ptp4l[178.054]: config item /var/run/ptp4l.logSyncInterval is 0
    ptp4l[178.054]: config item /var/run/ptp4l.operLogSyncInterval is 0
    ptp4l[178.054]: config item /var/run/ptp4l.logMinPdelayReqInterval is 0
    ptp4l[178.054]: config item /var/run/ptp4l.operLogPdelayReqInterval is 0
    ptp4l[178.054]: config item /var/run/ptp4l.neighborPropDelayThresh is 20000000
    ptp4l[178.054]: config item /var/run/ptp4l.min_neighbor_prop_delay is -20000000
    ptp4l[178.054]: config item /var/run/ptp4l.delay_response_timeout is 0
    ptp4l[178.385]: config item /var/run/ptp4l.interface_rate_tlv is 0
    ptp4l[178.385]: config item /var/run/ptp4l.asCapable is 1
    ptp4l[178.385]: config item /var/run/ptp4l.inhibit_delay_req is 0
    ptp4l[178.385]: config item (null).uds_ro_address is '/var/run/ptp4lro'
    ptp4l[178.385]: config item (null).uds_address is '/var/run/ptp4l'
    ptp4l[178.385]: config item /var/run/ptp4l.uds_file_mode is 432
    ptp4l[178.385]: port 0 (/var/run/ptp4l): INITIALIZING to LISTENING on INIT_COMPLETE
    ptp4l[178.385]: config item /var/run/ptp4lro.logMinDelayReqInterval is 0
    ptp4l[178.385]: config item /var/run/ptp4lro.logAnnounceInterval is 1
    ptp4l[178.385]: config item /var/run/ptp4lro.inhibit_announce is 0
    ptp4l[178.386]: config item /var/run/ptp4lro.ignore_source_id is 0
    ptp4l[178.386]: config item /var/run/ptp4lro.announceReceiptTimeout is 0
    ptp4l[178.386]: config item /var/run/ptp4lro.syncReceiptTimeout is 0
    ptp4l[178.386]: config item /var/run/ptp4lro.transportSpecific is 0
    ptp4l[178.386]: config item /var/run/ptp4lro.ignore_transport_specific is 0
    ptp4l[178.386]: config item /var/run/ptp4lro.G.8275.portDS.localPriority is 128
    ptp4l[178.386]: config item /var/run/ptp4lro.logSyncInterval is 0
    ptp4l[178.386]: config item /var/run/ptp4lro.operLogSyncInterval is 0
    ptp4l[178.386]: config item /var/run/ptp4lro.logMinPdelayReqInterval is 0
    ptp4l[178.386]: config item /var/run/ptp4lro.operLogPdelayReqInterval is 0
    ptp4l[178.386]: config item /var/run/ptp4lro.neighborPropDelayThresh is 20000000
    ptp4l[178.386]: config item /var/run/ptp4lro.min_neighbor_prop_delay is -20000000
    ptp4l[178.386]: config item /var/run/ptp4lro.delay_response_timeout is 0
    ptp4l[178.386]: config item /var/run/ptp4lro.interface_rate_tlv is 0
    ptp4l[178.386]: config item /var/run/ptp4lro.asCapable is 1
    ptp4l[178.386]: config item /var/run/ptp4lro.inhibit_delay_req is 0
    ptp4l[178.386]: config item (null).uds_ro_address is '/var/run/ptp4lro'
    ptp4l[178.386]: config item (null).uds_address is '/var/run/ptp4l'
    ptp4l[178.386]: config item /var/run/ptp4lro.uds_ro_file_mode is 438
    ptp4l[178.386]: port 0 (/var/run/ptp4lro): INITIALIZING to LISTENING on INIT_COMPLETE
    ptp4l[178.386]: port 1 (eth1): setting asCapable
    ptp4l[178.386]: port 1 (eth1): peer port id set to 70ff76.fffe.1f3c45-1
    ptp4l[178.387]: port 1 (eth1): received link status notification
    ptp4l[178.387]: interface index 3 is up
    ptp4l[178.930]: port 1 (eth1): new foreign master 70ff76.fffe.1f3c45-1
    ptp4l[179.053]: port 1 (eth1): delay timeout
    ptp4l[179.054]: delay   filtered        411   raw        411
    ptp4l[180.054]: port 1 (eth1): delay timeout
    ptp4l[180.054]: delay   filtered        412   raw        413
    ptp4l[181.054]: port 1 (eth1): delay timeout
    ptp4l[181.055]: delay   filtered        412   raw        412
    ptp4l[182.054]: port 1 (eth1): delay timeout
    ptp4l[182.055]: delay   filtered        412   raw        413
    ptp4l[182.931]: selected best master clock 70ff76.fffe.1f3c45
    ptp4l[182.931]: port 1 (eth1): LISTENING to UNCALIBRATED on RS_SLAVE
    ptp4l[183.054]: port 1 (eth1): delay timeout
    ptp4l[183.055]: delay   filtered        412   raw        412
    ptp4l[183.931]: master offset -2635799809 s0 freq      -0 path delay       412
    ptp4l[184.055]: port 1 (eth1): delay timeout
    ptp4l[184.055]: delay   filtered        412   raw        411
    ptp4l[184.931]: master offset -2635802105 s1 freq   -2295 path delay       412
    ptp4l[185.055]: port 1 (eth1): delay timeout
    ptp4l[185.055]: delay   filtered        412   raw        413
    ptp4l[185.931]: master offset      -3547 s2 freq   -5842 path delay       412
    ptp4l[185.931]: port 1 (eth1): UNCALIBRATED to SLAVE on MASTER_CLOCK_SELECTED
    ptp4l[186.055]: port 1 (eth1): delay timeout
    ptp4l[186.056]: delay   filtered        412   raw        413
    ptp4l[186.932]: master offset         -9 s2 freq   -3368 path delay       412
    ptp4l[187.055]: port 1 (eth1): delay timeout
    ptp4l[187.056]: delay   filtered        413   raw        413
    ptp4l[187.932]: master offset       1056 s2 freq   -2306 path delay       413
    ptp4l[188.055]: port 1 (eth1): delay timeout
    ptp4l[188.056]: delay   filtered        413   raw        413
    ptp4l[188.932]: master offset       1067 s2 freq   -1978 path delay       413
    ptp4l[189.056]: port 1 (eth1): delay timeout
    ptp4l[189.056]: delay   filtered        413   raw        413
    ptp4l[189.932]: master offset        742 s2 freq   -1983 path delay       413
    ptp4l[190.056]: port 1 (eth1): delay timeout
    ptp4l[190.057]: delay   filtered        413   raw        412
    ptp4l[190.933]: master offset        413 s2 freq   -2090 path delay       413
    ptp4l[191.056]: port 1 (eth1): delay timeout
    ptp4l[191.057]: delay   filtered        413   raw        413
    ptp4l[191.933]: master offset        199 s2 freq   -2180 path delay       413
    ptp4l[192.056]: port 1 (eth1): delay timeout
    ptp4l[192.057]: delay   filtered        413   raw        410
    ptp4l[192.933]: master offset         82 s2 freq   -2237 path delay       413
    ptp4l[193.057]: port 1 (eth1): delay timeout
    ptp4l[193.057]: delay   filtered        413   raw        412
    ptp4l[193.933]: master offset         15 s2 freq   -2279 path delay       413
    ptp4l[194.057]: port 1 (eth1): delay timeout
    ptp4l[194.057]: delay   filtered        413   raw        411
    [  194.917664] am65-cpsw-nuss 8000000.ethernet eth1: Link is Down
    ptp4l[194.919]: port 1 (eth1): received link status notification
    ptp4l[194.919]: interface index 3 is down
    ptp4l[194.919]: port 1 (eth1): link down
    ptp4l[194.919]: port 1 (eth1): SLAVE to FAULTY on FAULT_DETECTED (FT_UNSPECIFIED)
    ptp4l[194.971]: waiting 2^{4} seconds to clear fault on port 1 (eth1)
    ptp4l[194.972]: selected local clock 70ff76.fffe.1f4098 as best master
    ptp4l[194.972]: port 1 (eth1): assuming the grand master role
    ptp4l[194.972]: port 1 (eth1): master state recommended in slave only mode
    ptp4l[194.972]: port 1 (eth1): defaultDS.priority1 probably misconfigured
    ptp4l[210.972]: clearing fault on port 1 (eth1)
    [  272.741481] am65-cpsw-nuss 8000000.ethernet eth1: Link is Up - 1Gbps/Full - flow control rx/tx
    ptp4l[272.737]: port 1 (eth1): received link status notification
    ptp4l[272.749]: interface index 3 is up
    ptp4l[272.760]: port 1 (eth1): link up
    ptp4l[272.760]: config item eth1.logMinDelayReqInterval is 0
    ptp4l[272.760]: config item eth1.logAnnounceInterval is 1
    ptp4l[272.760]: config item eth1.inhibit_announce is 0
    ptp4l[272.760]: config item eth1.ignore_source_id is 0
    ptp4l[272.760]: config item eth1.announceReceiptTimeout is 3
    ptp4l[272.760]: config item eth1.syncReceiptTimeout is 0
    ptp4l[272.760]: config item eth1.transportSpecific is 0
    ptp4l[272.760]: config item eth1.ignore_transport_specific is 0
    ptp4l[272.760]: config item eth1.G.8275.portDS.localPriority is 128
    ptp4l[272.760]: config item eth1.logSyncInterval is 0
    ptp4l[272.760]: config item eth1.operLogSyncInterval is 0
    ptp4l[272.760]: config item eth1.logMinPdelayReqInterval is 0
    ptp4l[272.760]: config item eth1.operLogPdelayReqInterval is 0
    ptp4l[272.760]: config item eth1.neighborPropDelayThresh is 20000000
    ptp4l[272.760]: config item eth1.min_neighbor_prop_delay is -20000000
    ptp4l[272.760]: config item eth1.delay_response_timeout is 0
    ptp4l[272.760]: config item eth1.interface_rate_tlv is 0
    ptp4l[272.760]: config item eth1.asCapable is 1
    ptp4l[272.760]: config item eth1.inhibit_delay_req is 0
    ptp4l[272.760]: config item eth1.ptp_dst_mac is '01:1B:19:00:00:00'
    ptp4l[272.760]: config item eth1.p2p_dst_mac is '01:80:C2:00:00:0E'
    ptp4l[272.761]: config item global.socket_priority is 0
    ptp4l[272.802]: port 1 (eth1): FAULTY to LISTENING on INIT_COMPLETE
    ptp4l[272.802]: port 1 (eth1): received link status notification
    ptp4l[272.803]: interface index 3 is up
    ptp4l[273.802]: port 1 (eth1): delay timeout
    ptp4l[273.803]: port 1 (eth1): setting asCapable
    ptp4l[273.803]: port 1 (eth1): peer port id set to 70ff76.fffe.1f3c45-1
    ptp4l[273.804]: delay   filtered        412   raw        412
    ptp4l[274.803]: port 1 (eth1): delay timeout
    ptp4l[274.803]: delay   filtered        412   raw        410
    ptp4l[275.803]: port 1 (eth1): delay timeout
    ptp4l[275.804]: delay   filtered        412   raw        410
    ptp4l[276.803]: port 1 (eth1): delay timeout
    ptp4l[276.804]: delay   filtered        412   raw        412
    ptp4l[277.803]: port 1 (eth1): delay timeout
    ptp4l[277.804]: delay   filtered        411   raw        411
    ptp4l[278.804]: port 1 (eth1): delay timeout
    ptp4l[278.805]: delay   filtered        411   raw        411
    ptp4l[279.517]: port 1 (eth1): new foreign master 70ff76.fffe.1f3c45-1
    ptp4l[279.804]: port 1 (eth1): delay timeout
    ptp4l[279.805]: delay   filtered        411   raw        411
    ptp4l[280.098]: port 1 (eth1): announce timeout
    ptp4l[280.804]: port 1 (eth1): delay timeout
    ptp4l[280.805]: delay   filtered        411   raw        412
    ptp4l[281.804]: port 1 (eth1): delay timeout
    ptp4l[281.805]: delay   filtered        411   raw        410
    ptp4l[282.805]: port 1 (eth1): delay timeout
    ptp4l[282.806]: delay   filtered        411   raw        409
    ptp4l[283.517]: selected best master clock 70ff76.fffe.1f3c45
    ptp4l[283.517]: port 1 (eth1): LISTENING to UNCALIBRATED on RS_SLAVE
    ptp4l[283.805]: port 1 (eth1): delay timeout
    ptp4l[283.806]: delay   filtered        411   raw        411
    ptp4l[284.517]: master offset      -6903 s2 freq   -9193 path delay       411
    ptp4l[284.517]: port 1 (eth1): UNCALIBRATED to SLAVE on MASTER_CLOCK_SELECTED
    ptp4l[284.805]: port 1 (eth1): delay timeout
    ptp4l[284.806]: delay   filtered        411   raw        412
    ptp4l[285.517]: master offset        -81 s2 freq   -4442 path delay       411
    ptp4l[285.805]: port 1 (eth1): delay timeout
    ptp4l[285.806]: delay   filtered        411   raw        412
    ptp4l[286.517]: master offset       1987 s2 freq   -2398 path delay       411
    ptp4l[286.806]: port 1 (eth1): delay timeout
    ptp4l[286.806]: delay   filtered        411   raw        412
    ptp4l[287.517]: master offset       2010 s2 freq   -1779 path delay       411
    ptp4l[287.806]: port 1 (eth1): delay timeout
    ptp4l[287.807]: delay   filtered        411   raw        412
    ptp4l[288.517]: master offset       1405 s2 freq   -1781 path delay       411
    ptp4l[288.806]: port 1 (eth1): delay timeout
    ptp4l[288.807]: delay   filtered        411   raw        411
    ptp4l[289.517]: master offset        801 s2 freq   -1963 path delay       411
    ptp4l[289.806]: port 1 (eth1): delay timeout
    ptp4l[289.807]: delay   filtered        411   raw        411
    ptp4l[290.518]: master offset        380 s2 freq   -2144 path delay       411
    ptp4l[290.807]: port 1 (eth1): delay timeout
    ptp4l[290.807]: delay   filtered        411   raw        410
    ptp4l[291.807]: port 1 (eth1): delay timeout
    ptp4l[292.807]: port 1 (eth1): delay timeout
    ^Croot@am64xx-evm:~# uname -a
    Linux am64xx-evm 6.6.58-rt45-ti-rt-01780-gc79d7ef3a56f-dirty #1 SMP PREEMPT_RT Wed Nov 27 14:15:26 UTC 2024 aarch64 GNU/Linux
    root@am64xx-evm:~#

    Change eth1 state over CLI (cable remains connected):

    DUT1 (AM64x EVM1) - PTP Grandmaster

    root@am64xx-evm:~# ptp4l -2 -P -H -i eth1 -m -q -l 7 &
    [1] 1128
    root@am64xx-evm:~# ptp4l[499.731]: config item (null).assume_two_step is 0
    ptp4l[499.731]: config item (null).check_fup_sync is 0
    ptp4l[499.731]: config item (null).tx_timestamp_timeout is 10
    ptp4l[499.731]: config item (null).hwts_filter is 0
    ptp4l[499.731]: config item (null).clock_servo is 0
    ptp4l[499.731]: config item (null).clock_type is 32768
    ptp4l[499.731]: config item (null).clock_servo is 0
    ptp4l[499.731]: config item (null).clockClass is 248
    ptp4l[499.731]: config item (null).clockAccuracy is 254
    ptp4l[499.731]: config item (null).offsetScaledLogVariance is 65535
    ptp4l[499.731]: config item (null).productDescription is ';;'
    ptp4l[499.731]: config item (null).revisionData is ';;'
    ptp4l[499.731]: config item (null).userDescription is ''
    ptp4l[499.731]: config item (null).manufacturerIdentity is '00:00:00'
    ptp4l[499.732]: config item (null).domainNumber is 0
    ptp4l[499.732]: config item (null).clientOnly is 0
    ptp4l[499.732]: config item (null).gmCapable is 1
    ptp4l[499.732]: config item (null).gmCapable is 1
    ptp4l[499.732]: config item (null).G.8275.defaultDS.localPriority is 128
    ptp4l[499.732]: config item (null).maxStepsRemoved is 255
    ptp4l[499.732]: config item (null).clock_class_threshold is 248
    ptp4l[499.732]: config item (null).time_stamping is 1
    ptp4l[499.732]: config item (null).twoStepFlag is 1
    ptp4l[499.732]: config item (null).twoStepFlag is 1
    ptp4l[499.732]: config item (null).time_stamping is 1
    ptp4l[499.732]: config item (null).priority1 is 128
    ptp4l[499.732]: config item (null).priority2 is 128
    ptp4l[499.732]: interface index 3 is up
    ptp4l[499.732]: config item eth1.phc_index is -1
    ptp4l[499.732]: config item (null).free_running is 0
    ptp4l[499.732]: selected /dev/ptp0 as PTP clock
    ptp4l[499.732]: config item (null).clockIdentity is '000000.0000.000000'
    ptp4l[499.732]: config item (null).uds_address is '/var/run/ptp4l'
    ptp4l[499.733]: section item /var/run/ptp4l.announceReceiptTimeout now 0
    ptp4l[499.733]: section item /var/run/ptp4l.delay_mechanism now 0
    ptp4l[499.733]: section item /var/run/ptp4l.network_transport now 0
    ptp4l[499.733]: section item /var/run/ptp4l.delay_filter_length now 1
    ptp4l[499.733]: config item (null).uds_ro_address is '/var/run/ptp4lro'
    ptp4l[499.733]: section item /var/run/ptp4lro.announceReceiptTimeout now 0
    ptp4l[499.733]: section item /var/run/ptp4lro.delay_mechanism now 0
    ptp4l[499.733]: section item /var/run/ptp4lro.network_transport now 0
    ptp4l[499.733]: section item /var/run/ptp4lro.delay_filter_length now 1
    ptp4l[499.733]: config item (null).free_running is 0
    ptp4l[499.733]: config item (null).freq_est_interval is 1
    ptp4l[499.733]: config item (null).write_phase_mode is 0
    ptp4l[499.733]: config item (null).gmCapable is 1
    ptp4l[499.733]: config item (null).kernel_leap is 1
    ptp4l[499.733]: config item (null).utc_offset is 37
    ptp4l[499.733]: config item (null).timeSource is 160
    ptp4l[499.733]: config item (null).step_window is 0
    ptp4l[499.733]: config item (null).pi_proportional_const is 0.000000
    ptp4l[499.733]: config item (null).pi_integral_const is 0.000000
    ptp4l[499.733]: config item (null).pi_proportional_scale is 0.000000
    ptp4l[499.733]: config item (null).pi_proportional_exponent is -0.300000
    ptp4l[499.733]: config item (null).pi_proportional_norm_max is 0.700000
    ptp4l[499.733]: config item (null).pi_integral_scale is 0.000000
    ptp4l[499.733]: config item (null).pi_integral_exponent is 0.400000
    ptp4l[499.733]: config item (null).pi_integral_norm_max is 0.300000
    ptp4l[499.733]: config item (null).step_threshold is 0.000000
    ptp4l[499.733]: config item (null).first_step_threshold is 0.000020
    ptp4l[499.733]: config item (null).max_frequency is 900000000
    ptp4l[499.733]: config item (null).servo_offset_threshold is 0
    ptp4l[499.733]: config item (null).servo_num_offset_values is 10
    ptp4l[499.733]: config item (null).dataset_comparison is 0
    ptp4l[499.733]: config item (null).tsproc_mode is 0
    ptp4l[499.733]: config item (null).delay_filter is 1
    ptp4l[499.733]: config item (null).delay_filter_length is 10
    ptp4l[499.733]: config item (null).initial_delay is 0
    ptp4l[499.733]: config item (null).summary_interval is 0
    ptp4l[500.064]: config item (null).sanity_freq_limit is 200000000
    ptp4l[500.064]: PI servo: sync interval 1.000 kp 0.700 ki 0.300000
    ptp4l[500.064]: config item /var/run/ptp4l.phc_index is -1
    ptp4l[500.065]: config item /var/run/ptp4l.boundary_clock_jbod is 0
    ptp4l[500.065]: config item /var/run/ptp4l.serverOnly is 0
    ptp4l[500.065]: config item /var/run/ptp4l.BMCA is 0
    ptp4l[500.065]: config item /var/run/ptp4l.network_transport is 0
    ptp4l[500.065]: config item /var/run/ptp4l.delayAsymmetry is 0
    ptp4l[500.065]: config item /var/run/ptp4l.follow_up_info is 0
    ptp4l[500.065]: config item /var/run/ptp4l.freq_est_interval is 1
    ptp4l[500.065]: config item /var/run/ptp4l.msg_interval_request is 0
    ptp4l[500.065]: config item /var/run/ptp4l.net_sync_monitor is 0
    ptp4l[500.065]: config item /var/run/ptp4l.path_trace_enabled is 0
    ptp4l[500.065]: config item /var/run/ptp4l.tc_spanning_tree is 0
    ptp4l[500.065]: config item /var/run/ptp4l.ingressLatency is 0
    ptp4l[500.065]: config item /var/run/ptp4l.egressLatency is 0
    ptp4l[500.065]: config item /var/run/ptp4l.delay_mechanism is 0
    ptp4l[500.065]: config item /var/run/ptp4l.power_profile.version is 0
    ptp4l[500.065]: config item /var/run/ptp4l.power_profile.grandmasterID is 0
    ptp4l[500.065]: config item /var/run/ptp4l.power_profile.2011.grandmasterTimeInaccuracy is -1
    ptp4l[500.065]: config item /var/run/ptp4l.power_profile.2011.networkTimeInaccuracy is -1
    ptp4l[500.065]: config item /var/run/ptp4l.power_profile.2017.totalTimeInaccuracy is -1
    ptp4l[500.065]: config item /var/run/ptp4l.hybrid_e2e is 0
    ptp4l[500.065]: config item /var/run/ptp4l.fault_badpeernet_interval is 16
    ptp4l[500.065]: config item /var/run/ptp4l.fault_reset_interval is 4
    ptp4l[500.065]: config item /var/run/ptp4l.tsproc_mode is 0
    ptp4l[500.065]: config item /var/run/ptp4l.delay_filter is 1
    ptp4l[500.065]: config item /var/run/ptp4l.delay_filter_length is 1
    ptp4l[500.065]: config item /var/run/ptp4lro.phc_index is -1
    ptp4l[500.065]: config item /var/run/ptp4lro.boundary_clock_jbod is 0
    ptp4l[500.065]: config item /var/run/ptp4lro.serverOnly is 0
    ptp4l[500.065]: config item /var/run/ptp4lro.BMCA is 0
    ptp4l[500.065]: config item /var/run/ptp4lro.network_transport is 0
    ptp4l[500.065]: config item /var/run/ptp4lro.delayAsymmetry is 0
    ptp4l[500.065]: config item /var/run/ptp4lro.follow_up_info is 0
    ptp4l[500.065]: config item /var/run/ptp4lro.freq_est_interval is 1
    ptp4l[500.065]: config item /var/run/ptp4lro.msg_interval_request is 0
    ptp4l[500.065]: config item /var/run/ptp4lro.net_sync_monitor is 0
    ptp4l[500.065]: config item /var/run/ptp4lro.path_trace_enabled is 0
    ptp4l[500.065]: config item /var/run/ptp4lro.tc_spanning_tree is 0
    ptp4l[500.065]: config item /var/run/ptp4lro.ingressLatency is 0
    ptp4l[500.065]: config item /var/run/ptp4lro.egressLatency is 0
    ptp4l[500.065]: config item /var/run/ptp4lro.delay_mechanism is 0
    ptp4l[500.065]: config item /var/run/ptp4lro.power_profile.version is 0
    ptp4l[500.065]: config item /var/run/ptp4lro.power_profile.grandmasterID is 0
    ptp4l[500.065]: config item /var/run/ptp4lro.power_profile.2011.grandmasterTimeInaccuracy is -1
    ptp4l[500.065]: config item /var/run/ptp4lro.power_profile.2011.networkTimeInaccuracy is -1
    ptp4l[500.065]: config item /var/run/ptp4lro.power_profile.2017.totalTimeInaccuracy is -1
    ptp4l[500.065]: config item /var/run/ptp4lro.hybrid_e2e is 0
    ptp4l[500.065]: config item /var/run/ptp4lro.fault_badpeernet_interval is 16
    ptp4l[500.065]: config item /var/run/ptp4lro.fault_reset_interval is 4
    ptp4l[500.065]: config item /var/run/ptp4lro.tsproc_mode is 0
    ptp4l[500.065]: config item /var/run/ptp4lro.delay_filter is 1
    ptp4l[500.066]: config item /var/run/ptp4lro.delay_filter_length is 1
    ptp4l[500.066]: config item (null).slave_event_monitor is ''
    ptp4l[500.398]: config item eth1.phc_index is -1
    ptp4l[500.398]: config item eth1.boundary_clock_jbod is 0
    ptp4l[500.398]: config item eth1.serverOnly is 0
    ptp4l[500.398]: config item eth1.BMCA is 0
    ptp4l[500.398]: config item eth1.network_transport is 3
    ptp4l[500.398]: config item eth1.delayAsymmetry is 0
    ptp4l[500.398]: config item eth1.follow_up_info is 0
    ptp4l[500.398]: config item eth1.freq_est_interval is 1
    ptp4l[500.398]: config item eth1.msg_interval_request is 0
    ptp4l[500.398]: config item eth1.net_sync_monitor is 0
    ptp4l[500.398]: config item eth1.path_trace_enabled is 0
    ptp4l[500.398]: config item eth1.tc_spanning_tree is 0
    ptp4l[500.398]: config item eth1.ingressLatency is 0
    ptp4l[500.398]: config item eth1.egressLatency is 0
    ptp4l[500.398]: config item eth1.delay_mechanism is 2
    ptp4l[500.398]: config item eth1.power_profile.version is 0
    ptp4l[500.398]: config item eth1.power_profile.grandmasterID is 0
    ptp4l[500.398]: config item eth1.power_profile.2011.grandmasterTimeInaccuracy is -1
    ptp4l[500.398]: config item eth1.power_profile.2011.networkTimeInaccuracy is -1
    ptp4l[500.398]: config item eth1.power_profile.2017.totalTimeInaccuracy is -1
    ptp4l[500.398]: config item eth1.unicast_master_table is 0
    ptp4l[500.398]: config item eth1.unicast_listen is 0
    ptp4l[500.398]: config item eth1.hybrid_e2e is 0
    ptp4l[500.398]: config item eth1.fault_badpeernet_interval is 16
    ptp4l[500.398]: config item eth1.fault_reset_interval is 4
    ptp4l[500.398]: config item eth1.tsproc_mode is 0
    ptp4l[500.398]: config item eth1.delay_filter is 1
    ptp4l[500.398]: config item eth1.delay_filter_length is 10
    ptp4l[500.398]: config item eth1.logMinDelayReqInterval is 0
    ptp4l[500.398]: config item eth1.logAnnounceInterval is 1
    ptp4l[500.399]: config item eth1.inhibit_announce is 0
    ptp4l[500.399]: config item eth1.ignore_source_id is 0
    ptp4l[500.399]: config item eth1.announceReceiptTimeout is 3
    ptp4l[500.399]: config item eth1.syncReceiptTimeout is 0
    ptp4l[500.399]: config item eth1.transportSpecific is 0
    ptp4l[500.399]: config item eth1.ignore_transport_specific is 0
    ptp4l[500.399]: config item eth1.G.8275.portDS.localPriority is 128
    ptp4l[500.399]: config item eth1.logSyncInterval is 0
    ptp4l[500.399]: config item eth1.operLogSyncInterval is 0
    ptp4l[500.399]: config item eth1.logMinPdelayReqInterval is 0
    ptp4l[500.399]: config item eth1.operLogPdelayReqInterval is 0
    ptp4l[500.399]: config item eth1.neighborPropDelayThresh is 20000000
    ptp4l[500.399]: config item eth1.min_neighbor_prop_delay is -20000000
    ptp4l[500.399]: config item eth1.delay_response_timeout is 0
    ptp4l[500.399]: config item eth1.interface_rate_tlv is 0
    ptp4l[500.399]: config item eth1.asCapable is 1
    ptp4l[500.399]: config item eth1.inhibit_delay_req is 0
    ptp4l[500.399]: config item eth1.ptp_dst_mac is '01:1B:19:00:00:00'
    ptp4l[500.399]: config item eth1.p2p_dst_mac is '01:80:C2:00:00:0E'
    ptp4l[500.399]: config item global.socket_priority is 0
    ptp4l[500.437]: port 1 (eth1): INITIALIZING to LISTENING on INIT_COMPLETE
    ptp4l[500.437]: config item /var/run/ptp4l.logMinDelayReqInterval is 0
    ptp4l[500.437]: config item /var/run/ptp4l.logAnnounceInterval is 1
    ptp4l[500.437]: config item /var/run/ptp4l.inhibit_announce is 0
    ptp4l[500.437]: config item /var/run/ptp4l.ignore_source_id is 0
    ptp4l[500.437]: config item /var/run/ptp4l.announceReceiptTimeout is 0
    ptp4l[500.437]: config item /var/run/ptp4l.syncReceiptTimeout is 0
    ptp4l[500.437]: config item /var/run/ptp4l.transportSpecific is 0
    ptp4l[500.437]: config item /var/run/ptp4l.ignore_transport_specific is 0
    ptp4l[500.438]: config item /var/run/ptp4l.G.8275.portDS.localPriority is 128
    ptp4l[500.438]: config item /var/run/ptp4l.logSyncInterval is 0
    ptp4l[500.438]: config item /var/run/ptp4l.operLogSyncInterval is 0
    ptp4l[500.438]: config item /var/run/ptp4l.logMinPdelayReqInterval is 0
    ptp4l[500.438]: config item /var/run/ptp4l.operLogPdelayReqInterval is 0
    ptp4l[500.438]: config item /var/run/ptp4l.neighborPropDelayThresh is 20000000
    ptp4l[500.438]: config item /var/run/ptp4l.min_neighbor_prop_delay is -20000000
    ptp4l[500.438]: config item /var/run/ptp4l.delay_response_timeout is 0
    ptp4l[500.438]: config item /var/run/ptp4l.interface_rate_tlv is 0
    ptp4l[500.770]: config item /var/run/ptp4l.asCapable is 1
    ptp4l[500.770]: config item /var/run/ptp4l.inhibit_delay_req is 0
    ptp4l[500.771]: config item (null).uds_ro_address is '/var/run/ptp4lro'
    ptp4l[500.771]: config item (null).uds_address is '/var/run/ptp4l'
    ptp4l[500.771]: config item /var/run/ptp4l.uds_file_mode is 432
    ptp4l[500.771]: port 0 (/var/run/ptp4l): INITIALIZING to LISTENING on INIT_COMPLETE
    ptp4l[500.771]: config item /var/run/ptp4lro.logMinDelayReqInterval is 0
    ptp4l[500.771]: config item /var/run/ptp4lro.logAnnounceInterval is 1
    ptp4l[500.771]: config item /var/run/ptp4lro.inhibit_announce is 0
    ptp4l[500.771]: config item /var/run/ptp4lro.ignore_source_id is 0
    ptp4l[500.771]: config item /var/run/ptp4lro.announceReceiptTimeout is 0
    ptp4l[500.771]: config item /var/run/ptp4lro.syncReceiptTimeout is 0
    ptp4l[500.771]: config item /var/run/ptp4lro.transportSpecific is 0
    ptp4l[500.771]: config item /var/run/ptp4lro.ignore_transport_specific is 0
    ptp4l[500.771]: config item /var/run/ptp4lro.G.8275.portDS.localPriority is 128
    ptp4l[500.771]: config item /var/run/ptp4lro.logSyncInterval is 0
    ptp4l[500.771]: config item /var/run/ptp4lro.operLogSyncInterval is 0
    ptp4l[500.771]: config item /var/run/ptp4lro.logMinPdelayReqInterval is 0
    ptp4l[500.771]: config item /var/run/ptp4lro.operLogPdelayReqInterval is 0
    ptp4l[500.771]: config item /var/run/ptp4lro.neighborPropDelayThresh is 20000000
    ptp4l[500.771]: config item /var/run/ptp4lro.min_neighbor_prop_delay is -20000000
    ptp4l[500.771]: config item /var/run/ptp4lro.delay_response_timeout is 0
    ptp4l[500.771]: config item /var/run/ptp4lro.interface_rate_tlv is 0
    ptp4l[500.771]: config item /var/run/ptp4lro.asCapable is 1
    ptp4l[500.771]: config item /var/run/ptp4lro.inhibit_delay_req is 0
    ptp4l[500.771]: config item (null).uds_ro_address is '/var/run/ptp4lro'
    ptp4l[500.771]: config item (null).uds_address is '/var/run/ptp4l'
    ptp4l[500.772]: config item /var/run/ptp4lro.uds_ro_file_mode is 438
    ptp4l[500.772]: port 0 (/var/run/ptp4lro): INITIALIZING to LISTENING on INIT_COMPLETE
    ptp4l[500.772]: port 1 (eth1): received link status notification
    ptp4l[500.772]: interface index 3 is up
    ptp4l[501.437]: port 1 (eth1): delay timeout
    ptp4l[502.438]: port 1 (eth1): delay timeout
    ptp4l[502.438]: port 1 (eth1): setting asCapable
    ptp4l[503.438]: port 1 (eth1): delay timeout
    ptp4l[504.438]: port 1 (eth1): delay timeout
    ptp4l[505.439]: port 1 (eth1): delay timeout
    ptp4l[505.440]: port 1 (eth1): peer port id set to 70ff76.fffe.1f4098-1
    ptp4l[505.440]: delay   filtered        411   raw        411
    ptp4l[506.439]: port 1 (eth1): delay timeout
    ptp4l[506.440]: delay   filtered        411   raw        411
    ptp4l[507.439]: port 1 (eth1): delay timeout
    ptp4l[507.440]: delay   filtered        411   raw        413
    ptp4l[507.652]: port 1 (eth1): announce timeout
    ptp4l[507.653]: port 1 (eth1): LISTENING to MASTER on ANNOUNCE_RECEIPT_TIMEOUT_EXPIRES
    ptp4l[507.653]: selected local clock 70ff76.fffe.1f3c45 as best master
    ptp4l[507.653]: port 1 (eth1): assuming the grand master role
    ptp4l[507.654]: port 1 (eth1): master tx announce timeout
    ptp4l[508.439]: port 1 (eth1): delay timeout
    ptp4l[508.440]: delay   filtered        412   raw        413
    ptp4l[508.653]: port 1 (eth1): master sync timeout
    ptp4l[509.440]: port 1 (eth1): delay timeout
    ptp4l[509.440]: delay   filtered        411   raw        409
    ptp4l[509.653]: port 1 (eth1): master sync timeout
    ptp4l[509.654]: port 1 (eth1): master tx announce timeout
    ptp4l[510.440]: port 1 (eth1): delay timeout
    ptp4l[510.441]: delay   filtered        412   raw        413
    ptp4l[510.653]: port 1 (eth1): master sync timeout
    ptp4l[511.440]: port 1 (eth1): delay timeout
    ptp4l[511.441]: delay   filtered        412   raw        412
    ptp4l[511.653]: port 1 (eth1): master sync timeout
    ptp4l[511.654]: port 1 (eth1): master tx announce timeout
    ptp4l[512.441]: port 1 (eth1): delay timeout
    ptp4l[512.441]: delay   filtered        412   raw        412
    iptp4l[512.653]: port 1 (eth1): master sync timeout
    p linptp4l[513.441]: port 1 (eth1): delay timeout
    ptp4l[513.442]: delay   filtered        412   raw        412
    kptp4l[513.654]: port 1 (eth1): master sync timeout
    ptp4l[513.654]: port 1 (eth1): master tx announce timeout
     set ptp4l[514.441]: port 1 (eth1): delay timeout
    ptp4l[514.442]: delay   filtered        412   raw        410
    dptp4l[514.654]: port 1 (eth1): master sync timeout
    ev etptp4l[515.441]: port 1 (eth1): delay timeout
    ptp4l[515.442]: delay   filtered        412   raw        411
    hptp4l[515.654]: port 1 (eth1): master sync timeout
    ptp4l[515.654]: port 1 (eth1): master tx announce timeout
    1 dptp4l[516.442]: port 1 (eth1): delay timeout
    ptp4l[516.442]: delay   filtered        412   raw        410
    owptp4l[516.654]: port 1 (eth1): master sync timeout
    n
    [  516.918425] am65-cpsw-nuss 8000000.ethernet eth1: Link is Down
    ptp4l[516.920]: port 1 (eth1): error on fda[0]: Network is down
    ptp4l[516.920]: port 1 (eth1): MASTER to FAULTY on FAULT_DETECTED (FT_UNSPECIFIED)
    root@am64xx-evm:~# ptp4l[516.937]: waiting 2^{4} seconds to clear fault on port 1 (eth1)
    ptp4l[516.937]: port 1 (eth1): received link status notification
    ptp4l[516.937]: interface index 3 is down
    ptp4l[516.937]: port 1 (eth1): link down
    ptp4l[516.937]: port 1 (eth1): assuming the grand master role
    ptp4l[532.937]: clearing fault on port 1 (eth1)
    ip link set dev eth1 up
    [  631.178718] am65-cpsw-nuss 8000000.ethernet eth1: PHY [mdio_mux-0.1:03] driver [TI DP83869] (irq=POLL)
    [  631.180678] am65-cpsw-nuss 8000000.ethernet eth1: configuring for phy/rgmii-rxid link mode
    ptp4l[631.195]: port 1 (eth1): received link status notification
    ptp4l[631.195]: interface index 3 is down
    ptp4l[631.203]: port 1 (eth1): assuming the grand master role
    root@am64xx-evm:~# [  634.277364] am65-cpsw-nuss 8000000.ethernet eth1: Link is Up - 1Gbps/Full - flow control rx/tx
    ptp4l[634.278]: port 1 (eth1): received link status notification
    ptp4l[634.285]: interface index 3 is up
    ptp4l[634.290]: port 1 (eth1): link up
    ptp4l[634.294]: config item eth1.logMinDelayReqInterval is 0
    ptp4l[634.294]: config item eth1.logAnnounceInterval is 1
    ptp4l[634.294]: config item eth1.inhibit_announce is 0
    ptp4l[634.294]: config item eth1.ignore_source_id is 0
    ptp4l[634.294]: config item eth1.announceReceiptTimeout is 3
    ptp4l[634.295]: config item eth1.syncReceiptTimeout is 0
    ptp4l[634.295]: config item eth1.transportSpecific is 0
    ptp4l[634.295]: config item eth1.ignore_transport_specific is 0
    ptp4l[634.295]: config item eth1.G.8275.portDS.localPriority is 128
    ptp4l[634.295]: config item eth1.logSyncInterval is 0
    ptp4l[634.295]: config item eth1.operLogSyncInterval is 0
    ptp4l[634.295]: config item eth1.logMinPdelayReqInterval is 0
    ptp4l[634.295]: config item eth1.operLogPdelayReqInterval is 0
    ptp4l[634.295]: config item eth1.neighborPropDelayThresh is 20000000
    ptp4l[634.295]: config item eth1.min_neighbor_prop_delay is -20000000
    ptp4l[634.295]: config item eth1.delay_response_timeout is 0
    ptp4l[634.295]: config item eth1.interface_rate_tlv is 0
    ptp4l[634.295]: config item eth1.asCapable is 1
    ptp4l[634.295]: config item eth1.inhibit_delay_req is 0
    ptp4l[634.295]: config item eth1.ptp_dst_mac is '01:1B:19:00:00:00'
    ptp4l[634.295]: config item eth1.p2p_dst_mac is '01:80:C2:00:00:0E'
    ptp4l[634.295]: config item global.socket_priority is 0
    ptp4l[634.332]: port 1 (eth1): FAULTY to LISTENING on INIT_COMPLETE
    ptp4l[634.332]: port 1 (eth1): received link status notification
    ptp4l[634.332]: interface index 3 is up
    ptp4l[635.332]: port 1 (eth1): delay timeout
    ptp4l[635.333]: port 1 (eth1): setting asCapable
    ptp4l[635.333]: port 1 (eth1): peer port id set to 70ff76.fffe.1f4098-1
    ptp4l[635.333]: delay   filtered        412   raw        414
    ptp4l[636.332]: port 1 (eth1): delay timeout
    ptp4l[636.333]: delay   filtered        412   raw        416
    ptp4l[637.333]: port 1 (eth1): delay timeout
    ptp4l[637.333]: delay   filtered        412   raw        416
    ptp4l[638.333]: port 1 (eth1): delay timeout
    ptp4l[638.334]: delay   filtered        412   raw        414
    ptp4l[639.333]: port 1 (eth1): delay timeout
    ptp4l[639.334]: delay   filtered        413   raw        416
    ptp4l[640.333]: port 1 (eth1): delay timeout
    ptp4l[640.334]: delay   filtered        414   raw        416
    ptp4l[641.148]: port 1 (eth1): announce timeout
    ptp4l[641.148]: port 1 (eth1): LISTENING to MASTER on ANNOUNCE_RECEIPT_TIMEOUT_EXPIRES
    ptp4l[641.148]: port 1 (eth1): assuming the grand master role
    ptp4l[641.149]: port 1 (eth1): master tx announce timeout
    ptp4l[641.334]: port 1 (eth1): delay timeout
    ptp4l[641.334]: delay   filtered        414   raw        415
    ptp4l[642.148]: port 1 (eth1): master sync timeout
    ptp4l[642.334]: port 1 (eth1): delay timeout
    ptp4l[642.335]: delay   filtered        414   raw        414
    ptp4l[643.148]: port 1 (eth1): master sync timeout
    ptp4l[643.149]: port 1 (eth1): master tx announce timeout
    ptp4l[643.334]: port 1 (eth1): delay timeout
    ptp4l[643.334]: delay   filtered        415   raw        416
    ptp4l[644.149]: port 1 (eth1): master sync timeout
    ptp4l[644.334]: port 1 (eth1): delay timeout
    ptp4l[644.335]: delay   filtered        416   raw        416
    ptp4l[645.149]: port 1 (eth1): master sync timeout
    ptp4l[645.150]: port 1 (eth1): master tx announce timeout
    ptp4l[645.334]: port 1 (eth1): delay timeout
    ptp4l[645.335]: delay   filtered        416   raw        416
    ptp4l[646.149]: port 1 (eth1): master sync timeout
    ptp4l[646.334]: port 1 (eth1): delay timeout
    ptp4l[646.335]: delay   filtered        416   raw        415
    ptp4l[647.149]: port 1 (eth1): master sync timeout
    ptp4l[647.150]: port 1 (eth1): master tx announce timeout
    ptp4l[647.335]: port 1 (eth1): delay timeout
    ptp4l[647.335]: delay   filtered        416   raw        416
    ptp4l[648.150]: port 1 (eth1): master sync timeout
    ptp4l[648.335]: port 1 (eth1): delay timeout
    ptp4l[648.336]: delay   filtered        416   raw        417
    ptp4l[649.150]: port 1 (eth1): master sync timeout
    ptp4l[649.150]: port 1 (eth1): master tx announce timeout
    ^C
    root@am64xx-evm:~# ptp4l[649.335]: port 1 (eth1): delay timeout
    ptp4l[649.336]: delay   filtered        416   raw        417
    ptp4l[650.150]: port 1 (eth1): master sync timeout
    fptp4l[650.335]: port 1 (eth1): delay timeout
    ptp4l[650.336]: delay   filtered        416   raw        415
    g
    ptp4l -2 -P -H -i eth1 -m -q -l 7
    ^Croot@am64xx-evm:~# uname -a
    Linux am64xx-evm 6.6.58-rt45-gc79d7ef3a56f #16 SMP PREEMPT_RT Tue Jan 14 13:31:47 CST 2025 aarch64 GNU/Linux
    root@am64xx-evm:~#

    DUT2 (AM64x EVM2) - PTP Follower

    root@am64xx-evm:~# ptp4l -2 -P -H -i eth1 -m -q -l 7 -s &
    [1] 1124
    root@am64xx-evm:~# ptp4l[501.230]: config item (null).assume_two_step is 0
    ptp4l[501.231]: config item (null).check_fup_sync is 0
    ptp4l[501.231]: config item (null).tx_timestamp_timeout is 10
    ptp4l[501.231]: config item (null).hwts_filter is 0
    ptp4l[501.231]: config item (null).clock_servo is 0
    ptp4l[501.231]: config item (null).clock_type is 32768
    ptp4l[501.231]: config item (null).clock_servo is 0
    ptp4l[501.231]: config item (null).clockClass is 248
    ptp4l[501.231]: config item (null).clockAccuracy is 254
    ptp4l[501.231]: config item (null).offsetScaledLogVariance is 65535
    ptp4l[501.231]: config item (null).productDescription is ';;'
    ptp4l[501.231]: config item (null).revisionData is ';;'
    ptp4l[501.231]: config item (null).userDescription is ''
    ptp4l[501.231]: config item (null).manufacturerIdentity is '00:00:00'
    ptp4l[501.231]: config item (null).domainNumber is 0
    ptp4l[501.231]: config item (null).clientOnly is 1
    ptp4l[501.231]: config item (null).gmCapable is 1
    ptp4l[501.231]: config item (null).gmCapable is 1
    ptp4l[501.231]: config item (null).G.8275.defaultDS.localPriority is 128
    ptp4l[501.231]: config item (null).maxStepsRemoved is 255
    ptp4l[501.231]: config item (null).clock_class_threshold is 248
    ptp4l[501.231]: config item (null).time_stamping is 1
    ptp4l[501.231]: config item (null).twoStepFlag is 1
    ptp4l[501.231]: config item (null).twoStepFlag is 1
    ptp4l[501.231]: config item (null).time_stamping is 1
    ptp4l[501.231]: config item (null).priority1 is 128
    ptp4l[501.231]: config item (null).priority2 is 128
    ptp4l[501.231]: interface index 3 is up
    ptp4l[501.232]: config item eth1.phc_index is -1
    ptp4l[501.232]: config item (null).free_running is 0
    ptp4l[501.232]: selected /dev/ptp0 as PTP clock
    ptp4l[501.232]: config item (null).clockIdentity is '000000.0000.000000'
    ptp4l[501.232]: config item (null).uds_address is '/var/run/ptp4l'
    ptp4l[501.232]: section item /var/run/ptp4l.announceReceiptTimeout now 0
    ptp4l[501.232]: section item /var/run/ptp4l.delay_mechanism now 0
    ptp4l[501.232]: section item /var/run/ptp4l.network_transport now 0
    ptp4l[501.232]: section item /var/run/ptp4l.delay_filter_length now 1
    ptp4l[501.232]: config item (null).uds_ro_address is '/var/run/ptp4lro'
    ptp4l[501.232]: section item /var/run/ptp4lro.announceReceiptTimeout now 0
    ptp4l[501.232]: section item /var/run/ptp4lro.delay_mechanism now 0
    ptp4l[501.232]: section item /var/run/ptp4lro.network_transport now 0
    ptp4l[501.232]: section item /var/run/ptp4lro.delay_filter_length now 1
    ptp4l[501.232]: config item (null).free_running is 0
    ptp4l[501.232]: config item (null).freq_est_interval is 1
    ptp4l[501.232]: config item (null).write_phase_mode is 0
    ptp4l[501.232]: config item (null).gmCapable is 1
    ptp4l[501.232]: config item (null).kernel_leap is 1
    ptp4l[501.232]: config item (null).utc_offset is 37
    ptp4l[501.232]: config item (null).timeSource is 160
    ptp4l[501.232]: config item (null).step_window is 0
    ptp4l[501.232]: config item (null).pi_proportional_const is 0.000000
    ptp4l[501.232]: config item (null).pi_integral_const is 0.000000
    ptp4l[501.232]: config item (null).pi_proportional_scale is 0.000000
    ptp4l[501.232]: config item (null).pi_proportional_exponent is -0.300000
    ptp4l[501.232]: config item (null).pi_proportional_norm_max is 0.700000
    ptp4l[501.232]: config item (null).pi_integral_scale is 0.000000
    ptp4l[501.232]: config item (null).pi_integral_exponent is 0.400000
    ptp4l[501.232]: config item (null).pi_integral_norm_max is 0.300000
    ptp4l[501.232]: config item (null).step_threshold is 0.000000
    ptp4l[501.232]: config item (null).first_step_threshold is 0.000020
    ptp4l[501.232]: config item (null).max_frequency is 900000000
    ptp4l[501.232]: config item (null).servo_offset_threshold is 0
    ptp4l[501.232]: config item (null).servo_num_offset_values is 10
    ptp4l[501.233]: config item (null).dataset_comparison is 0
    ptp4l[501.233]: config item (null).tsproc_mode is 0
    ptp4l[501.233]: config item (null).delay_filter is 1
    ptp4l[501.233]: config item (null).delay_filter_length is 10
    ptp4l[501.233]: config item (null).initial_delay is 0
    ptp4l[501.233]: config item (null).summary_interval is 0
    ptp4l[501.563]: config item (null).sanity_freq_limit is 200000000
    ptp4l[501.564]: PI servo: sync interval 1.000 kp 0.700 ki 0.300000
    ptp4l[501.564]: config item /var/run/ptp4l.phc_index is -1
    ptp4l[501.564]: config item /var/run/ptp4l.boundary_clock_jbod is 0
    ptp4l[501.564]: config item /var/run/ptp4l.serverOnly is 0
    ptp4l[501.564]: config item /var/run/ptp4l.BMCA is 0
    ptp4l[501.564]: config item /var/run/ptp4l.network_transport is 0
    ptp4l[501.564]: config item /var/run/ptp4l.delayAsymmetry is 0
    ptp4l[501.564]: config item /var/run/ptp4l.follow_up_info is 0
    ptp4l[501.564]: config item /var/run/ptp4l.freq_est_interval is 1
    ptp4l[501.564]: config item /var/run/ptp4l.msg_interval_request is 0
    ptp4l[501.564]: config item /var/run/ptp4l.net_sync_monitor is 0
    ptp4l[501.564]: config item /var/run/ptp4l.path_trace_enabled is 0
    ptp4l[501.564]: config item /var/run/ptp4l.tc_spanning_tree is 0
    ptp4l[501.564]: config item /var/run/ptp4l.ingressLatency is 0
    ptp4l[501.564]: config item /var/run/ptp4l.egressLatency is 0
    ptp4l[501.564]: config item /var/run/ptp4l.delay_mechanism is 0
    ptp4l[501.564]: config item /var/run/ptp4l.power_profile.version is 0
    ptp4l[501.564]: config item /var/run/ptp4l.power_profile.grandmasterID is 0
    ptp4l[501.564]: config item /var/run/ptp4l.power_profile.2011.grandmasterTimeInaccuracy is -1
    ptp4l[501.564]: config item /var/run/ptp4l.power_profile.2011.networkTimeInaccuracy is -1
    ptp4l[501.564]: config item /var/run/ptp4l.power_profile.2017.totalTimeInaccuracy is -1
    ptp4l[501.564]: config item /var/run/ptp4l.hybrid_e2e is 0
    ptp4l[501.564]: config item /var/run/ptp4l.fault_badpeernet_interval is 16
    ptp4l[501.564]: config item /var/run/ptp4l.fault_reset_interval is 4
    ptp4l[501.564]: config item /var/run/ptp4l.tsproc_mode is 0
    ptp4l[501.564]: config item /var/run/ptp4l.delay_filter is 1
    ptp4l[501.564]: config item /var/run/ptp4l.delay_filter_length is 1
    ptp4l[501.564]: config item /var/run/ptp4lro.phc_index is -1
    ptp4l[501.564]: config item /var/run/ptp4lro.boundary_clock_jbod is 0
    ptp4l[501.564]: config item /var/run/ptp4lro.serverOnly is 0
    ptp4l[501.564]: config item /var/run/ptp4lro.BMCA is 0
    ptp4l[501.564]: config item /var/run/ptp4lro.network_transport is 0
    ptp4l[501.564]: config item /var/run/ptp4lro.delayAsymmetry is 0
    ptp4l[501.564]: config item /var/run/ptp4lro.follow_up_info is 0
    ptp4l[501.564]: config item /var/run/ptp4lro.freq_est_interval is 1
    ptp4l[501.564]: config item /var/run/ptp4lro.msg_interval_request is 0
    ptp4l[501.564]: config item /var/run/ptp4lro.net_sync_monitor is 0
    ptp4l[501.564]: config item /var/run/ptp4lro.path_trace_enabled is 0
    ptp4l[501.564]: config item /var/run/ptp4lro.tc_spanning_tree is 0
    ptp4l[501.564]: config item /var/run/ptp4lro.ingressLatency is 0
    ptp4l[501.564]: config item /var/run/ptp4lro.egressLatency is 0
    ptp4l[501.564]: config item /var/run/ptp4lro.delay_mechanism is 0
    ptp4l[501.564]: config item /var/run/ptp4lro.power_profile.version is 0
    ptp4l[501.564]: config item /var/run/ptp4lro.power_profile.grandmasterID is 0
    ptp4l[501.564]: config item /var/run/ptp4lro.power_profile.2011.grandmasterTimeInaccuracy is -1
    ptp4l[501.564]: config item /var/run/ptp4lro.power_profile.2011.networkTimeInaccuracy is -1
    ptp4l[501.564]: config item /var/run/ptp4lro.power_profile.2017.totalTimeInaccuracy is -1
    ptp4l[501.564]: config item /var/run/ptp4lro.hybrid_e2e is 0
    ptp4l[501.564]: config item /var/run/ptp4lro.fault_badpeernet_interval is 16
    ptp4l[501.564]: config item /var/run/ptp4lro.fault_reset_interval is 4
    ptp4l[501.565]: config item /var/run/ptp4lro.tsproc_mode is 0
    ptp4l[501.565]: config item /var/run/ptp4lro.delay_filter is 1
    ptp4l[501.565]: config item /var/run/ptp4lro.delay_filter_length is 1
    ptp4l[501.565]: config item (null).slave_event_monitor is ''
    ptp4l[501.897]: config item eth1.phc_index is -1
    ptp4l[501.897]: config item eth1.boundary_clock_jbod is 0
    ptp4l[501.897]: config item eth1.serverOnly is 0
    ptp4l[501.897]: config item eth1.BMCA is 0
    ptp4l[501.897]: config item eth1.network_transport is 3
    ptp4l[501.897]: config item eth1.delayAsymmetry is 0
    ptp4l[501.897]: config item eth1.follow_up_info is 0
    ptp4l[501.897]: config item eth1.freq_est_interval is 1
    ptp4l[501.897]: config item eth1.msg_interval_request is 0
    ptp4l[501.897]: config item eth1.net_sync_monitor is 0
    ptp4l[501.897]: config item eth1.path_trace_enabled is 0
    ptp4l[501.897]: config item eth1.tc_spanning_tree is 0
    ptp4l[501.897]: config item eth1.ingressLatency is 0
    ptp4l[501.897]: config item eth1.egressLatency is 0
    ptp4l[501.897]: config item eth1.delay_mechanism is 2
    ptp4l[501.897]: config item eth1.power_profile.version is 0
    ptp4l[501.897]: config item eth1.power_profile.grandmasterID is 0
    ptp4l[501.897]: config item eth1.power_profile.2011.grandmasterTimeInaccuracy is -1
    ptp4l[501.897]: config item eth1.power_profile.2011.networkTimeInaccuracy is -1
    ptp4l[501.897]: config item eth1.power_profile.2017.totalTimeInaccuracy is -1
    ptp4l[501.897]: config item eth1.unicast_master_table is 0
    ptp4l[501.897]: config item eth1.unicast_listen is 0
    ptp4l[501.897]: config item eth1.hybrid_e2e is 0
    ptp4l[501.897]: config item eth1.fault_badpeernet_interval is 16
    ptp4l[501.897]: config item eth1.fault_reset_interval is 4
    ptp4l[501.897]: config item eth1.tsproc_mode is 0
    ptp4l[501.897]: config item eth1.delay_filter is 1
    ptp4l[501.897]: config item eth1.delay_filter_length is 10
    ptp4l[501.898]: config item eth1.logMinDelayReqInterval is 0
    ptp4l[501.898]: config item eth1.logAnnounceInterval is 1
    ptp4l[501.898]: config item eth1.inhibit_announce is 0
    ptp4l[501.898]: config item eth1.ignore_source_id is 0
    ptp4l[501.898]: config item eth1.announceReceiptTimeout is 3
    ptp4l[501.898]: config item eth1.syncReceiptTimeout is 0
    ptp4l[501.898]: config item eth1.transportSpecific is 0
    ptp4l[501.898]: config item eth1.ignore_transport_specific is 0
    ptp4l[501.898]: config item eth1.G.8275.portDS.localPriority is 128
    ptp4l[501.898]: config item eth1.logSyncInterval is 0
    ptp4l[501.898]: config item eth1.operLogSyncInterval is 0
    ptp4l[501.898]: config item eth1.logMinPdelayReqInterval is 0
    ptp4l[501.898]: config item eth1.operLogPdelayReqInterval is 0
    ptp4l[501.898]: config item eth1.neighborPropDelayThresh is 20000000
    ptp4l[501.898]: config item eth1.min_neighbor_prop_delay is -20000000
    ptp4l[501.898]: config item eth1.delay_response_timeout is 0
    ptp4l[501.898]: config item eth1.interface_rate_tlv is 0
    ptp4l[501.898]: config item eth1.asCapable is 1
    ptp4l[501.898]: config item eth1.inhibit_delay_req is 0
    ptp4l[501.898]: config item eth1.ptp_dst_mac is '01:1B:19:00:00:00'
    ptp4l[501.898]: config item eth1.p2p_dst_mac is '01:80:C2:00:00:0E'
    ptp4l[501.898]: config item global.socket_priority is 0
    ptp4l[501.932]: port 1 (eth1): INITIALIZING to LISTENING on INIT_COMPLETE
    ptp4l[501.932]: config item /var/run/ptp4l.logMinDelayReqInterval is 0
    ptp4l[501.932]: config item /var/run/ptp4l.logAnnounceInterval is 1
    ptp4l[501.933]: config item /var/run/ptp4l.inhibit_announce is 0
    ptp4l[501.933]: config item /var/run/ptp4l.ignore_source_id is 0
    ptp4l[501.933]: config item /var/run/ptp4l.announceReceiptTimeout is 0
    ptp4l[501.933]: config item /var/run/ptp4l.syncReceiptTimeout is 0
    ptp4l[501.933]: config item /var/run/ptp4l.transportSpecific is 0
    ptp4l[501.933]: config item /var/run/ptp4l.ignore_transport_specific is 0
    ptp4l[501.933]: config item /var/run/ptp4l.G.8275.portDS.localPriority is 128
    ptp4l[501.933]: config item /var/run/ptp4l.logSyncInterval is 0
    ptp4l[501.933]: config item /var/run/ptp4l.operLogSyncInterval is 0
    ptp4l[501.933]: config item /var/run/ptp4l.logMinPdelayReqInterval is 0
    ptp4l[501.933]: config item /var/run/ptp4l.operLogPdelayReqInterval is 0
    ptp4l[501.933]: config item /var/run/ptp4l.neighborPropDelayThresh is 20000000
    ptp4l[501.933]: config item /var/run/ptp4l.min_neighbor_prop_delay is -20000000
    ptp4l[501.933]: config item /var/run/ptp4l.delay_response_timeout is 0
    ptp4l[502.266]: config item /var/run/ptp4l.interface_rate_tlv is 0
    ptp4l[502.266]: config item /var/run/ptp4l.asCapable is 1
    ptp4l[502.266]: config item /var/run/ptp4l.inhibit_delay_req is 0
    ptp4l[502.266]: config item (null).uds_ro_address is '/var/run/ptp4lro'
    ptp4l[502.266]: config item (null).uds_address is '/var/run/ptp4l'
    ptp4l[502.266]: config item /var/run/ptp4l.uds_file_mode is 432
    ptp4l[502.266]: port 0 (/var/run/ptp4l): INITIALIZING to LISTENING on INIT_COMPLETE
    ptp4l[502.266]: config item /var/run/ptp4lro.logMinDelayReqInterval is 0
    ptp4l[502.266]: config item /var/run/ptp4lro.logAnnounceInterval is 1
    ptp4l[502.266]: config item /var/run/ptp4lro.inhibit_announce is 0
    ptp4l[502.266]: config item /var/run/ptp4lro.ignore_source_id is 0
    ptp4l[502.266]: config item /var/run/ptp4lro.announceReceiptTimeout is 0
    ptp4l[502.266]: config item /var/run/ptp4lro.syncReceiptTimeout is 0
    ptp4l[502.266]: config item /var/run/ptp4lro.transportSpecific is 0
    ptp4l[502.266]: config item /var/run/ptp4lro.ignore_transport_specific is 0
    ptp4l[502.266]: config item /var/run/ptp4lro.G.8275.portDS.localPriority is 128
    ptp4l[502.266]: config item /var/run/ptp4lro.logSyncInterval is 0
    ptp4l[502.266]: config item /var/run/ptp4lro.operLogSyncInterval is 0
    ptp4l[502.266]: config item /var/run/ptp4lro.logMinPdelayReqInterval is 0
    ptp4l[502.266]: config item /var/run/ptp4lro.operLogPdelayReqInterval is 0
    ptp4l[502.266]: config item /var/run/ptp4lro.neighborPropDelayThresh is 20000000
    ptp4l[502.266]: config item /var/run/ptp4lro.min_neighbor_prop_delay is -20000000
    ptp4l[502.266]: config item /var/run/ptp4lro.delay_response_timeout is 0
    ptp4l[502.266]: config item /var/run/ptp4lro.interface_rate_tlv is 0
    ptp4l[502.266]: config item /var/run/ptp4lro.asCapable is 1
    ptp4l[502.267]: config item /var/run/ptp4lro.inhibit_delay_req is 0
    ptp4l[502.267]: config item (null).uds_ro_address is '/var/run/ptp4lro'
    ptp4l[502.267]: config item (null).uds_address is '/var/run/ptp4l'
    ptp4l[502.267]: config item /var/run/ptp4lro.uds_ro_file_mode is 438
    ptp4l[502.267]: port 0 (/var/run/ptp4lro): INITIALIZING to LISTENING on INIT_COMPLETE
    ptp4l[502.267]: port 1 (eth1): received link status notification
    ptp4l[502.267]: interface index 3 is up
    ptp4l[502.803]: port 1 (eth1): setting asCapable
    ptp4l[502.803]: port 1 (eth1): peer port id set to 70ff76.fffe.1f3c45-1
    ptp4l[502.933]: port 1 (eth1): delay timeout
    ptp4l[502.933]: delay   filtered        412   raw        412
    ptp4l[503.933]: port 1 (eth1): delay timeout
    ptp4l[503.934]: delay   filtered        412   raw        412
    ptp4l[504.933]: port 1 (eth1): delay timeout
    ptp4l[504.934]: delay   filtered        412   raw        411
    ptp4l[505.017]: port 1 (eth1): new foreign master 70ff76.fffe.1f3c45-1
    ptp4l[505.933]: port 1 (eth1): delay timeout
    ptp4l[505.934]: delay   filtered        411   raw        410
    ptp4l[506.934]: port 1 (eth1): delay timeout
    ptp4l[506.934]: delay   filtered        411   raw        411
    ptp4l[507.934]: port 1 (eth1): delay timeout
    ptp4l[507.935]: delay   filtered        411   raw        410
    ptp4l[508.934]: port 1 (eth1): delay timeout
    ptp4l[508.935]: delay   filtered        411   raw        413
    ptp4l[509.017]: selected best master clock 70ff76.fffe.1f3c45
    ptp4l[509.018]: port 1 (eth1): LISTENING to UNCALIBRATED on RS_SLAVE
    ptp4l[509.934]: port 1 (eth1): delay timeout
    ptp4l[509.935]: delay   filtered        411   raw        410
    ptp4l[510.017]: master offset     -71955 s0 freq   -2144 path delay       411
    ptp4l[510.935]: port 1 (eth1): delay timeout
    ptp4l[510.935]: delay   filtered        411   raw        412
    ptp4l[511.017]: master offset     -72274 s1 freq   -2463 path delay       411
    ptp4l[511.935]: port 1 (eth1): delay timeout
    ptp4l[511.936]: delay   filtered        411   raw        412
    ptp4l[512.018]: master offset      -3603 s2 freq   -6066 path delay       411
    ptp4l[512.018]: port 1 (eth1): UNCALIBRATED to SLAVE on MASTER_CLOCK_SELECTED
    ptp4l[512.935]: port 1 (eth1): delay timeout
    ptp4l[512.936]: delay   filtered        411   raw        414
    ptp4l[513.018]: master offset        -10 s2 freq   -3554 path delay       411
    ptp4l[513.935]: port 1 (eth1): delay timeout
    ptp4l[513.936]: delay   filtered        411   raw        411
    ptp4l[514.018]: master offset       1090 s2 freq   -2457 path delay       411
    [  514.405644] am65-cpsw-nuss 8000000.ethernet eth1: Link is Down
    ptp4l[514.408]: port 1 (eth1): received link status notification
    ptp4l[514.408]: interface index 3 is down
    ptp4l[514.408]: port 1 (eth1): link down
    ptp4l[514.408]: port 1 (eth1): SLAVE to FAULTY on FAULT_DETECTED (FT_UNSPECIFIED)
    ptp4l[514.458]: waiting 2^{4} seconds to clear fault on port 1 (eth1)
    ptp4l[514.458]: selected local clock 70ff76.fffe.1f4098 as best master
    ptp4l[514.458]: port 1 (eth1): assuming the grand master role
    ptp4l[514.458]: port 1 (eth1): master state recommended in slave only mode
    ptp4l[514.458]: port 1 (eth1): defaultDS.priority1 probably misconfigured
    ptp4l[530.458]: clearing fault on port 1 (eth1)
    [  632.165458] am65-cpsw-nuss 8000000.ethernet eth1: Link is Up - 1Gbps/Full - flow control rx/tx
    ptp4l[632.161]: port 1 (eth1): received link status notification
    ptp4l[632.174]: interface index 3 is up
    ptp4l[632.174]: port 1 (eth1): link up
    ptp4l[632.174]: config item eth1.logMinDelayReqInterval is 0
    ptp4l[632.174]: config item eth1.logAnnounceInterval is 1
    ptp4l[632.174]: config item eth1.inhibit_announce is 0
    ptp4l[632.174]: config item eth1.ignore_source_id is 0
    ptp4l[632.174]: config item eth1.announceReceiptTimeout is 3
    ptp4l[632.174]: config item eth1.syncReceiptTimeout is 0
    ptp4l[632.174]: config item eth1.transportSpecific is 0
    ptp4l[632.174]: config item eth1.ignore_transport_specific is 0
    ptp4l[632.174]: config item eth1.G.8275.portDS.localPriority is 128
    ptp4l[632.174]: config item eth1.logSyncInterval is 0
    ptp4l[632.174]: config item eth1.operLogSyncInterval is 0
    ptp4l[632.174]: config item eth1.logMinPdelayReqInterval is 0
    ptp4l[632.174]: config item eth1.operLogPdelayReqInterval is 0
    ptp4l[632.174]: config item eth1.neighborPropDelayThresh is 20000000
    ptp4l[632.174]: config item eth1.min_neighbor_prop_delay is -20000000
    ptp4l[632.174]: config item eth1.delay_response_timeout is 0
    ptp4l[632.174]: config item eth1.interface_rate_tlv is 0
    ptp4l[632.174]: config item eth1.asCapable is 1
    ptp4l[632.174]: config item eth1.inhibit_delay_req is 0
    ptp4l[632.174]: config item eth1.ptp_dst_mac is '01:1B:19:00:00:00'
    ptp4l[632.174]: config item eth1.p2p_dst_mac is '01:80:C2:00:00:0E'
    ptp4l[632.174]: config item global.socket_priority is 0
    ptp4l[632.227]: port 1 (eth1): FAULTY to LISTENING on INIT_COMPLETE
    ptp4l[632.227]: port 1 (eth1): received link status notification
    ptp4l[632.227]: interface index 3 is up
    ptp4l[632.696]: port 1 (eth1): setting asCapable
    ptp4l[632.696]: port 1 (eth1): peer port id set to 70ff76.fffe.1f3c45-1
    ptp4l[633.227]: port 1 (eth1): delay timeout
    ptp4l[633.228]: delay   filtered        411   raw        416
    ptp4l[634.227]: port 1 (eth1): delay timeout
    ptp4l[634.228]: delay   filtered        412   raw        414
    ptp4l[635.228]: port 1 (eth1): delay timeout
    ptp4l[635.229]: delay   filtered        412   raw        415
    ptp4l[636.228]: port 1 (eth1): delay timeout
    ptp4l[636.229]: delay   filtered        413   raw        413
    ptp4l[637.228]: port 1 (eth1): delay timeout
    ptp4l[637.229]: delay   filtered        413   raw        414
    ptp4l[638.229]: port 1 (eth1): delay timeout
    ptp4l[638.229]: delay   filtered        414   raw        415
    ptp4l[638.512]: port 1 (eth1): new foreign master 70ff76.fffe.1f3c45-1
    ptp4l[638.809]: port 1 (eth1): announce timeout
    ptp4l[639.229]: port 1 (eth1): delay timeout
    ptp4l[639.230]: delay   filtered        414   raw        415
    ptp4l[640.229]: port 1 (eth1): delay timeout
    ptp4l[640.230]: delay   filtered        414   raw        413
    ptp4l[641.229]: port 1 (eth1): delay timeout
    ptp4l[641.230]: delay   filtered        414   raw        414
    ptp4l[642.230]: port 1 (eth1): delay timeout
    ptp4l[642.230]: delay   filtered        414   raw        414
    ptp4l[642.513]: selected best master clock 70ff76.fffe.1f3c45
    ptp4l[642.513]: port 1 (eth1): LISTENING to UNCALIBRATED on RS_SLAVE
    ptp4l[643.230]: port 1 (eth1): delay timeout
    ptp4l[643.231]: delay   filtered        414   raw        414
    ptp4l[643.513]: master offset       1747 s2 freq   -1473 path delay       414
    ptp4l[643.513]: port 1 (eth1): UNCALIBRATED to SLAVE on MASTER_CLOCK_SELECTED
    ptp4l[644.230]: port 1 (eth1): delay timeout
    ptp4l[644.231]: delay   filtered        414   raw        416
    ptp4l[644.513]: master offset        792 s2 freq   -1904 path delay       414
    ptp4l[645.230]: port 1 (eth1): delay timeout
    ptp4l[645.231]: delay   filtered        414   raw        415
    ptp4l[645.513]: master offset        257 s2 freq   -2201 path delay       414
    ptp4l[646.231]: port 1 (eth1): delay timeout
    ptp4l[646.232]: delay   filtered        414   raw        416
    ptp4l[646.514]: master offset         25 s2 freq   -2356 path delay       414
    ptp4l[647.231]: port 1 (eth1): delay timeout
    ptp4l[647.232]: delay   filtered        415   raw        416
    ptp4l[647.514]: master offset        -56 s2 freq   -2430 path delay       415
    ptp4l[648.231]: port 1 (eth1): delay timeout
    ptp4l[648.232]: delay   filtered        415   raw        416
    ptp4l[649.232]: port 1 (eth1): delay timeout
    ptp4l[650.232]: port 1 (eth1): delay timeout
    ptp4l[651.232]: port 1 (eth1): delay timeout
    ptp4l[652.232]: port 1 (eth1): delay timeout
    ptp4l[652.705]: port 1 (eth1): announce timeout
    ptp4l[652.705]: port 1 (eth1): SLAVE to LISTENING on ANNOUNCE_RECEIPT_TIMEOUT_EXPIRES
    ptp4l[652.705]: selected local clock 70ff76.fffe.1f4098 as best master
    ptp4l[653.705]: port 1 (eth1): delay timeout
    fg
    ptp4l -2 -P -H -i eth1 -m -q -l 7 -s
    ptp4l[654.705]: port 1 (eth1): delay timeout
    ^Croot@am64xx-evm:~# uname -a
    Linux am64xx-evm 6.6.58-rt45-ti-rt-01780-gc79d7ef3a56f-dirty #1 SMP PREEMPT_RT Wed Nov 27 14:15:26 UTC 2024 aarch64 GNU/Linux
    root@am64xx-evm:~#

    The results don't have the same exact behavior that you had shared previously. Try and see if the latest SDK will help resolve the issue from showing up.

    NOTE: I used "ip link set dev eth1 down/up" instead of "ifconfig eth1 down/up" as the ip command (from iproute2 package) is the most up to date command to use. ifconfig in Linux is no longer the most up to date command to use.

    -Daolin

  • Hi Daolin,

    Thank you very much for checking this out

    NOTE: I used "ip link set dev eth1 down/up" instead of "ifconfig eth1 down/up" as the ip command (from iproute2 package) is the most up to date command to use. ifconfig in Linux is no longer the most up to date command to use.

    This is ok and correct.

    I will keep you posted on the progress from my side.

    Regards,

    -Dipal

  • Hi Daolin,

    We are still working on this and i will be out of office for a week so we will update you around end of this month.

    Regards,

    -Dipal

  • Hi Dipal, 

    Thanks for the current update.

    Side note, if there are any anticipated deadlines to get this issue resolved on your end, please let me know so that I can be best prepared.

    -Daolin

  • Hi Daolin,

    We need to fix this issue by end of February. 

    I got my setup with TI -SK-AM64 up and did some more analysis, i believe there are still some issues.

    You can see from the log when I disconnected the eth0 interface. Even after disconnecting the eth0 interface OR bringing the interface down with "ip link set dev eth0 down", I don't see the same continuous "delay timeout" message that you saw when the opposite interface was disconnected. 

    If you see the logs share by you with the above message:

    After the port state change we get 

    ptp4l[180.367]: port 1 (eth1): delay timeout
    ptp4l[180.368]: delay filtered 411 raw 411

    But we do not get (master offset message) as below

    ptp4l[157.332]: master offset         -7 s2 freq   -2155 path delay       409

    This means that PTP is still not synced with the master.


    I re-created this exact scenario on AM-64EK (I am using eth0 for PTP and eth1 to change link state)

    Please find below the logs attached 

    PTP Master

    sudo ptp4l -2 -P -H -i enp8s0 -m -q -l 7
    ptp4l[3408525.055]: config item (null).assume_two_step is 0
    ptp4l[3408525.055]: config item (null).check_fup_sync is 0
    ptp4l[3408525.055]: config item (null).tx_timestamp_timeout is 1
    ptp4l[3408525.055]: config item (null).hwts_filter is 0
    ptp4l[3408525.055]: config item (null).clock_servo is 0
    ptp4l[3408525.055]: config item (null).clock_type is 32768
    ptp4l[3408525.055]: config item (null).clock_servo is 0
    ptp4l[3408525.055]: config item (null).clockClass is 248
    ptp4l[3408525.055]: config item (null).clockAccuracy is 254
    ptp4l[3408525.055]: config item (null).offsetScaledLogVariance is 65535
    ptp4l[3408525.055]: config item (null).productDescription is ';;'
    ptp4l[3408525.055]: config item (null).revisionData is ';;'
    ptp4l[3408525.055]: config item (null).userDescription is ''
    ptp4l[3408525.055]: config item (null).manufacturerIdentity is '00:00:00'
    ptp4l[3408525.055]: config item (null).domainNumber is 0
    ptp4l[3408525.055]: config item (null).slaveOnly is 0
    ptp4l[3408525.055]: config item (null).gmCapable is 1
    ptp4l[3408525.055]: config item (null).gmCapable is 1
    ptp4l[3408525.055]: config item (null).G.8275.defaultDS.localPriority is 128
    ptp4l[3408525.055]: config item (null).maxStepsRemoved is 255
    ptp4l[3408525.055]: config item (null).time_stamping is 1
    ptp4l[3408525.055]: config item (null).twoStepFlag is 1
    ptp4l[3408525.055]: config item (null).twoStepFlag is 1
    ptp4l[3408525.055]: config item (null).time_stamping is 1
    ptp4l[3408525.055]: config item (null).priority1 is 128
    ptp4l[3408525.055]: config item (null).priority2 is 128
    ptp4l[3408525.056]: interface index 3 is up
    ptp4l[3408525.056]: config item (null).free_running is 0
    ptp4l[3408525.056]: selected /dev/ptp0 as PTP clock
    ptp4l[3408525.056]: config item (null).clockIdentity is '000000.0000.000000'
    ptp4l[3408525.056]: config item (null).uds_address is '/var/run/ptp4l'
    ptp4l[3408525.056]: section item /var/run/ptp4l.announceReceiptTimeout now 0
    ptp4l[3408525.056]: section item /var/run/ptp4l.delay_mechanism now 0
    ptp4l[3408525.056]: section item /var/run/ptp4l.network_transport now 0
    ptp4l[3408525.056]: section item /var/run/ptp4l.delay_filter_length now 1
    ptp4l[3408525.056]: config item (null).free_running is 0
    ptp4l[3408525.056]: config item (null).freq_est_interval is 1
    ptp4l[3408525.056]: config item (null).write_phase_mode is 0
    ptp4l[3408525.056]: config item (null).gmCapable is 1
    ptp4l[3408525.056]: config item (null).kernel_leap is 1
    ptp4l[3408525.056]: config item (null).utc_offset is 37
    ptp4l[3408525.056]: config item (null).timeSource is 160
    ptp4l[3408525.056]: config item (null).pi_proportional_const is 0.000000
    ptp4l[3408525.056]: config item (null).pi_integral_const is 0.000000
    ptp4l[3408525.056]: config item (null).pi_proportional_scale is 0.000000
    ptp4l[3408525.056]: config item (null).pi_proportional_exponent is -0.300000
    ptp4l[3408525.056]: config item (null).pi_proportional_norm_max is 0.700000
    ptp4l[3408525.056]: config item (null).pi_integral_scale is 0.000000
    ptp4l[3408525.056]: config item (null).pi_integral_exponent is 0.400000
    ptp4l[3408525.056]: config item (null).pi_integral_norm_max is 0.300000
    ptp4l[3408525.056]: config item (null).step_threshold is 0.000000
    ptp4l[3408525.056]: config item (null).first_step_threshold is 0.000020
    ptp4l[3408525.056]: config item (null).max_frequency is 900000000
    ptp4l[3408525.056]: config item (null).servo_offset_threshold is 0
    ptp4l[3408525.056]: config item (null).servo_num_offset_values is 10
    ptp4l[3408525.056]: config item (null).dataset_comparison is 0
    ptp4l[3408525.056]: config item (null).delay_filter_length is 10
    ptp4l[3408525.056]: config item (null).delay_filter is 1
    ptp4l[3408525.056]: config item (null).tsproc_mode is 0
    ptp4l[3408525.056]: config item (null).initial_delay is 0
    ptp4l[3408525.056]: config item (null).summary_interval is 0
    ptp4l[3408525.056]: config item (null).sanity_freq_limit is 200000000
    ptp4l[3408525.056]: PI servo: sync interval 1.000 kp 0.700 ki 0.300000
    ptp4l[3408525.056]: config item /var/run/ptp4l.boundary_clock_jbod is 0
    ptp4l[3408525.056]: config item /var/run/ptp4l.network_transport is 0
    ptp4l[3408525.056]: config item /var/run/ptp4l.masterOnly is 0
    ptp4l[3408525.056]: config item /var/run/ptp4l.BMCA is 0
    ptp4l[3408525.056]: config item /var/run/ptp4l.delayAsymmetry is 0
    ptp4l[3408525.056]: config item /var/run/ptp4l.follow_up_info is 0
    ptp4l[3408525.056]: config item /var/run/ptp4l.freq_est_interval is 1
    ptp4l[3408525.056]: config item /var/run/ptp4l.msg_interval_request is 0
    ptp4l[3408525.056]: config item /var/run/ptp4l.net_sync_monitor is 0
    ptp4l[3408525.056]: config item /var/run/ptp4l.path_trace_enabled is 0
    ptp4l[3408525.056]: config item /var/run/ptp4l.tc_spanning_tree is 0
    ptp4l[3408525.056]: config item /var/run/ptp4l.ingressLatency is 0
    ptp4l[3408525.056]: config item /var/run/ptp4l.egressLatency is 0
    ptp4l[3408525.056]: config item /var/run/ptp4l.delay_mechanism is 0
    ptp4l[3408525.056]: config item /var/run/ptp4l.hybrid_e2e is 0
    ptp4l[3408525.056]: config item /var/run/ptp4l.fault_badpeernet_interval is 16
    ptp4l[3408525.056]: config item /var/run/ptp4l.fault_reset_interval is 4
    ptp4l[3408525.056]: config item /var/run/ptp4l.delay_filter_length is 1
    ptp4l[3408525.056]: config item /var/run/ptp4l.delay_filter is 1
    ptp4l[3408525.056]: config item /var/run/ptp4l.tsproc_mode is 0
    ptp4l[3408525.056]: config item (null).slave_event_monitor is ''
    ptp4l[3408525.056]: config item enp8s0.boundary_clock_jbod is 0
    ptp4l[3408525.056]: config item enp8s0.network_transport is 3
    ptp4l[3408525.056]: config item enp8s0.masterOnly is 0
    ptp4l[3408525.056]: config item enp8s0.BMCA is 0
    ptp4l[3408525.056]: config item enp8s0.delayAsymmetry is 0
    ptp4l[3408525.056]: config item enp8s0.follow_up_info is 0
    ptp4l[3408525.056]: config item enp8s0.freq_est_interval is 1
    ptp4l[3408525.056]: config item enp8s0.msg_interval_request is 0
    ptp4l[3408525.056]: config item enp8s0.net_sync_monitor is 0
    ptp4l[3408525.056]: config item enp8s0.path_trace_enabled is 0
    ptp4l[3408525.056]: config item enp8s0.tc_spanning_tree is 0
    ptp4l[3408525.056]: config item enp8s0.ingressLatency is 0
    ptp4l[3408525.056]: config item enp8s0.egressLatency is 0
    ptp4l[3408525.056]: config item enp8s0.delay_mechanism is 2
    ptp4l[3408525.056]: config item enp8s0.unicast_master_table is 0
    ptp4l[3408525.056]: config item enp8s0.unicast_listen is 0
    ptp4l[3408525.056]: config item enp8s0.hybrid_e2e is 0
    ptp4l[3408525.056]: config item enp8s0.fault_badpeernet_interval is 16
    ptp4l[3408525.056]: config item enp8s0.fault_reset_interval is 4
    ptp4l[3408525.056]: config item enp8s0.delay_filter_length is 10
    ptp4l[3408525.056]: config item enp8s0.delay_filter is 1
    ptp4l[3408525.056]: config item enp8s0.tsproc_mode is 0
    ptp4l[3408525.056]: config item enp8s0.logMinDelayReqInterval is 0
    ptp4l[3408525.056]: config item enp8s0.logAnnounceInterval is 1
    ptp4l[3408525.056]: config item enp8s0.inhibit_announce is 0
    ptp4l[3408525.056]: config item enp8s0.ignore_source_id is 0
    ptp4l[3408525.056]: config item enp8s0.announceReceiptTimeout is 3
    ptp4l[3408525.056]: config item enp8s0.syncReceiptTimeout is 0
    ptp4l[3408525.056]: config item enp8s0.transportSpecific is 0
    ptp4l[3408525.056]: config item enp8s0.ignore_transport_specific is 0
    ptp4l[3408525.056]: config item enp8s0.G.8275.portDS.localPriority is 128
    ptp4l[3408525.056]: config item enp8s0.logSyncInterval is 0
    ptp4l[3408525.056]: config item enp8s0.operLogSyncInterval is 0
    ptp4l[3408525.056]: config item enp8s0.logMinPdelayReqInterval is 0
    ptp4l[3408525.056]: config item enp8s0.operLogPdelayReqInterval is 0
    ptp4l[3408525.056]: config item enp8s0.neighborPropDelayThresh is 20000000
    ptp4l[3408525.056]: config item enp8s0.min_neighbor_prop_delay is -20000000
    ptp4l[3408525.056]: config item enp8s0.asCapable is 1
    ptp4l[3408525.056]: config item enp8s0.inhibit_delay_req is 0
    ptp4l[3408525.056]: config item enp8s0.ptp_dst_mac is '01:1B:19:00:00:00'
    ptp4l[3408525.056]: config item enp8s0.p2p_dst_mac is '01:80:C2:00:00:0E'
    ptp4l[3408525.056]: config item global.socket_priority is 0
    ptp4l[3408525.071]: port 1: INITIALIZING to LISTENING on INIT_COMPLETE
    ptp4l[3408525.071]: config item /var/run/ptp4l.logMinDelayReqInterval is 0
    ptp4l[3408525.071]: config item /var/run/ptp4l.logAnnounceInterval is 1
    ptp4l[3408525.071]: config item /var/run/ptp4l.inhibit_announce is 0
    ptp4l[3408525.071]: config item /var/run/ptp4l.ignore_source_id is 0
    ptp4l[3408525.071]: config item /var/run/ptp4l.announceReceiptTimeout is 0
    ptp4l[3408525.071]: config item /var/run/ptp4l.syncReceiptTimeout is 0
    ptp4l[3408525.071]: config item /var/run/ptp4l.transportSpecific is 0
    ptp4l[3408525.071]: config item /var/run/ptp4l.ignore_transport_specific is 0
    ptp4l[3408525.071]: config item /var/run/ptp4l.G.8275.portDS.localPriority is 128
    ptp4l[3408525.071]: config item /var/run/ptp4l.logSyncInterval is 0
    ptp4l[3408525.071]: config item /var/run/ptp4l.operLogSyncInterval is 0
    ptp4l[3408525.071]: config item /var/run/ptp4l.logMinPdelayReqInterval is 0
    ptp4l[3408525.071]: config item /var/run/ptp4l.operLogPdelayReqInterval is 0
    ptp4l[3408525.071]: config item /var/run/ptp4l.neighborPropDelayThresh is 20000000
    ptp4l[3408525.071]: config item /var/run/ptp4l.min_neighbor_prop_delay is -20000000
    ptp4l[3408525.071]: config item /var/run/ptp4l.asCapable is 1
    ptp4l[3408525.071]: config item /var/run/ptp4l.inhibit_delay_req is 0
    ptp4l[3408525.071]: config item (null).uds_address is '/var/run/ptp4l'
    ptp4l[3408525.071]: port 0: INITIALIZING to LISTENING on INIT_COMPLETE
    ptp4l[3408525.071]: port 1: received link status notification
    ptp4l[3408525.071]: interface index 3 is up
    ptp4l[3408526.071]: port 1: delay timeout
    ptp4l[3408527.071]: port 1: delay timeout
    ptp4l[3408527.071]: port 1: setting asCapable
    ptp4l[3408528.071]: port 1: delay timeout
    ptp4l[3408529.071]: port 1: delay timeout
    ptp4l[3408529.072]: port 1: peer port id set to ac1f0f.fffe.8401c9-1
    ptp4l[3408529.072]: delay   filtered        224   raw        224
    ptp4l[3408530.071]: port 1: delay timeout
    ptp4l[3408530.072]: delay   filtered        223   raw        222
    ptp4l[3408531.072]: port 1: delay timeout
    ptp4l[3408531.072]: delay   filtered        224   raw        225
    ptp4l[3408532.072]: port 1: delay timeout
    ptp4l[3408532.072]: delay   filtered        224   raw        224
    ptp4l[3408532.704]: port 1: announce timeout
    ptp4l[3408532.704]: port 1: LISTENING to MASTER on ANNOUNCE_RECEIPT_TIMEOUT_EXPIRES
    ptp4l[3408532.704]: selected local clock 40a6b7.fffe.9c2706 as best master
    ptp4l[3408532.704]: port 1: assuming the grand master role
    ptp4l[3408532.705]: port 1: master tx announce timeout
    ptp4l[3408533.072]: port 1: delay timeout
    ptp4l[3408533.072]: delay   filtered        224   raw        224
    ptp4l[3408533.704]: port 1: master sync timeout
    ptp4l[3408534.072]: port 1: delay timeout
    ptp4l[3408534.073]: delay   filtered        224   raw        223
    ptp4l[3408534.704]: port 1: master sync timeout
    ptp4l[3408534.705]: port 1: master tx announce timeout
    ptp4l[3408535.072]: port 1: delay timeout
    ptp4l[3408535.073]: delay   filtered        224   raw        221
    ptp4l[3408535.704]: port 1: master sync timeout
    ptp4l[3408536.072]: port 1: delay timeout
    ptp4l[3408536.073]: delay   filtered        223   raw        221
    ptp4l[3408536.705]: port 1: master sync timeout
    ptp4l[3408536.705]: port 1: master tx announce timeout
    ptp4l[3408537.072]: port 1: delay timeout
    ptp4l[3408537.073]: delay   filtered        224   raw        224
    ptp4l[3408537.705]: port 1: master sync timeout
    ptp4l[3408538.072]: port 1: delay timeout
    ptp4l[3408538.073]: delay   filtered        223   raw        222
    ptp4l[3408538.705]: port 1: master sync timeout
    ptp4l[3408538.705]: port 1: master tx announce timeout
    ptp4l[3408539.072]: port 1: delay timeout
    ptp4l[3408539.073]: delay   filtered        222   raw        222
    ptp4l[3408539.705]: port 1: master sync timeout
    ptp4l[3408540.073]: port 1: delay timeout
    ptp4l[3408540.073]: delay   filtered        223   raw        223
    ptp4l[3408540.705]: port 1: master sync timeout
    ptp4l[3408540.706]: port 1: master tx announce timeout
    ptp4l[3408541.073]: port 1: delay timeout
    ptp4l[3408541.073]: delay   filtered        223   raw        224
    ptp4l[3408541.705]: port 1: master sync timeout
    ptp4l[3408542.073]: port 1: delay timeout
    ptp4l[3408542.073]: delay   filtered        223   raw        223
    ptp4l[3408542.705]: port 1: master sync timeout
    ptp4l[3408542.706]: port 1: master tx announce timeout
    ptp4l[3408543.073]: port 1: delay timeout
    ptp4l[3408543.074]: delay   filtered        223   raw        225
    ptp4l[3408543.705]: port 1: master sync timeout
    ptp4l[3408544.073]: port 1: delay timeout
    ptp4l[3408544.074]: delay   filtered        222   raw        219
    ptp4l[3408544.706]: port 1: master sync timeout
    ptp4l[3408544.706]: port 1: master tx announce timeout
    ptp4l[3408545.073]: port 1: delay timeout
    ptp4l[3408545.074]: delay   filtered        223   raw        225
    ptp4l[3408545.706]: port 1: master sync timeout
    ptp4l[3408546.073]: port 1: delay timeout
    ptp4l[3408546.074]: delay   filtered        223   raw        222
    ptp4l[3408546.706]: port 1: master tx announce timeout
    ptp4l[3408546.706]: port 1: master sync timeout
    ptp4l[3408547.073]: port 1: delay timeout
    ptp4l[3408547.074]: delay   filtered        223   raw        225
    ptp4l[3408547.706]: port 1: master sync timeout
    ptp4l[3408548.074]: port 1: delay timeout
    ptp4l[3408548.074]: delay   filtered        223   raw        224
    ptp4l[3408548.706]: port 1: master tx announce timeout
    ptp4l[3408548.706]: port 1: master sync timeout
    ptp4l[3408549.074]: port 1: delay timeout
    ptp4l[3408549.075]: delay   filtered        224   raw        226
    ptp4l[3408549.706]: port 1: master sync timeout
    ptp4l[3408550.074]: port 1: delay timeout
    ptp4l[3408550.074]: delay   filtered        224   raw        222
    ptp4l[3408550.706]: port 1: master tx announce timeout
    ptp4l[3408550.706]: port 1: master sync timeout
    ptp4l[3408551.074]: port 1: delay timeout
    ptp4l[3408551.074]: delay   filtered        223   raw        223
    ptp4l[3408551.706]: port 1: master sync timeout
    ptp4l[3408552.074]: port 1: delay timeout
    ptp4l[3408552.075]: delay   filtered        224   raw        224
    ptp4l[3408552.706]: port 1: master tx announce timeout
    ptp4l[3408552.706]: port 1: master sync timeout
    ptp4l[3408553.074]: port 1: delay timeout
    ptp4l[3408553.075]: delay   filtered        224   raw        224
    ptp4l[3408553.706]: port 1: master sync timeout
    ptp4l[3408554.074]: port 1: delay timeout
    ptp4l[3408554.075]: delay   filtered        224   raw        221
    ptp4l[3408554.706]: port 1: master tx announce timeout
    ptp4l[3408554.706]: port 1: master sync timeout
    ptp4l[3408555.075]: port 1: delay timeout
    ptp4l[3408555.075]: delay   filtered        223   raw        223
    ptp4l[3408555.706]: port 1: master sync timeout
    ptp4l[3408556.075]: port 1: delay timeout
    ptp4l[3408556.075]: delay   filtered        223   raw        223
    ptp4l[3408556.706]: port 1: master tx announce timeout
    ptp4l[3408556.707]: port 1: master sync timeout
    ptp4l[3408557.075]: port 1: delay timeout
    ptp4l[3408557.075]: delay   filtered        223   raw        223
    ptp4l[3408557.707]: port 1: master sync timeout
    ptp4l[3408558.075]: port 1: delay timeout
    ptp4l[3408558.076]: delay   filtered        223   raw        224
    ptp4l[3408558.706]: port 1: master tx announce timeout
    ptp4l[3408558.707]: port 1: master sync timeout
    ptp4l[3408559.075]: port 1: delay timeout
    ptp4l[3408559.076]: delay   filtered        223   raw        222
    ptp4l[3408559.707]: port 1: master sync timeout
    ptp4l[3408560.075]: port 1: delay timeout
    ptp4l[3408560.076]: delay   filtered        223   raw        221
    ptp4l[3408560.707]: port 1: master tx announce timeout
    ptp4l[3408560.707]: port 1: master sync timeout
    ptp4l[3408561.075]: port 1: delay timeout
    ptp4l[3408561.076]: delay   filtered        223   raw        221
    ptp4l[3408561.707]: port 1: master sync timeout
    ptp4l[3408562.076]: port 1: delay timeout
    ptp4l[3408562.076]: delay   filtered        222   raw        222
    ptp4l[3408562.707]: port 1: master tx announce timeout
    ptp4l[3408562.707]: port 1: master sync timeout
    ptp4l[3408563.076]: port 1: delay timeout
    ptp4l[3408563.076]: delay   filtered        222   raw        223
    ptp4l[3408563.707]: port 1: master sync timeout
    ptp4l[3408564.076]: port 1: delay timeout
    ptp4l[3408564.076]: delay   filtered        223   raw        223
    ptp4l[3408564.707]: port 1: master tx announce timeout
    ptp4l[3408564.708]: port 1: master sync timeout
    ptp4l[3408565.076]: port 1: delay timeout
    ptp4l[3408565.076]: delay   filtered        223   raw        223
    ptp4l[3408565.708]: port 1: master sync timeout
    ptp4l[3408566.076]: port 1: delay timeout
    ptp4l[3408566.076]: delay   filtered        223   raw        225
    ptp4l[3408566.707]: port 1: master tx announce timeout
    ptp4l[3408566.708]: port 1: master sync timeout
    ptp4l[3408567.076]: port 1: delay timeout
    ptp4l[3408567.077]: delay   filtered        223   raw        225
    ptp4l[3408567.708]: port 1: master sync timeout
    ptp4l[3408568.076]: port 1: delay timeout
    ptp4l[3408568.077]: delay   filtered        223   raw        225
    ptp4l[3408568.707]: port 1: master tx announce timeout
    ptp4l[3408568.708]: port 1: master sync timeout
    ptp4l[3408569.076]: port 1: delay timeout
    ptp4l[3408569.077]: delay   filtered        223   raw        224
    ptp4l[3408569.708]: port 1: master sync timeout
    ptp4l[3408570.077]: port 1: delay timeout
    ptp4l[3408570.077]: delay   filtered        223   raw        224
    ptp4l[3408570.707]: port 1: master tx announce timeout
    ptp4l[3408570.708]: port 1: master sync timeout
    ptp4l[3408571.077]: port 1: delay timeout
    ptp4l[3408571.077]: delay   filtered        223   raw        222
    ptp4l[3408571.708]: port 1: master sync timeout
    ptp4l[3408572.077]: port 1: delay timeout
    ptp4l[3408572.077]: delay   filtered        224   raw        224
    ptp4l[3408572.707]: port 1: master tx announce timeout
    ptp4l[3408572.708]: port 1: master sync timeout
    ptp4l[3408573.077]: port 1: delay timeout
    ptp4l[3408573.077]: delay   filtered        224   raw        224
    ptp4l[3408573.709]: port 1: master sync timeout
    ptp4l[3408574.077]: port 1: delay timeout
    ptp4l[3408574.077]: delay   filtered        224   raw        221
    ptp4l[3408574.707]: port 1: master tx announce timeout
    ptp4l[3408574.709]: port 1: master sync timeout
    ptp4l[3408575.077]: port 1: delay timeout
    ptp4l[3408575.078]: delay   filtered        224   raw        224
    ptp4l[3408575.709]: port 1: master sync timeout
    ptp4l[3408576.077]: port 1: delay timeout
    ptp4l[3408576.078]: delay   filtered        224   raw        224
    ptp4l[3408576.708]: port 1: master tx announce timeout
    ptp4l[3408576.709]: port 1: master sync timeout
    ptp4l[3408577.077]: port 1: delay timeout
    ptp4l[3408577.078]: delay   filtered        224   raw        223
    ptp4l[3408577.709]: port 1: master sync timeout
    ptp4l[3408578.078]: port 1: delay timeout
    ptp4l[3408578.078]: delay   filtered        224   raw        223
    ptp4l[3408578.708]: port 1: master tx announce timeout
    ptp4l[3408578.709]: port 1: master sync timeout
    ptp4l[3408579.078]: port 1: delay timeout
    ptp4l[3408579.078]: delay   filtered        223   raw        221
    ptp4l[3408579.709]: port 1: master sync timeout
    ptp4l[3408580.078]: port 1: delay timeout
    ptp4l[3408580.078]: delay   filtered        223   raw        221
    ptp4l[3408580.708]: port 1: master tx announce timeout
    ptp4l[3408580.709]: port 1: master sync timeout
    ptp4l[3408581.078]: port 1: delay timeout
    ptp4l[3408581.078]: delay   filtered        223   raw        224
    ptp4l[3408581.709]: port 1: master sync timeout
    ptp4l[3408582.078]: port 1: delay timeout
    ptp4l[3408582.079]: delay   filtered        223   raw        221
    ptp4l[3408582.708]: port 1: master tx announce timeout
    ptp4l[3408582.710]: port 1: master sync timeout
    ptp4l[3408583.078]: port 1: delay timeout
    ptp4l[3408583.078]: delay   filtered        223   raw        224
    ptp4l[3408583.710]: port 1: master sync timeout
    ptp4l[3408584.078]: port 1: delay timeout
    ptp4l[3408584.079]: delay   filtered        223   raw        225
    ptp4l[3408584.708]: port 1: master tx announce timeout
    ptp4l[3408584.710]: port 1: master sync timeout
    ptp4l[3408585.078]: port 1: delay timeout
    ptp4l[3408585.079]: delay   filtered        223   raw        224
    ptp4l[3408585.710]: port 1: master sync timeout
    ptp4l[3408586.078]: port 1: delay timeout
    ptp4l[3408586.079]: delay   filtered        223   raw        225
    ptp4l[3408586.708]: port 1: master tx announce timeout
    ptp4l[3408586.710]: port 1: master sync timeout
    ptp4l[3408587.079]: port 1: delay timeout
    ptp4l[3408587.079]: delay   filtered        224   raw        226
    ptp4l[3408587.710]: port 1: master sync timeout
    ptp4l[3408588.079]: port 1: delay timeout
    ptp4l[3408588.080]: delay   filtered        224   raw        224
    ptp4l[3408588.708]: port 1: master tx announce timeout
    ptp4l[3408588.710]: port 1: master sync timeout
    ptp4l[3408589.079]: port 1: delay timeout
    ptp4l[3408589.079]: delay   filtered        224   raw        223
    ptp4l[3408589.710]: port 1: master sync timeout
    ptp4l[3408590.079]: port 1: delay timeout
    ptp4l[3408590.080]: delay   filtered        224   raw        224
    ptp4l[3408590.709]: port 1: master tx announce timeout
    ptp4l[3408590.710]: port 1: master sync timeout
    ptp4l[3408591.079]: port 1: delay timeout
    ptp4l[3408591.080]: delay   filtered        224   raw        220
    ptp4l[3408591.711]: port 1: master sync timeout
    ptp4l[3408592.079]: port 1: delay timeout
    ptp4l[3408592.080]: delay   filtered        224   raw        222
    ptp4l[3408592.709]: port 1: master tx announce timeout
    ptp4l[3408592.711]: port 1: master sync timeout
    ptp4l[3408593.079]: port 1: delay timeout
    ptp4l[3408593.080]: delay   filtered        224   raw        223
    ptp4l[3408593.711]: port 1: master sync timeout
    ptp4l[3408594.080]: port 1: delay timeout
    ptp4l[3408594.080]: delay   filtered        223   raw        223
    ptp4l[3408594.709]: port 1: master tx announce timeout
    ptp4l[3408594.711]: port 1: master sync timeout
    ptp4l[3408595.080]: port 1: delay timeout
    ptp4l[3408595.080]: delay   filtered        223   raw        222
    ptp4l[3408595.711]: port 1: master sync timeout
    ptp4l[3408596.080]: port 1: delay timeout
    ptp4l[3408596.080]: delay   filtered        223   raw        220
    ptp4l[3408596.709]: port 1: master tx announce timeout
    ptp4l[3408596.711]: port 1: master sync timeout
    ptp4l[3408597.080]: port 1: delay timeout
    ptp4l[3408597.080]: delay   filtered        222   raw        222
    ptp4l[3408597.711]: port 1: master sync timeout
    ptp4l[3408598.080]: port 1: delay timeout
    ptp4l[3408598.081]: delay   filtered        222   raw        227
    ptp4l[3408598.709]: port 1: master tx announce timeout
    ptp4l[3408598.711]: port 1: master sync timeout
    ptp4l[3408599.080]: port 1: delay timeout
    ptp4l[3408599.081]: delay   filtered        222   raw        224
    ptp4l[3408599.711]: port 1: master sync timeout
    ptp4l[3408600.080]: port 1: delay timeout
    ptp4l[3408600.081]: delay   filtered        222   raw        222
    ptp4l[3408600.709]: port 1: master tx announce timeout
    ptp4l[3408600.712]: port 1: master sync timeout
    ptp4l[3408601.080]: port 1: delay timeout
    ptp4l[3408601.081]: delay   filtered        222   raw        226
    ptp4l[3408601.712]: port 1: master sync timeout
    ptp4l[3408602.081]: port 1: delay timeout
    ptp4l[3408602.081]: delay   filtered        223   raw        225
    ptp4l[3408602.709]: port 1: master tx announce timeout
    ptp4l[3408602.712]: port 1: master sync timeout
    ptp4l[3408603.081]: port 1: delay timeout
    ptp4l[3408603.081]: delay   filtered        223   raw        223
    ptp4l[3408603.712]: port 1: master sync timeout
    ptp4l[3408604.081]: port 1: delay timeout
    ptp4l[3408604.082]: delay   filtered        222   raw        222
    ptp4l[3408604.709]: port 1: master tx announce timeout
    ptp4l[3408604.712]: port 1: master sync timeout
    ptp4l[3408605.081]: port 1: delay timeout
    ptp4l[3408605.081]: delay   filtered        223   raw        223
    ptp4l[3408605.712]: port 1: master sync timeout
    ptp4l[3408606.081]: port 1: delay timeout
    ptp4l[3408606.082]: delay   filtered        223   raw        222
    ptp4l[3408606.709]: port 1: master tx announce timeout
    ptp4l[3408606.712]: port 1: master sync timeout
    ptp4l[3408607.081]: port 1: delay timeout
    ptp4l[3408607.081]: delay   filtered        223   raw        223
    ptp4l[3408607.712]: port 1: master sync timeout
    ptp4l[3408608.081]: port 1: delay timeout
    ptp4l[3408608.082]: delay   filtered        223   raw        224
    ptp4l[3408608.710]: port 1: master tx announce timeout
    ptp4l[3408608.713]: port 1: master sync timeout
    ptp4l[3408609.081]: port 1: delay timeout
    ptp4l[3408609.082]: delay   filtered        223   raw        223
    

    PTP Follower DUT (SK-AM64) I dropped log level to 6 to highlight the issue

    root@am64xx-evm:~#  ptp4l -2 -P -H -i eth0 -m -q -l 6 -s
    ptp4l[3612.686]: selected /dev/ptp0 as PTP clock
    ptp4l[3612.748]: port 1 (eth0): INITIALIZING to LISTENING on INIT_COMPLETE
    ptp4l[3612.749]: port 0 (/var/run/ptp4l): INITIALIZING to LISTENING on INIT_COMPLETE
    ptp4l[3616.705]: port 1: new foreign master 40a6b7.fffe.9c2706-1
    ptp4l[3619.179]: port 1: announce timeout
    ptp4l[3619.179]: selected best master clock ac1f0f.fffe.8401c9
    ptp4l[3619.179]: selected local clock ac1f0f.fffe.8401c9 as best master
    ptp4l[3620.705]: selected best master clock 40a6b7.fffe.9c2706 on port 1
    ptp4l[3620.705]: selected best master clock 40a6b7.fffe.9c2706
    ptp4l[3620.706]: port 1 (eth0): LISTENING to UNCALIBRATED on RS_SLAVE
    ptp4l[3621.705]: master offset      -2147 s0 freq  -23150 path delay       224
    ptp4l[3622.705]: master offset      -2276 s2 freq  -23279 path delay       225
    ptp4l[3622.705]: port 1 (eth0): UNCALIBRATED to SLAVE on MASTER_CLOCK_SELECTED
    ptp4l[3623.705]: master offset      -2277 s2 freq  -25556 path delay       225
    ptp4l[3624.705]: master offset         -9 s2 freq  -23971 path delay       224
    ptp4l[3625.705]: master offset        665 s2 freq  -23300 path delay       223
    ptp4l[3626.705]: master offset        669 s2 freq  -23096 path delay       224
    ptp4l[3627.706]: master offset        471 s2 freq  -23094 path delay       224
    ptp4l[3628.706]: master offset        257 s2 freq  -23166 path delay       224
    ptp4l[3629.706]: master offset        116 s2 freq  -23230 path delay       223
    ptp4l[3630.706]: master offset         38 s2 freq  -23273 path delay       223
    ptp4l[3631.706]: master offset          6 s2 freq  -23294 path delay       223
    ptp4l[3632.706]: master offset        -13 s2 freq  -23311 path delay       223
    ptp4l[3633.706]: master offset        -16 s2 freq  -23318 path delay       223
    ptp4l[3634.706]: master offset         -8 s2 freq  -23315 path delay       223
    ptp4l[3635.706]: master offset         -3 s2 freq  -23312 path delay       224
    ptp4l[3636.706]: master offset          7 s2 freq  -23303 path delay       224
    ptp4l[3637.706]: master offset         15 s2 freq  -23293 path delay       224
    ptp4l[3638.706]: master offset         -1 s2 freq  -23305 path delay       224
    [ 3639.510905] am65-cpsw-nuss 8000000.ethernet eth1: Link is Down                            <<< After this point it doen't sync with grandmaster clock
    ptp4l[3644.894]: port 1: announce timeout
    ptp4l[3644.894]: port 1 (eth0): SLAVE to LISTENING on ANNOUNCE_RECEIPT_TIMEOUT_EXPIRES
    ptp4l[3644.894]: selected best master clock ac1f0f.fffe.8401c9
    ptp4l[3644.894]: selected local clock ac1f0f.fffe.8401c9 as best master
    ptp4l[3652.225]: port 1: announce timeout
    ptp4l[3652.225]: selected best master clock ac1f0f.fffe.8401c9
    ptp4l[3652.225]: selected local clock ac1f0f.fffe.8401c9 as best master
    ptp4l[3658.555]: port 1: announce timeout
    ptp4l[3658.555]: selected best master clock ac1f0f.fffe.8401c9
    ptp4l[3658.555]: selected local clock ac1f0f.fffe.8401c9 as best master
    ptp4l[3665.315]: port 1: announce timeout
    ptp4l[3665.315]: selected best master clock ac1f0f.fffe.8401c9
    ptp4l[3665.315]: selected local clock ac1f0f.fffe.8401c9 as best master
    [ 3671.255185] am65-cpsw-nuss 8000000.ethernet eth1: Link is Up - 100Mbps/Full - flow control off
    ptp4l[3671.861]: port 1: announce timeout
    ptp4l[3671.862]: selected best master clock ac1f0f.fffe.8401c9
    ptp4l[3671.862]: selected local clock ac1f0f.fffe.8401c9 as best master
    ptp4l[3678.229]: port 1: announce timeout
    ptp4l[3678.229]: selected best master clock ac1f0f.fffe.8401c9
    ptp4l[3678.229]: selected local clock ac1f0f.fffe.8401c9 as best master
    ptp4l[3684.828]: port 1: announce timeout
    ptp4l[3684.828]: selected best master clock ac1f0f.fffe.8401c9
    ptp4l[3684.828]: selected local clock ac1f0f.fffe.8401c9 as best master
    ptp4l[3690.891]: port 1: announce timeout
    ptp4l[3690.891]: selected best master clock ac1f0f.fffe.8401c9
    ptp4l[3690.891]: selected local clock ac1f0f.fffe.8401c9 as best master
    

    Checking the stats points to the same counters

    root@am64xx-evm:~# ethtool -S eth0 | grep drop | grep -v 0
    ale_drop: 3873
    rx_port_mask_drop: 3873

    and 'ip link set dev eth0 up' will fix the problem.

    Can you please verify this on your setup once, if you run ptp follower with log level 6 it will be easier to verify? 

    Regards,

    -Dipal

  • Hi Dipal,

    Looking back on my shared logs, it appears that the max offset message shows up for the below scenario on the follower device.

    • Change eth1 state by Physically disconnecting the cable
      1. Start PTP on eth1, ensure it is working properly
      2. Physically disconnect the eth1 cable 
      3. Wait for 1 minute  (PTP will not work as cable is disconnected)
      4. Reconnect the eth1 cable
      5. PTP sync is restored 
      6. Everything is working as expected here
    •  Change eth1 state over CLI (cable remains connected):
      1. Start PTP on eth1, ensure it is working properly
      2. Bring down eth1 interface using cli "ifconfig eth1 down"
      3. Wait for 1 minute (PTP will not work as cable is disconnected)
      4. Bring up eth1 interface using cli "ifconfig eth1 up"
      5. PTP never recovers (this is the issue reported in my last reply)
      6. Only way to make PTP work again is to restart the PTP process, interface state, promiscus mode doesn't help

    For the other scenario (quoted below) I do see that the max offset message is missing following the disconnection. 

    What happens is this

    1. eth0 is up and has PTP working as expected, eth1 is also up at this state
    2. eth1 link state is changed from up to down -> PTP stops working on eth0
    3. eth1 link state is changed from down to up -> PTP still doesn't work on eth0

    One other test to try is to use "ptp4l -P -2 -H -i eth0 -f gPTP.cfg --step_threshold=1 -m -q -p /dev/ptp0" where gPTP.cfg is the below. For the grandmaster device set "priority1" to 100 and for the follower, set "priority1" to 240. What happens when you try the above two scenarios? Do you still see the same issue?

    # 802.1AS example configuration containing those attributes which
    # differ from the defaults.  See the file, default.cfg, for the
    # complete list of available options.
    #
    [global]
    gmCapable               1
    priority1               100
    priority2               248
    logAnnounceInterval     0
    logSyncInterval         -3
    syncReceiptTimeout      3
    neighborPropDelayThresh 800
    min_neighbor_prop_delay -20000000
    assume_two_step         1
    path_trace_enabled      1
    follow_up_info          1
    transportSpecific       0x1
    ptp_dst_mac             01:80:C2:00:00:0E
    network_transport       L2
    delay_mechanism         P2P
    
     

    Can you please verify this on your setup once, if you run ptp follower with log level 6 it will be easier to verify? 

    I will try to test it out tomorrow. I will also try to check the ethtool drop counters as well tomorrow.

    -Daolin

  • Hi Dipal,

    Can you give the latest SDK 10.1 a try? This would be kernel version 6.6.

    Were you able to give SDK 10.1 a try? I'm assuming the recent behavior was observed on this SDK version?

    I will try to test it out tomorrow. I will also try to check the ethtool drop counters as well tomorrow.

    I tested it out and see similar results to your log. For the ethtool drop counters, I notice these increment as long as there is a link up event, even if PTP was not running. Below is some information I could find on portmask drop and ale drop from the AM64x TRM. I don't think these are a PTP specific issue.

      

    One other test to try is to use "ptp4l -P -2 -H -i eth0 -f gPTP.cfg --step_threshold=1 -m -q -p /dev/ptp0" where gPTP.cfg is the below. For the grandmaster device set "priority1" to 100 and for the follower, set "priority1" to 240. What happens when you try the above two scenarios? Do you still see the same issue?

    I tested this ptp configuration and it does not seem to show the same issue of ptp sync loss when eth1 is disconnected. It may be a solution for you to try out.

    -Daolin

  • Hi Daolin,

    Thanks a lot for the details, Unfortunately, I am still stuck with kernel version 5.10 (I am not sure about the SDK version) on TI AM64-SK, My AM64-SK is not able to boot with the latest SDK, we procured new AM64-SK to expedite.

    On our custom design we use mainline kernel version 6.1.80, this also i am trying to update to 6.6+, it is also work in progess.

    Nevertheless there is progress:

    The following command and a configuration file does prevent the issue:

    ptp4l -P -2 -H -i eth0 -f gPTP.cfg --step_threshold=1 -m -q -p /dev/ptp0

    After debugging i found the the main config helping in resolving the issue is 

    ptp_dst_mac             01:80:C2:00:00:0E

    If I remove this and keep everything same, i still see the issue.

    I need to do some more tests to ensure that we can use this workaround.

    Regards,

    -Dipal

    P.S. I needed to change neighborPropDelayThresh to 4000 from 800 in my configuration, without this PTP sync is never established in my setup.

  • Hi Dipal,

    The following command and a configuration file does prevent the issue:

    ptp4l -P -2 -H -i eth0 -f gPTP.cfg --step_threshold=1 -m -q -p /dev/ptp0

    After debugging i found the the main config helping in resolving the issue is 

    ptp_dst_mac             01:80:C2:00:00:0E

    If I remove this and keep everything same, i still see the issue.

    I need to do some more tests to ensure that we can use this workaround.

    Thanks for sharing this piece of information. If you haven't already seen, the ptp4l man page describes "ptp_dst_mac" as "The MAC address to which PTP messages should be sent. Relevant only with L2 transport. The default is 01:1B:19:00:00:00." My guess is that since the "-2" option is used, the "ptp_dst_mac" is a required configuration. The issue you are seeing is indicating that the default ptp_dst_mac is a potential issue, it may be worth checking specifically what 01:1B:19:00:00:00 MAC address is.

    P.S. I needed to change neighborPropDelayThresh to 4000 from 800 in my configuration, without this PTP sync is never established in my setup.

    This is interesting, might be worth looking into what this configuration means. According to the manpage, it is relevant when 802.1AS is used, selected by "transportSpecific" configured as 0x1.

    Let us know if you have further questions.

    -Daolin

  • Hi Daolin,

    We noticed that this issue also has tight coupling with systemd-networkd, in our configuration we are using NetworkManager.

    I observed this issues again in following scenarios 

    1. We dont use any network manager i.e. both systemd-networkd and NetworkManager are disabled

    2. We use NetworkManager to manager the interface configuration.

    I also tried to configure NetworkManager to ignore eth1 interface by configuring it to be an unmanged interface 

    unmanaged-devices=interface-name:eth1


    This can be tested by disabling systemd-networkd on the AM64-SK.

    Since we need to use NetworkManger, are there any know issues or suggestion to workaround this?

    Thanks & Regards,

    -Dipal

  • Hi Dipal,

    We noticed that this issue also has tight coupling with systemd-networkd, in our configuration we are using NetworkManager.

    I observed this issues again in following scenarios 

    1. We dont use any network manager i.e. both systemd-networkd and NetworkManager are disabled

    To clarify, you are seeing the issue with which ptp4l command? That is, the one using gPTP.cfg or the one you previously was using (without gPTP.cfg)?

    -Daolin

  • The issue is seen with the ptp4l with gPTP.cfg

    ptp4l -P -2 -H -i eth0 -f gPTP.cfg --step_threshold=1 -m -q -p /dev/ptp0

  • Hello Dipal,

    Since we need to use NetworkManger, are there any know issues or suggestion to workaround this?

    Unfortunately, since we don't appear to be using NetworkManager on our Linux SDK, we weren't aware that this issue would be seen if systemd-networkd was not running. 

    I would suggest taking a look at the difference between NetworkManager and systemd-networkd to see if there is any difference in the way it handles a link being dropped and reconnected and see if NetworkManager has a way to perform the same way as systemd-networkd. 

    Is there a particular reason why you must use NetworkManager and not systemd-networkd?

    -Daolin

  • Hi Daolin,

    We are using NetworkManager as it helps us to handle different network configurations required by our customers better.

    As per my investigation the root cause is that the multicast is disabled on the interfaces when any one of them goes though a state change.

    1. Systemd-networkd: It works because systemd-networkd specifically adds membership for PTP mutlicast address (01:80:C2:00:00:0E) when the interface states are changed. 
    2. Running "ip link set dev ethX up" or "ifconfig ethX up" enabled IP multicast on the interface similar to running "ip link set dev eth1 multicast on"

    Unfortunately we don't see this in interface state (multicast is always shown as enabled, when when muticast packets are dropped)

    root@ptp_test:~# ip link show
    1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
        link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT group default qlen 1000
        link/ether 54:3b:30:01:18:ee brd ff:ff:ff:ff:ff:ff
    3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT group default qlen 1000
        link/ether 54:3b:30:01:18:ef brd ff:ff:ff:ff:ff:ff
    root@smartnc:~# 
    

    I managed to get this to work with NetworkManger (or perhaps independent of any network management) by configuring the static entry for the PTP muticast address as given below, i still need to configure it for both interfaces even though i am running PTP on one interface only.

    ip link set dev eth0 down
    ip link set dev eth1 down
    ip maddr add 01:80:c2:00:00:0e dev eth0
    ip maddr add 01:80:c2:00:00:0e dev eth1
    ip link set dev eth0 up
    ip link set dev eth1 up

    I feel there is still something missing / can be improved on how this is handled by the TI drivers.

    Regards,

    -Dipal

  • Hello Dipal,

    Daolin is out of the office for the rest of March. Feel free to ping the thread in early April if you have not received a response.

    Regards,

    Nick

  • Hi Nick,

    Thanks for the update.

    Regards,

    -Dipal

  • Hi Daolin,

    I feel there is still something missing / can be improved on how this is handled by the TI drivers.

    Did you get to investigate this further, the issue is not only limited to the PTP multicast, it is applicable to other mutlicast packets as well. Once the link state changes the multicast packet flow stops.

    Since the multicast applications can use any mutlicast addresses we will not be able to add static entries for all of them (and it doesn't sound correct as well).

    To remind and  hint: Enabling Promiscuous mode prevents all these issues.

    Let me know if you need any more information.

    Regards,

    -Dipal

  • Hi Dipal,

    Did you get to investigate this further, the issue is not only limited to the PTP multicast, it is applicable to other mutlicast packets as well. Once the link state changes the multicast packet flow stops.

    Thanks for your patience on this issue. Unfortunately, I have not had a chance to look into your findings further. I will try to look into it more tomorrow and respond with an update.

    -Daolin

  • Hi Dipal, 

    After debugging i found the the main config helping in resolving the issue is 

    ptp_dst_mac             01:80:C2:00:00:0E

    If I remove this and keep everything same, i still see the issue.

    You mentioned previously that by removing this PTP configuration, you still see the issue. I'm wondering if this configuration plays an important part in the PTP multicast address issue you are mentioning. Is keeping this PTP configuration not an option for your application?

    I feel there is still something missing / can be improved on how this is handled by the TI drivers.

    Since the TI SDK does not implement NetworkManager but rather uses systemd-networkd and the use of NetworkManager is simply a requirement of your application, we don't provide specific support on trying to change the TI software to support a customer specific application. 

    the issue is not only limited to the PTP multicast, it is applicable to other mutlicast packets as well. Once the link state changes the multicast packet flow stops

    Can you share the logs for the non-PTP multicast packet case where you are seeing issues with link state change?

    -Daolin 

  • You mentioned previously that by removing this PTP configuration, you still see the issue. I'm wondering if this configuration plays an important part in the PTP multicast address issue you are mentioning. Is keeping this PTP configuration not an option for your application?

    We need to keep this configuration anyways as it is part of gPTP profile.

    Since the TI SDK does not implement NetworkManager but rather uses systemd-networkd and the use of NetworkManager is simply a requirement of your application, we don't provide specific support on trying to change the TI software to support a customer specific application.

    Since beginning i am suspecting there is basic issue with multicast handling/mac learning  in general, i think NetworkManger just exposed the issue but not introduced it. 

    There are multiple symptoms which points to this. 

    1. The counters, it clearly says that packets are dropped by ALE

    ale_drop: 1807
    rx_port_mask_drop: 1807

    2. Turning on promiscus mode solved the issues: ALE filtering is turned off in this case. 

    3. "ip link set dev eth1 multicast on" this also solves the issue. 

    When i said something is missing in TI drivers i meant this part, i don't think it has any dependency on network manager.

    Even with systemd-networked this fails if you are not using the gPTP profile, don't you think it is a problem?

    I will share the logs for other mutlicast cases, hopefully that should make it clear.

     

    Regards,

    Dipal

  • Hi Dipal,

    If it is truly a problem unrelated to just the specific use case of PTP and your NetworkManager application and related to general multicast handling, then it is a problem we have to address. However, as a first step I will need to be able to also see the issue occur on a basic multicast test (without any PTP running) on my test environment. That is why I ask for the logs and if you can share the steps you took to test that it is applicable to other multicast packets as well. This will help me try to recreate the problem specifically showing that without PTP, the problem still persists, so that I can discuss internally where the issue is, if it is indeed an issue with the CPSW driver.

    Even with systemd-networked this fails if you are not using the gPTP profile, don't you think it is a problem?

    From my understanding, we have only tested a very basic test of PTP on our devices, which most likely does not include disconnecting and reconnecting the other interface as you tested here. The only PTP configuration we have tested more extensively is the gPTP profile I shared because I am the main person testing it out. But since you mentioned the root cause is likely to be a general multicast issue unrelated to whether PTP is running or not, if I can get more details on being able to see this, I will be able to get more help internally to see if the problem is a CPSW driver issue.

    -Daolin 

  • Hi Daolin,

    Yes, i am trying to create a minimum application for general multicast issue, may take some time though to share it.

    Regards,

    -Dipal

  • Hi Daolin,

    I was able to produce this issue with simple multicast ping. 

    Hardware setup:

    Software versions:

    SDK: 11.00.09.04
    Kernel: 6.12.17-ti-rt-00771-gc85877d40f8e
    Hardware: SK-AM64B

    Steps to produce the issue with generic multicast

    1. Enable multicast ping

    sysctl -w net.ipv4.icmp_echo_ignore_broadcasts=0

    2. Join a multicast group and verify group Membership

    ip addr add 224.10.10.10/24 dev eth1 autojoin
    ip maddr show dev eth1

    3. Ping the multlcast group IP  from the peer:

    ping -i enp8s0  224.10.10.10

    4. Change the state of other interface (eth0 in this setup)

    ip link set dev eth0 down

    5. Observe that 

    • On peer/wireshark ping responses are stopped
    • Drop counters are getting incremented
    • root@:~# ethtool -S eth1 | grep drop | grep -v 0
      ale_drop: 61
      rx_port_mask_drop: 61

    The resolution remains same, one of the following steps can resume the ping responses

    1. Enable multicast "ip link set dev eth1 multicast on
    2. Force link up again (even though it is already up) "ip link set dev eth1 up"
    3. Enable promiscus mode: "ip link set dev eth1 multicast on"
    4. Configure static group membership (needed on both eth0 and eth1) "ip maddr add 01:00:5e:0a:0a:0a dev eth0" and "ip maddr add 01:00:5e:0a:0a:0a dev eth1

    Please find attached logs from my setup as well.

    1. Enable icmp echo for multicast
    
        root@am64b_sdk11:~# sysctl net.ipv4.icmp_echo_ignore_broadcasts
        net.ipv4.icmp_echo_ignore_broadcasts = 1
        root@am64b_sdk11:~# sysctl -w net.ipv4.icmp_echo_ignore_broadcasts=0
        net.ipv4.icmp_echo_ignore_broadcasts = 0
        root@am64b_sdk11:~# sysctl net.ipv4.icmp_echo_ignore_broadcasts
        net.ipv4.icmp_echo_ignore_broadcasts = 0
    
    2. Join multicast group
        root@am64b_sdk11:~# ip maddr show dev eth1
        3:      eth1
        		link  01:00:5e:00:00:01
        		inet  224.0.0.1
        root@am64b_sdk11:~# 
        root@am64b_sdk11:~# ip addr add 224.10.10.10/24 dev eth1 autojoin
        root@am64b_sdk11:~# ip maddr show dev eth1
        3:      eth1
        		link  01:00:5e:00:00:01
        		link  01:00:5e:0a:0a:0a                                   <<< New group
        		link  01:00:5e:00:00:fc
        		link  01:00:5e:00:00:fb
        		inet  224.0.0.251
        		inet  224.0.0.252
        		inet  224.10.10.10                                        <<< New group
        		inet  224.0.0.1
        root@am64b_sdk11:~# ip addr show dev eth1
        3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
            link/ether 54:3b:30:01:18:ef brd ff:ff:ff:ff:ff:ff
            inet 224.10.10.10/24 scope global autojoin eth1
               valid_lft forever preferred_lft forever
            inet 192.168.1.20/24 scope global eth1
               valid_lft forever preferred_lft forever
    
    
    3. Change link state of eth0
        root@am64b_sdk11:~# ip link set dev eth0 down
        root@am64b_sdk11:~# [ 1968.291443] am65-cpsw-nuss 8000000.ethernet eth0: Link is Down
    
    4. Observe drop counters
    
    	root@am64b_sdk11:~# ethtool -S eth1 | grep drop | grep -v 0
    	 ale_drop: 8
    	 rx_port_mask_drop: 8
    	root@am64b_sdk11:~# ethtool -S eth1 | grep drop | grep -v 0
    	 ale_drop: 11
    	 rx_port_mask_drop: 11
    	 
    5. Enable mutlicast on eth1 to resume packet flow
    
        root@am64b_sdk11:~# ip link set dev eth1 multicast on
    	root@am64b_sdk11:~# ethtool -S eth1 | grep drop | grep -v 0
    	 ale_drop: 21
    	 rx_port_mask_drop: 21
    	root@am64b_sdk11:~# ethtool -S eth1 | grep drop | grep -v 0
    	 ale_drop: 21
    	 rx_port_mask_drop: 21

    Apart from SK-AM64B  with latest SDK i see this issue on our hardware as well.

    Hope this is enough for you to investigate multicast in general, let me know if you need any other information.

    Regards,

    -Dipal

    P.S. The instructions to check mutlicast traffic were taken from gist.github.com/.../2597c23c68f21d938779aa92683d30b2.

  • Hi Dipal,

    Thank you very much for sharing detailed steps on how to reproduce the issue with a simple multicast ping. 

    3. Ping the multlcast group IP  from the peer:

    Fullscreen
    1
    ping -i enp8s0 224.10.10.10
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    I'm actually running in an issue with the above step where I'm unable to ping from my host PC to my SK-AM64B EVM as a test. I noticed that the "-i" option for ping is actually specifying the interval of seconds between each packet so I changed it to "-I" which specifies the interface name. Even after that, the ping hangs for me. See below for details:

    Test setup:

    SK-AM64B eth1 <--> Ethernet switch <---> enp3s0 Host Ubuntu PC 

    SK-AM64B eth0 <--> (another device since I do not have another interface on my Host Ubuntu PC - purpose is just to get the link status to be connected)

    Log from SK-AM64B:

    root@am64xx-evm:~# ifconfig
    eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
           inet6 fe80::1e63:49ff:fe1a:d2a9 prefixlen 64 scopeid 0x20<link>
           ether 1c:63:49:1a:d2:a9 txqueuelen 1000 (Ethernet)
           RX packets 0 bytes 0 (0.0 B)
           RX errors 0 dropped 0 overruns 0 frame 0
           TX packets 16 bytes 2680 (2.6 KiB)
           TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
    
    eth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
           inet 172.168.1.21 netmask 255.255.255.0 broadcast 172.168.1.255
           inet6 fe80::72ff:76ff:fe1f:42ef prefixlen 64 scopeid 0x20<link>
           ether 70:ff:76:1f:42:ef txqueuelen 1000 (Ethernet)
           RX packets 6 bytes 926 (926.0 B)
           RX errors 0 dropped 0 overruns 0 frame 0
           TX packets 31 bytes 4605 (4.4 KiB)
           TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
    
    lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
           inet 127.0.0.1 netmask 255.0.0.0
           inet6 ::1 prefixlen 128 scopeid 0x10<host>
           loop txqueuelen 1000 (Local Loopback)
           RX packets 10 bytes 1594 (1.5 KiB)
           RX errors 0 dropped 0 overruns 0 frame 0
           TX packets 10 bytes 1594 (1.5 KiB)
           TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
    
    root@am64xx-evm:~# [  21.473976] platform led-controller: deferred probe pending: leds-gpio: Failed to get GPIO '/led-controller/led-0'
    [  21.473999] platform 20000000.i2c: deferred probe pending: (reason unknown)
    
    root@am64xx-evm:~# sysctl -w net.ipv4.icmp_echo_ignore_broadcasts=0
    net.ipv4.icmp_echo_ignore_broadcasts = 0
    root@am64xx-evm:~# ip addr add 224.10.10.10/24 dev eth1 autojoin
    root@am64xx-evm:~# ip maddr show dev eth1
    3:     eth1
           link 33:33:00:00:00:01
           link 01:00:5e:00:00:01
           link 01:80:c2:00:00:0e users 2 static
           link 01:80:c2:00:00:03 users 2 static
           link 01:80:c2:00:00:00 users 2 static
           link 33:33:ff:1f:42:ef
           link 01:00:5e:00:00:fb
           link 33:33:00:00:00:fb
           link 01:00:5e:0a:0a:0a
           inet 224.10.10.10
           inet 224.0.0.251
           inet 224.0.0.1
           inet6 ff02::fb
           inet6 ff02::1:ff1f:42ef
           inet6 ff02::1 users 2
           inet6 ff01::1
    root@am64xx-evm:~# ifconfig eth1
    eth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
           inet 172.168.1.21 netmask 255.255.255.0 broadcast 172.168.1.255
           inet6 fe80::72ff:76ff:fe1f:42ef prefixlen 64 scopeid 0x20<link>
           ether 70:ff:76:1f:42:ef txqueuelen 1000 (Ethernet)
           RX packets 7 bytes 986 (986.0 B)
           RX errors 0 dropped 0 overruns 0 frame 0
           TX packets 49 bytes 6758 (6.5 KiB)
           TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
    root@am64xx-evm:~# ethtool eth1 | grep "Link detected"
           Link detected: yes
    root@am64xx-evm:~# ethtool eth1 | grep "Link detected"                                                                                                                                                     
           Link detected: yes
    root@am64xx-evm:~# uname -a
    Linux am64xx-evm 6.12.17-ti-rt-00771-gc85877d40f8e #1 SMP PREEMPT_RT Tue Mar 25 12:45:29 UTC 2025 aarch64 GNU/Linux

    Log from Host Ubuntu PC:

    ~$ ping -I enp3s0 172.168.1.21
    PING 172.168.1.21 (172.168.1.21) from 172.168.1.1 enp3s0: 56(84) bytes of data.
    64 bytes from 172.168.1.21: icmp_seq=1 ttl=64 time=0.604 ms
    64 bytes from 172.168.1.21: icmp_seq=2 ttl=64 time=0.448 ms
    64 bytes from 172.168.1.21: icmp_seq=3 ttl=64 time=0.440 ms
    ^C
    --- 172.168.1.21 ping statistics ---
    3 packets transmitted, 3 received, 0% packet loss, time 2068ms
    rtt min/avg/max/mdev = 0.440/0.497/0.604/0.075 ms
    ~$ ping -I enp3s0 224.10.10.10
    PING 224.10.10.10 (224.10.10.10) from 172.168.1.1 enp3s0: 56(84) bytes of data.
    ^C
    --- 224.10.10.10 ping statistics ---
    3 packets transmitted, 0 received, 100% packet loss, time 2064ms
    
    

    Even without the Ethernet switch connection, this step seems to fail. I checked that a ping from the host to the SK-AM64B works fine when using the non-multicast IP address that has been assigned to the eth1 port. Is there any step I'm missing that enabled your setup to work for this step?

    Another question I have: does your eth0 to enp6s0 connection have an IP address on each interface or is it just a link connection?

    -Daolin

  • Hi Daolin,

    It will not work with Ethernet Switch (unless we enable multicast switching on it), so I suggest you check with direct connection. 

    Another question I have: does your eth0 to enp6s0 connection have an IP address on each interface or is it just a link connection?

    -Daolin

    I tested with and without ip address on eth0 link. This does not matter.

    Did you enable ICMP echo for broadcasts as given below?

    sysctl -w net.ipv4.icmp_echo_ignore_broadcasts=0

    I believe most likely this will be the reason.

    Edit: I cross checked the ping argument it is indeed capital "-I", and ping fails without this option specified.  Here is the log from my device (note that the response is still unicast from the unicast ip).

    ❯ ping -I enp8s0 224.10.10.10
    PING 224.10.10.10 (224.10.10.10) from 192.168.1.99 enp8s0: 56(84) bytes of data.
    64 bytes from 192.168.1.20: icmp_seq=1 ttl=64 time=0.334 ms
    64 bytes from 192.168.1.20: icmp_seq=2 ttl=64 time=0.366 ms
    64 bytes from 192.168.1.20: icmp_seq=3 ttl=64 time=0.383 ms
    64 bytes from 192.168.1.20: icmp_seq=4 ttl=64 time=0.387 ms
    64 bytes from 192.168.1.20: icmp_seq=5 ttl=64 time=0.375 ms
    64 bytes from 192.168.1.20: icmp_seq=6 ttl=64 time=0.378 ms
    64 bytes from 192.168.1.20: icmp_seq=7 ttl=64 time=0.354 ms
    64 bytes from 192.168.1.20: icmp_seq=8 ttl=64 time=0.351 ms
    ^C
    --- 224.10.10.10 ping statistics ---
    8 packets transmitted, 8 received, 0% packet loss, time 7164ms
    rtt min/avg/max/mdev = 0.334/0.366/0.387/0.017 ms
    

    Regards,

    -Dipal

  • Hi Dipal,

    It will not work with Ethernet Switch (unless we enable multicast switching on it), so I suggest you check with direct connection. 
    Even without the Ethernet switch connection, this step seems to fail.

    Yes, I later tried without the Ethernet switch in between and the step still failed for me.

    Did you enable ICMP echo for broadcasts as given below?

    Yep, as you can see from the log I shared in my previous response, I did ensure the ICMP echo was enabled.

    One thing I'm suspecting in relation to this multicast issue you are observing is simply the test topology you are using. While not directly related, when both Ethernet ports in Dual-MAC mode on the DUT (device under test) get connected directly to another device's two Ethernet ports, and the IP addresses of both ports on the DUT are configured for the same subnet, there would be issues in being able to ping between the two devices. This is related to the ARP packet being a broadcast packet causing, in some cases, finding the MAC address for the wrong ethernet interface. In this case, since the ARP broadcast would return the wrong MAC address, every ping reply would have the incorrect destination MAC address leading to lost ping packets.

    For this reason, we recommend not connecting the devices like you have show in this block diagram. Instead, could you try testing this multicast case by using a different device connected to eth0 and eth1 of the AM64x device? For example, keep the Ubuntu PC connected to eth0 and send the mutlicast packets from PC to the AM64x device, and for eth1, connect to another known working PC or EVM, ensuring no IP address is configured.

    -Daolin

  • Hi,

    The multicast and the PTP  issue was originally observed on the topology you suggested, this is just my test setup. Even in case of PTP we tried it on both topologies and it fails on all of them. We already tested PTP as reported sometime ago.

    1. We tested this in two topologies as given below (Blue box is the Device in test), all logs in this thread are based on topo 2.

    Topo 1: 

    Topo 2:

    Nevertheless I will share the fresh logs with AM64-SK running latest SDK using Topo1.

    Regards,

    -Dipal

  • Hi Dipal,

    The multicast and the PTP  issue was originally observed on the topology you suggested, this is just my test setup. Even in case of PTP we tried it on both topologies and it fails on all of them. We already tested PTP as reported sometime ago.

    Thanks for the reminder about the two different topologies. My main worry was that the topology 2 would be causing the issues as I described in my previous response. My question was if this multicast specific test (not the PTP test as you have done before) can be tested on topology 1 to isolate any potential issues related to topology 2. 

    -Daolin

  • Hi Daolin,

    I have tested everything again and i can reproduce the issue consistently with SK-AM64B running latest SDK. I made a screencast of multicast ping to show how the devices interact when the issue is observed.

    Topology:

    Screencast (The console windows are arranged in same order as the topology):

    Raw logs from SK-AM64B:

    root@am64xx-evm:~# hostname
    am64xx-evm
    root@am64xx-evm:~#
    root@am64xx-evm:~# uname -a
    Linux am64xx-evm 6.12.17-ti-rt-00771-gc85877d40f8e #1 SMP PREEMPT_RT Tue Mar 25 12:45:29 UTC 2025 aarch64 GNU/Linux
    root@am64xx-evm:~#
    root@am64xx-evm:~# ifconfig eth0
    eth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
            ether 1c:63:49:1a:d9:b1  txqueuelen 1000  (Ethernet)
            RX packets 0  bytes 0 (0.0 B)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 0  bytes 0 (0.0 B)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
    
    root@am64xx-evm:~#
    root@am64xx-evm:~#
    root@am64xx-evm:~# ifconfig eth1
    eth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
            inet6 fe80::72ff:76ff:fe1f:4456  prefixlen 64  scopeid 0x20<link>
            ether 70:ff:76:1f:44:56  txqueuelen 1000  (Ethernet)
            RX packets 0  bytes 0 (0.0 B)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 26  bytes 4842 (4.7 KiB)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
    
    root@am64xx-evm:~#
    root@am64xx-evm:~#
    root@am64xx-evm:~# clear
    root@am64xx-evm:~# ip addr add 192.168.1.20/24 dev eth1             
    root@am64xx-evm:~#
    root@am64xx-evm:~# ip addr add 224.10.10.10/24 dev eth1 autojoin    
    root@am64xx-evm:~#
    root@am64xx-evm:~# sysctl -w net.ipv4.icmp_echo_ignore_broadcasts=0 
    net.ipv4.icmp_echo_ignore_broadcasts = 0
    root@am64xx-evm:~#
    root@am64xx-evm:~# Multicast ping is working^C
    root@am64xx-evm:~# ^C
    root@am64xx-evm:~# ^C
    root@am64xx-evm:~# [  206.309907] am65-cpsw-nuss 8000000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
    
    root@am64xx-evm:~# eth0 link restored, ping stopped^C
    root@am64xx-evm:~# ^C
    root@am64xx-evm:~# ethtool -S eth1 | grep drop | grep -v ": 0"
         ale_drop: 38
         rx_port_mask_drop: 38
    root@am64xx-evm:~#
    root@am64xx-evm:~#
    root@am64xx-evm:~#
    root@am64xx-evm:~#
    root@am64xx-evm:~# ethtool -S eth1 | grep drop | grep -v ": 0"
         ale_drop: 41
         rx_port_mask_drop: 41
    root@am64xx-evm:~#
    root@am64xx-evm:~#
    root@am64xx-evm:~# ethtool -S eth1 | grep drop | grep -v ": 0"
         ale_drop: 43
         rx_port_mask_drop: 43
    root@am64xx-evm:~#
    root@am64xx-evm:~#
    root@am64xx-evm:~# ip link set dev eth1 up
    root@am64xx-evm:~#
    root@am64xx-evm:~#
    root@am64xx-evm:~# ethtool -S eth1 | grep drop | grep -v ": 0"
         ale_drop: 53
         rx_port_mask_drop: 53
    root@am64xx-evm:~#
    root@am64xx-evm:~# ethtool -S eth1 | grep drop | grep -v ": 0"
         ale_drop: 53
         rx_port_mask_drop: 53
    root@am64xx-evm:~#
    root@am64xx-evm:~#
    

    Let me know if you need any further information.

    Edit 1: I made an interesting observation:

    When the Multicast ping is working 

    1. If I physically disconnect and reconnect eth1 the ping resumes

    2. If I physically disconnect and reconnect eth0 the ping stops and remains stopped. 

    Edit 2: Also I have tested everything swapping eth0 to eth1 and the behavior are same. 

    Regards,

    -Dipal

  • Hi Dipal,

    I will take a deeper look at the screencast you shared tomorrow and see if I can get multicast test to work.

    -Daolin

  • Hi Dipal,

    Update: I was finally able to recreate the same multicast specific issue (issue was the device I had connected to eth1 on SK-AM62B was not on the same IP address subnet, this had to be configured statically)

    While trying to debug further into the problem, I noticed that by also adding eth0 on SK-AM62B to join the same multicast group (ip addr add 224.10.10.10/24 dev eth0 autojoin), ping from device connected to eth1 on SK-AM62B did not fail. 

    I'm still trying to understand if getting multicast packet reception to work, does all linked up interfaces on the receiving device (in this case SK-AM64B) need to join the multicast group being used? If that is the case, perhaps the requirement is to ensure all linked up interfaces need to join the multicast group.

    If that is not the case, another thing to note is that right at link of an interface, even if no IP address has been configured, there will be Ethernet traffic passed through. For example, the linked up eth0 interface in this test case, no IP address is configured but there is already active traffic initiated in an attempt to acquire an IP address. This can be seen by the nonzero rx_good_frames from ethtool -S eth0 upon simply link up. Perhaps this would a reason why the multicast ping would stop.

    I tested it out and see similar results to your log. For the ethtool drop counters, I notice these increment as long as there is a link up event, even if PTP was not running. Below is some information I could find on portmask drop and ale drop from the AM64x TRM. I don't think these are a PTP specific issue.

      

    As for the ale_drop and rx_port_mask_drop, as indicated by these snippets of the TRM I shared several responses back, they would increment when the packet destination address doesn't match the source address and number of packets that was dropped by ALE due to not being sent to any destination port, respectively. One thing to note, is that even if multicast ping wasn't being tested, and simply linking up an interface with no IP address configured on the same subnet as the connected interface, these counters would increment as well. For example, simple connection of eth1 SK-AM62B with enp8s0 on your setup, when these interfaces have no IP address configured, you would see these counters increment. As soon as IP address is configured, the counters would stop incrementing. At least this was the behavior I observed on my setup. 

    Below is a breakdown of the steps I took to recreate the issue 

    1. Test topology: "Host" eth0 <keep connected> eth1 SK-AM64B eth0 <keep disconnected> eth0 "Another known working device"
      1. SK-AM64B is the DUT
      2. "Host" can be any known working device NOT connected to the internet and NOT running a DHCP server
        1. I used a TMDS64EVM that I had handy
      3. "Another known working device" can be any known working device NOT connected to the internet and NOT running a DHCP server and NOT the same device as "Host"
        1. I used a different TMDS64EVM that I had handy
    2. Set static IP address on "Host" eth0 
      1. ip addr add 192.168.1.25/24 dev eth0
    3. Start ping to multicast address on "Host" eth0
      1. ping -I enp3s0 224.10.10.10
    4. Set static IP address on DUT eth1
      1. ip addr add 192.168.1.20/24 dev eth1
    5. Join multicast address on DUT eth1
      1. ip addr add 224.10.10.10/24 dev eth1 autojoin
    6. Disable ignore broadcasts on DUT
      1. sysctl -w net.ipv4.icmp_echo_ignore_broadcasts=0
    7. Immediately after step 6, the "Host" should show ping packets sent through (multicast working)
      1. You must ensure the "Host" eth0 has an IP address on same subnet as DUT eth1
    8. Link up eth0 between DUT and "Another known working device" (either connect the cable or use ip link set dev eth0 up)
    9. Observe that ping on "Host" stops and see that ale_drop and rx_port_mask_drop counters from ethtool -S eth1 on DUT increment

    Is it not possible for you to simply also add eth0 to the same multicast group to ensure multicast works (and eventually PTP works)?

    -Daolin

  • Hi Daolin,

    Thanks for the update, its good to know that you were able to recreate the issue.

    Is it not possible for you to simply also add eth0 to the same multicast group to ensure multicast works (and eventually PTP works)?

    We have tried this already (for both PTP and normal Multicast). 

    Normal Multicast See Step 4:

    The resolution remains same, one of the following steps can resume the ping responses

    1. Enable multicast "ip link set dev eth1 multicast on
    2. Force link up again (even though it is already up) "ip link set dev eth1 up"
    3. Enable promiscus mode: "ip link set dev eth1 multicast on"
    4. Configure static group membership (needed on both eth0 and eth1) "ip maddr add 01:00:5e:0a:0a:0a dev eth0" and "ip maddr add 01:00:5e:0a:0a:0a dev eth1

    PTP, see "I still need to configure it for both interfaces even though i am running PTP on one interface only"

    I managed to get this to work with NetworkManger (or perhaps independent of any network management) by configuring the static entry for the PTP muticast address as given below, i still need to configure it for both interfaces even though i am running PTP on one interface only.

    Fullscreen
    1
    2
    3
    4
    5
    6
    ip link set dev eth0 down
    ip link set dev eth1 down
    ip maddr add 01:80:c2:00:00:0e dev eth0
    ip maddr add 01:80:c2:00:00:0e dev eth1
    ip link set dev eth0 up
    ip link set dev eth1 up
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    I feel there is still something missing / can be improved on how this is handled by the TI drivers.

    For PTP case we may still be able to configure the static group on both interfaces, but for normal multicast applications it wont' be feasible as both ports may want to subscribe to different groups. 

    Regards,

    -Dipal

  • Hi Dipal,

    For PTP case we may still be able to configure the static group on both interfaces, but for normal multicast applications it wont' be feasible as both ports may want to subscribe to different groups. 

    Thanks for clarifying this. I've went ahead and filed a bug on the normal multicast issue since I was able to reproduce it and it appears that the issue is more likely a bug rather than a use-case issue. Our software developer who will be working on this is out of office this coming week so I anticipate there will be a delay in root causing the issue and providing a fix.

    I'm currently looking into a way to dump out all the CPSW ALE entries to see if the ALE was registering the multicast address and port correctly. The fact that ale_drop and rx_port_mask_drop counters increment indicates that the multicast (destination) address was not found for some reason.

    Currently it looks like "ethtool -d <interface name>" is a way to dump the CPSW registers including the ALE registers but seem to dump all the ALE entries.

    -Daolin

  • Hi Daolin,

    Thanks for the update, feel free to get back if you need any more Information.

    Just to clarify further on normal multicast use case, generally the application is written by the customers. The multicast groups to join and the associated interfaces are decided by the application developer. The same application can be used on multiple devices, so it wont be possible to modify the application to subscribe to the same groups on all interfaces. Furthermore the applications do want to subscribe to different groups on different interfaces. 

    Regards,

    -Dipal

  • Hi Dipal, 

    I'm currently looking into a way to dump out all the CPSW ALE entries to see if the ALE was registering the multicast address and port correctly. The fact that ale_drop and rx_port_mask_drop counters increment indicates that the multicast (destination) address was not found for some reason.

    Update:

    I was able to manually read a given ALE entry using devmem2 and the CPSW_ALE_TBLCTL (address 0x0803E020), CPSW_ALE_TBLW2 (address 0x0803E032), CPSW_ALE_TBLW1 (address 0x0803E038), CPSW_ALE_TBLW0 (address 0x0803E03C) registers. You can read more about these registers in the AM64x TRM.

    By examining these registers before and after the link status changes on the "other" port, I noticed that the ALE entry for the multicast address changes from entry type "address entry" to a "free entry" (you can find more information about the entry types in the AM64x TRM). However, the root cause for this change in ALE entry type still needs to be tracked down, and I would need work with our software developer to do so. As I mentioned, the developer is out of office this week so there will be a delay in finding a fix.

    -Daolin

  • Hi Daolin,

    This is good, i think we are getting closer Slight smile

    Thanks for debugging and keeping me posted.

    Regards,

    -Dipal

  • Hi Dipal,

    Here is what our developer found:

    There is a bug or it might be an expected behaviour (yet to decide) in CPSW driver, since ALE table is a common resources for all the interfaces (both eth0 and eth1 in this case), whenever we bring down other interfaces it flushes out the multicast entries for other interfaces too which is not correct and that's why we are seeing this issue while working with PTP or normal multicast traffic.

    Workaround for now:

    Delete the multicast entry: ip addr del 224.10.10.10/24 dev eth1 autojoin and add it again: ip addr add 224.10.10.10/24 dev eth1 autojoin will resolve the issue, for PTP we need to synchronize the clocks again.

    We'll update when/if we find a fix for this (still need to determine internally if this is a bug or expected behavior based on our ALE table design).

    -Daolin

  • Hi Daolin,

    Thanks for the update.

    Delete the multicast entry: ip addr del 224.10.10.10/24 dev eth1 autojoin and add it again: ip addr add 224.10.10.10/24 dev eth1 autojoin will resolve the issue, for PTP we need to synchronize the clocks again.

    This is minimal example to reproduce the issue so we know the group address.

    Unfortunately I don't think this is possible in real use case as the groups to join are decided by the end user applications, at a system level we can't configure them statically as each application will need to join different groups or even same application can join different groups at different times.

    It can work for PTP  as we know the addresses we are going to use.

    Regards,

    -Dipal