Hi Experts,
Can someone help me resolve the following issue.
When trying ptp4l with hardware timestamp on a hw timestamp supported
interface, the sync and delay request packets are being received without
timestamp.
Linux version : 4.4.0-87-generic
root@ptp-slave:~# ptp4l -i enp1s0f0 -4 -m -s -H
ptp4l[23525.128]: selected /dev/ptp2 as PTP clock
ptp4l[23525.129]: port 1 (enp1s0f0): INITIALIZING to LISTENING on INIT_COMPLETE
ptp4l[23525.129]: port 0 (/var/run/ptp4l): INITIALIZING to LISTENING on
INIT_COMPLETE
ptp4l[23525.129]: port 0 (/var/run/ptp4lro): INITIALIZING to LISTENING on
INIT_COMPLETE
ptp4l[23526.788]: port 1 (enp1s0f0): new foreign master 3cfdfe.fffe.c46794-1
ptp4l[23527.787]: port 1 (enp1s0f0): received SYNC without timestamp
ptp4l[23527.787]: port 1 (enp1s0f0): received SYNC without timestamp
ptp4l[23528.787]: port 1 (enp1s0f0): received SYNC without timestamp
ptp4l[23528.787]: port 1 (enp1s0f0): received SYNC without timestamp
ptp4l[23528.788]: selected best master clock 3cfdfe.fffe.c46794
ptp4l[23528.788]: port 1 (enp1s0f0): LISTENING to UNCALIBRATED on RS_SLAVE
ptp4l[23529.787]: port 1 (enp1s0f0): received SYNC without timestamp
ptp4l[23529.787]: port 1 (enp1s0f0): received SYNC without timestamp
ptp4l[23530.787]: port 1 (enp1s0f0): received SYNC without timestamp
ptp4l[23530.787]: port 1 (enp1s0f0): received SYNC without timestamp
root@ptp-master:~# ptp4l -i enp1s0f0 -4 -m -H
ptp4l[22959.160]: selected /dev/ptp2 as PTP clock
ptp4l[22959.161]: port 1 (enp1s0f0): INITIALIZING to LISTENING on INIT_COMPLETE
ptp4l[22959.161]: port 0 (/var/run/ptp4l): INITIALIZING to LISTENING on
INIT_COMPLETE
ptp4l[22959.161]: port 0 (/var/run/ptp4lro): INITIALIZING to LISTENING on
INIT_COMPLETE
ptp4l[22966.482]: port 1 (enp1s0f0): LISTENING to MASTER on
ANNOUNCE_RECEIPT_TIMEOUT_EXPIRES
ptp4l[22966.482]: selected local clock 3cfdfe.fffe.c46794 as best master
ptp4l[22966.482]: port 1 (enp1s0f0): assuming the grand master role
ptp4l[22968.490]: port 1 (enp1s0f0): received DELAY_REQ without timestamp
ptp4l[22968.802]: port 1 (enp1s0f0): received DELAY_REQ without timestamp
ptp4l[22969.335]: port 1 (enp1s0f0): received DELAY_REQ without timestamp
ptp4l[22969.868]: port 1 (enp1s0f0): received DELAY_REQ without timestamp
root@ptp-slave:~# ethtool -i enp1s0f0
driver: i40e
version: 2.15.9
firmware-version: 6.01 0x800035cf 1.1747.0
expansion-rom-version:
bus-info: 0000:01:00.0
supports-statistics: yes
supports-test: yes
supports-eeprom-access: yes
supports-register-dump: yes
supports-priv-flags: yes
root@ptp-slave:~# ethtool -T enp1s0f0
Time stamping parameters for enp1s0f0:
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: 2
Hardware Transmit Timestamp Modes:
off (HWTSTAMP_TX_OFF)
on (HWTSTAMP_TX_ON)
Hardware Receive Filter Modes:
none (HWTSTAMP_FILTER_NONE)
ptpv1-l4-sync (HWTSTAMP_FILTER_PTP_V1_L4_SYNC)
ptpv1-l4-delay-req (HWTSTAMP_FILTER_PTP_V1_L4_DELAY_REQ)
ptpv2-l4-event (HWTSTAMP_FILTER_PTP_V2_L4_EVENT)
ptpv2-l4-sync (HWTSTAMP_FILTER_PTP_V2_L4_SYNC)
ptpv2-l4-delay-req (HWTSTAMP_FILTER_PTP_V2_L4_DELAY_REQ)
ptpv2-l2-event (HWTSTAMP_FILTER_PTP_V2_L2_EVENT)
ptpv2-l2-sync (HWTSTAMP_FILTER_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)
root@ptp-master:~# ethtool -i enp1s0f0
driver: i40e
version: 2.15.9
firmware-version: 6.01 0x800035cf 1.1747.0
expansion-rom-version:
bus-info: 0000:01:00.0
supports-statistics: yes
supports-test: yes
supports-eeprom-access: yes
supports-register-dump: yes
supports-priv-flags: yes
root@ptp-master:~# ethtool -T enp1s0f0
Time stamping parameters for enp1s0f0:
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: 2
Hardware Transmit Timestamp Modes:
off (HWTSTAMP_TX_OFF)
on (HWTSTAMP_TX_ON)
Hardware Receive Filter Modes:
none (HWTSTAMP_FILTER_NONE)
ptpv1-l4-sync (HWTSTAMP_FILTER_PTP_V1_L4_SYNC)
ptpv1-l4-delay-req (HWTSTAMP_FILTER_PTP_V1_L4_DELAY_REQ)
ptpv2-l4-event (HWTSTAMP_FILTER_PTP_V2_L4_EVENT)
ptpv2-l4-sync (HWTSTAMP_FILTER_PTP_V2_L4_SYNC)
ptpv2-l4-delay-req (HWTSTAMP_FILTER_PTP_V2_L4_DELAY_REQ)
ptpv2-l2-event (HWTSTAMP_FILTER_PTP_V2_L2_EVENT)
ptpv2-l2-sync (HWTSTAMP_FILTER_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)
Regards,
Karthick
_______________________________________________
Linuxptp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linuxptp-users