ls1046a Hardware Transmit Timestamp and Hardware Receive Filter

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

ls1046a Hardware Transmit Timestamp and Hardware Receive Filter

Jump to solution
2,478 Views
hongyuanz
Contributor IV

root@localhost:~# ethtool -T fm1-mac10
Time stamping parameters for fm1-mac10:
Capabilities:
hardware-transmit (SOF_TIMESTAMPING_TX_HARDWARE)
hardware-receive (SOF_TIMESTAMPING_RX_HARDWARE)
hardware-raw-clock (SOF_TIMESTAMPING_RAW_HARDWARE)
PTP Hardware Clock: none
Hardware Transmit Timestamp Modes:
off (HWTSTAMP_TX_OFF)
on (HWTSTAMP_TX_ON)
Hardware Receive Filter Modes:
none (HWTSTAMP_FILTER_NONE)
all (HWTSTAMP_FILTER_ALL)
root@localhost:~#

 

1 Hardware Transmit Timestamp 

2 Hardware Receive Filter

Verify these two functions. ?

 

 

0 Kudos
1 Solution
2,428 Views
yipingwang
NXP TechSupport
NXP TechSupport

Please check Linux Kernel configuration to enable DPAA SDK Ethernet driver and HW timestamping support

Device Drivers --->
[*] Network device support --->
    [*] Ethernet driver support --->
       [*] Freescale devices
       <*> DPAA Ethernet --->
             [*] Linux compliant timestamping

 

CONFIG_FSL_SDK_DPAA_ETH=y

CONFIG_FSL_DPAA_TS=y

CONFIG_PTP_1588_CLOCK_QORIQ=y

View solution in original post

0 Kudos
6 Replies
2,472 Views
yipingwang
NXP TechSupport
NXP TechSupport

Please refer to Documentation/networking/timestamping.txt in Linux Kernel source code.

If further assistance is needed, please describe your question in details.

0 Kudos
2,455 Views
hongyuanz
Contributor IV

root@localhost:/home/user# ./ptp4l -i fm1-mac10 -H -m
ptp4l[893.293]: port 1 (fm1-mac10): INITIALIZING to LISTENING on INIT_COMPLETE
ptp4l[893.293]: port 0 (/var/run/ptp4l): INITIALIZING to LISTENING on INIT_COMPLETE
ptp4l[893.293]: port 0 (/var/run/ptp4lro): INITIALIZING to LISTENING on INIT_COMPLETE
ptp4l[897.476]: port 1 (fm1-mac10): new foreign master 0c42a1.fffe.cfeb8e-1
ptp4l[898.586]: port 1 (fm1-mac10): received SYNC without timestamp
ptp4l[899.589]: port 1 (fm1-mac10): LISTENING to MASTER on ANNOUNCE_RECEIPT_TIMEOUT_EXPIRES
ptp4l[899.589]: selected local clock 00e00c.fffe.008901 as best master
ptp4l[899.589]: port 1 (fm1-mac10): assuming the grand master role
ptp4l[899.697]: port 1 (fm1-mac10): received SYNC without timestamp
ptp4l[900.808]: port 1 (fm1-mac10): received SYNC without timestamp
ptp4l[901.919]: port 1 (fm1-mac10): received SYNC without timestamp
ptp4l[901.920]: selected best master clock 0c42a1.fffe.cfeb8e
ptp4l[901.920]: port 1 (fm1-mac10): assuming the grand master role
ptp4l[903.030]: port 1 (fm1-mac10): received SYNC without timestamp
ptp4l[904.141]: port 1 (fm1-mac10): received SYNC without timestamp
ptp4l[905.252]: port 1 (fm1-mac10): received SYNC without timestamp
ptp4l[906.363]: port 1 (fm1-mac10): received SYNC without timestamp
ptp4l[907.474]: port 1 (fm1-mac10): received SYNC without timestamp
ptp4l[908.586]: port 1 (fm1-mac10): received SYNC without timestamp
ptp4l[909.697]: port 1 (fm1-mac10): received SYNC without timestamp

0 Kudos
2,436 Views
hongyuanz
Contributor IV

The server tests the 10G network port received sync without timestamp. What is the possible reason..?

0 Kudos
2,429 Views
yipingwang
NXP TechSupport
NXP TechSupport

Please check Linux Kernel configuration to enable DPAA SDK Ethernet driver and HW timestamping support

Device Drivers --->
[*] Network device support --->
    [*] Ethernet driver support --->
       [*] Freescale devices
       <*> DPAA Ethernet --->
             [*] Linux compliant timestamping

 

CONFIG_FSL_SDK_DPAA_ETH=y

CONFIG_FSL_DPAA_TS=y

CONFIG_PTP_1588_CLOCK_QORIQ=y

0 Kudos
2,415 Views
hongyuanz
Contributor IV

What is the relationship between "ptp-qoriq" and "FM RTC timer"  。。?

Freescale QorIQ 1588 timer as PTP clock
modulename: ptp-qoriq.ko

0 Kudos
2,420 Views
hongyuanz
Contributor IV

I have selected the above configuration:

use For DPAA FMan   How to configure 
dts 'ptp_clock@'

What is this  'ipic' . . ?

ptp_clock@24e00 {
compatible = "fsl,etsec-ptp";
reg = <0x24E00 0xB0>;
interrupts = <12 0x8 13 0x8>;
interrupt-parent = < &ipic >;
fsl,cksel = <1>;
fsl,tclk-period = <10>;
fsl,tmr-prsc = <100>;
fsl,tmr-add = <0x999999A4>;
fsl,tmr-fiper1 = <0x3B9AC9F6>;
fsl,tmr-fiper2 = <0x00018696>;
fsl,max-adj = <659999998>;
};

0 Kudos