[Linuxptp-users] Issue: received SYNC without timestamp
PTP IEEE 1588 stack for Linux
Brought to you by:
rcochran
From: Saurav K. <s.k...@si...> - 2023-04-19 11:35:22
|
Hi All, I have been facing "received SYNC without timestamp" issue whlie running PTP slave. I have also attached output of cat /sys/kernel/debug/tracing/trace_pipe | grep -C3 i40e in trace_pipe_i40e.txt We are using Intel XXV710 series ethernet controller. Following are the information of PTP slave machine. Please let me know if you need anything. root# ptp4l -m -s -f /root/oru-sim/config/ptp_slave.conf -l 7 -2 -H ptp4l[12624.712]: config item (null).assume_two_step is 0 ptp4l[12624.712]: config item (null).check_fup_sync is 0 ptp4l[12624.712]: config item (null).tx_timestamp_timeout is 500 ptp4l[12624.712]: config item (null).hwts_filter is 0 ptp4l[12624.712]: config item (null).clock_servo is 0 ptp4l[12624.712]: config item (null).clock_type is 32768 ptp4l[12624.712]: config item (null).clock_servo is 0 ptp4l[12624.712]: config item (null).clockClass is 248 ptp4l[12624.712]: config item (null).clockAccuracy is 254 ptp4l[12624.712]: config item (null).offsetScaledLogVariance is 65535 ptp4l[12624.712]: config item (null).productDescription is ';;' ptp4l[12624.712]: config item (null).revisionData is ';;' ptp4l[12624.712]: config item (null).userDescription is ';' ptp4l[12624.712]: config item (null).manufacturerIdentity is '00:00:00' ptp4l[12624.712]: config item (null).domainNumber is 24 ptp4l[12624.712]: config item (null).slaveOnly is 1 ptp4l[12624.712]: config item (null).gmCapable is 1 ptp4l[12624.712]: config item (null).gmCapable is 1 ptp4l[12624.712]: config item (null).G.8275.defaultDS.localPriority is 128 ptp4l[12624.712]: config item (null).maxStepsRemoved is 255 ptp4l[12624.712]: config item (null).time_stamping is 1 ptp4l[12624.712]: config item (null).twoStepFlag is 1 ptp4l[12624.712]: config item (null).twoStepFlag is 1 ptp4l[12624.712]: config item (null).time_stamping is 1 ptp4l[12624.712]: config item (null).priority1 is 128 ptp4l[12624.712]: config item (null).priority2 is 128 ptp4l[12624.712]: interface index 4 is up ptp4l[12624.712]: config item (null).free_running is 0 ptp4l[12624.712]: selected /dev/ptp3 as PTP clock ptp4l[12624.712]: config item (null).clockIdentity is '000000.0000.000000' ptp4l[12624.712]: config item (null).uds_address is '/var/run/ptp4l' ptp4l[12624.712]: section item /var/run/ptp4l.announceReceiptTimeout now 0 ptp4l[12624.712]: section item /var/run/ptp4l.delay_mechanism now 0 ptp4l[12624.712]: section item /var/run/ptp4l.network_transport now 0 ptp4l[12624.712]: section item /var/run/ptp4l.delay_filter_length now 1 ptp4l[12624.712]: config item (null).free_running is 0 ptp4l[12624.712]: config item (null).freq_est_interval is 1 ptp4l[12624.712]: config item (null).write_phase_mode is 0 ptp4l[12624.712]: config item (null).gmCapable is 1 ptp4l[12624.712]: config item (null).kernel_leap is 1 ptp4l[12624.712]: config item (null).utc_offset is 37 ptp4l[12624.712]: config item (null).timeSource is 160 ptp4l[12624.712]: config item (null).pi_proportional_const is 0.000000 ptp4l[12624.712]: config item (null).pi_integral_const is 0.000000 ptp4l[12624.712]: config item (null).pi_proportional_scale is 0.000000 ptp4l[12624.712]: config item (null).pi_proportional_exponent is -0.300000 ptp4l[12624.712]: config item (null).pi_proportional_norm_max is 0.700000 ptp4l[12624.712]: config item (null).pi_integral_scale is 0.000000 ptp4l[12624.712]: config item (null).pi_integral_exponent is 0.400000 ptp4l[12624.712]: config item (null).pi_integral_norm_max is 0.300000 ptp4l[12624.712]: config item (null).step_threshold is 0.000000 ptp4l[12624.712]: config item (null).first_step_threshold is 0.000020 ptp4l[12624.712]: config item (null).max_frequency is 900000000 ptp4l[12624.712]: config item (null).servo_offset_threshold is 0 ptp4l[12624.712]: config item (null).servo_num_offset_values is 10 ptp4l[12624.712]: config item (null).dataset_comparison is 0 ptp4l[12624.712]: config item (null).delay_filter_length is 10 ptp4l[12624.712]: config item (null).delay_filter is 1 ptp4l[12624.712]: config item (null).tsproc_mode is 0 ptp4l[12624.712]: config item (null).initial_delay is 0 ptp4l[12624.712]: config item (null).summary_interval is 0 ptp4l[12624.712]: config item (null).sanity_freq_limit is 200000000 ptp4l[12624.712]: PI servo: sync interval 1.000 kp 0.700 ki 0.300000 ptp4l[12624.712]: config item /var/run/ptp4l.boundary_clock_jbod is 0 ptp4l[12624.712]: config item /var/run/ptp4l.network_transport is 0 ptp4l[12624.712]: config item /var/run/ptp4l.masterOnly is 0 ptp4l[12624.712]: config item /var/run/ptp4l.BMCA is 0 ptp4l[12624.712]: config item /var/run/ptp4l.delayAsymmetry is 0 ptp4l[12624.712]: config item /var/run/ptp4l.follow_up_info is 0 ptp4l[12624.712]: config item /var/run/ptp4l.freq_est_interval is 1 ptp4l[12624.712]: config item /var/run/ptp4l.msg_interval_request is 0 ptp4l[12624.712]: config item /var/run/ptp4l.net_sync_monitor is 0 ptp4l[12624.712]: config item /var/run/ptp4l.path_trace_enabled is 0 ptp4l[12624.712]: config item /var/run/ptp4l.tc_spanning_tree is 0 ptp4l[12624.712]: config item /var/run/ptp4l.ingressLatency is 0 ptp4l[12624.712]: config item /var/run/ptp4l.egressLatency is 0 ptp4l[12624.712]: config item /var/run/ptp4l.delay_mechanism is 0 ptp4l[12624.712]: config item /var/run/ptp4l.hybrid_e2e is 0 ptp4l[12624.712]: config item /var/run/ptp4l.fault_badpeernet_interval is 16 ptp4l[12624.712]: config item /var/run/ptp4l.fault_reset_interval is 4 ptp4l[12624.712]: config item /var/run/ptp4l.delay_filter_length is 1 ptp4l[12624.712]: config item /var/run/ptp4l.delay_filter is 1 ptp4l[12624.712]: config item /var/run/ptp4l.tsproc_mode is 0 ptp4l[12624.712]: config item (null).slave_event_monitor is '' ptp4l[12624.712]: config item ens5f0.boundary_clock_jbod is 0 ptp4l[12624.712]: config item ens5f0.network_transport is 3 ptp4l[12624.712]: config item ens5f0.masterOnly is 0 ptp4l[12624.712]: config item ens5f0.BMCA is 0 ptp4l[12624.712]: config item ens5f0.delayAsymmetry is 0 ptp4l[12624.712]: config item ens5f0.follow_up_info is 0 ptp4l[12624.712]: config item ens5f0.freq_est_interval is 1 ptp4l[12624.712]: config item ens5f0.msg_interval_request is 0 ptp4l[12624.712]: config item ens5f0.net_sync_monitor is 0 ptp4l[12624.712]: config item ens5f0.path_trace_enabled is 0 ptp4l[12624.712]: config item ens5f0.tc_spanning_tree is 0 ptp4l[12624.712]: config item ens5f0.ingressLatency is 0 ptp4l[12624.712]: config item ens5f0.egressLatency is 0 ptp4l[12624.712]: config item ens5f0.delay_mechanism is 1 ptp4l[12624.712]: config item ens5f0.unicast_master_table is 0 ptp4l[12624.712]: config item ens5f0.unicast_listen is 0 ptp4l[12624.712]: config item ens5f0.hybrid_e2e is 0 ptp4l[12624.712]: config item ens5f0.fault_badpeernet_interval is 16 ptp4l[12624.712]: config item ens5f0.fault_reset_interval is 4 ptp4l[12624.712]: config item ens5f0.delay_filter_length is 10 ptp4l[12624.712]: config item ens5f0.delay_filter is 1 ptp4l[12624.712]: config item ens5f0.tsproc_mode is 0 ptp4l[12624.712]: config item ens5f0.logMinDelayReqInterval is 0 ptp4l[12624.712]: config item ens5f0.logAnnounceInterval is 1 ptp4l[12624.712]: config item ens5f0.inhibit_announce is 0 ptp4l[12624.712]: config item ens5f0.ignore_source_id is 0 ptp4l[12624.712]: config item ens5f0.announceReceiptTimeout is 5 ptp4l[12624.712]: config item ens5f0.syncReceiptTimeout is 0 ptp4l[12624.712]: config item ens5f0.transportSpecific is 0 ptp4l[12624.712]: config item ens5f0.ignore_transport_specific is 0 ptp4l[12624.712]: config item ens5f0.G.8275.portDS.localPriority is 128 ptp4l[12624.712]: config item ens5f0.logSyncInterval is 0 ptp4l[12624.712]: config item ens5f0.operLogSyncInterval is 0 ptp4l[12624.712]: config item ens5f0.logMinPdelayReqInterval is 0 ptp4l[12624.712]: config item ens5f0.operLogPdelayReqInterval is 0 ptp4l[12624.712]: config item ens5f0.neighborPropDelayThresh is 20000000 ptp4l[12624.713]: config item ens5f0.min_neighbor_prop_delay is -20000000 ptp4l[12624.713]: config item ens5f0.asCapable is 1 ptp4l[12624.713]: config item ens5f0.inhibit_delay_req is 0 ptp4l[12624.713]: config item ens5f0.ptp_dst_mac is '01:1B:19:00:00:00' ptp4l[12624.713]: config item ens5f0.p2p_dst_mac is '01:1B:19:00:00:00' ptp4l[12624.713]: config item global.socket_priority is 0 ptp4l[12624.781]: port 1: INITIALIZING to LISTENING on INIT_COMPLETE ptp4l[12624.781]: config item /var/run/ptp4l.logMinDelayReqInterval is 0 ptp4l[12624.781]: config item /var/run/ptp4l.logAnnounceInterval is 1 ptp4l[12624.781]: config item /var/run/ptp4l.inhibit_announce is 0 ptp4l[12624.781]: config item /var/run/ptp4l.ignore_source_id is 0 ptp4l[12624.781]: config item /var/run/ptp4l.announceReceiptTimeout is 0 ptp4l[12624.781]: config item /var/run/ptp4l.syncReceiptTimeout is 0 ptp4l[12624.781]: config item /var/run/ptp4l.transportSpecific is 0 ptp4l[12624.781]: config item /var/run/ptp4l.ignore_transport_specific is 0 ptp4l[12624.781]: config item /var/run/ptp4l.G.8275.portDS.localPriority is 128 ptp4l[12624.781]: config item /var/run/ptp4l.logSyncInterval is 0 ptp4l[12624.781]: config item /var/run/ptp4l.operLogSyncInterval is 0 ptp4l[12624.781]: config item /var/run/ptp4l.logMinPdelayReqInterval is 0 ptp4l[12624.781]: config item /var/run/ptp4l.operLogPdelayReqInterval is 0 ptp4l[12624.781]: config item /var/run/ptp4l.neighborPropDelayThresh is 20000000 ptp4l[12624.781]: config item /var/run/ptp4l.min_neighbor_prop_delay is -20000000 ptp4l[12624.781]: config item /var/run/ptp4l.asCapable is 1 ptp4l[12624.781]: config item /var/run/ptp4l.inhibit_delay_req is 0 ptp4l[12624.781]: config item (null).uds_address is '/var/run/ptp4l' ptp4l[12624.781]: port 0: INITIALIZING to LISTENING on INIT_COMPLETE ptp4l[12624.782]: port 1: received link status notification ptp4l[12624.782]: interface index 4 is up ptp4l[12625.708]: port 1: setting asCapable ptp4l[12625.708]: port 1: new foreign master 2cea7f.fffe.fff83d-1 ptp4l[12625.708]: port 1: received SYNC without timestamp ptp4l[12625.770]: port 1: received SYNC without timestamp ptp4l[12625.833]: port 1: received SYNC without timestamp ptp4l[12625.895]: port 1: received SYNC without timestamp ptp4l[12625.958]: selected best master clock 2cea7f.fffe.fff83d ptp4l[12625.958]: port 1: LISTENING to UNCALIBRATED on RS_SLAVE ptp4l[12625.958]: port 1: received SYNC without timestamp ptp4l[12626.021]: port 1: received SYNC without timestamp ptp4l[12626.021]: port 1: have FOLLOW_UP 14938, expecting SYNC but got FOLLOW_UP 14939, dropping ptp4l[12626.083]: port 1: received SYNC without timestamp ptp4l[12626.083]: port 1: have FOLLOW_UP 14939, expecting SYNC but got FOLLOW_UP 14940, dropping ptp4l[12626.146]: port 1: received SYNC without timestamp =========== *root# uname -a* Linux admin *5.15.0-69-generic* #76~20.04.1-Ubuntu SMP Mon Mar 20 15:54:19 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux root# ethtool -i ens5f0 driver: i40e version: 5.15.0-69-generic firmware-version: 8.40 0x8000b1fb 20.5.13 expansion-rom-version: bus-info: 0000:b1:00.0 supports-statistics: yes supports-test: yes supports-eeprom-access: yes supports-register-dump: yes supports-priv-flags: yes Time stamping parameters: Capabilities: hardware-transmit (SOF_TIMESTAMPING_TX_HARDWARE) software-transmit (SOF_TIMESTAMPING_TX_SOFTWARE) hardware-receive (SOF_TIMESTAMPING_RX_HARDWARE) software-receive (SOF_TIMESTAMPING_RX_SOFTWARE) software-system-clock (SOF_TIMESTAMPING_SOFTWARE) hardware-raw-clock (SOF_TIMESTAMPING_RAW_HARDWARE) PTP Hardware Clock: 0 Hardware Transmit Timestamp Modes: off (HWTSTAMP_TX_OFF) on (HWTSTAMP_TX_ON) Hardware Receive Filter Modes: none (HWTSTAMP_FILTER_NONE) all (HWTSTAMP_FILTER_ALL) ptpv1-l4-sync (HWTSTAMP_FILTER_PTP_V1_L4_SYNC) ptpv1-l4-delay-req (HWTSTAMP_FILTER_PTP_V1_L4_DELAY_REQ) ptpv2-l4-sync (HWTSTAMP_FILTER_PTP_V2_L4_SYNC) ptpv2-l4-delay-req (HWTSTAMP_FILTER_PTP_V2_L4_DELAY_REQ) ptpv2-l2-sync (HWTSTAMP_FILTE R_PTP_V2_L2_SYNC) ptpv2-l2-delay-req (HWTSTAMP_FILTER_PTP_V2_L2_DELAY_REQ) ptpv2-event (HWTSTAMP_FILTER_PTP_V2_EVENT) ptpv2-sync (HWTSTAMP_FILTER_PTP_V2_SYNC) ptpv2-delay-req (HWTSTAMP_FILTER_PTP_V2_DELAY_REQ) ================ ethtool -S <ptp_slave_interface> | grep tstamp port.tx_hwtstamp_timeouts: 0 port.rx_hwtstamp_cleared: 0 port.tx_hwtstamp_skipped: 0 Thanks Saurav |