> HW:       ARMv8 Cortex-A53 processor (quad-core) in the Stratix10 SoC FPGA
>
> Driver:  intel_fpga_qse_ll (10gb/s)

It seems to be an out-of-tree driver. Try increasing
tx_timestamp_timeout. If that doesn't help, you will need to ask the
vendor or where you got the driver to look at the issue you have with
missing TX timestamps.

--
Miroslav Lichvar

On Tue, 9 Aug 2022 at 13:55, Gururaj Badiger <gururaj.badi...@gmail.com>
wrote:

> Hi Miroslav Lichvar,
>
> Here is the HW and Driver info,
>
> HW:       ARMv8 Cortex-A53 processor (quad-core) in the Stratix10 SoC FPGA
>
> Driver:  intel_fpga_qse_ll (10gb/s)
>
>
> -Guru
>
> On Mon, 8 Aug 2022 at 15:57, Gururaj Badiger <gururaj.badi...@gmail.com>
> wrote:
>
>>
>>
>> On Mon, 8 Aug 2022 at 15:38, Miroslav Lichvar <mlich...@redhat.com>
>> wrote:
>>
>>> On Mon, Aug 08, 2022 at 03:29:26PM +0530, Gururaj Badiger wrote:
>>> > Is the server configured with the same logAnnounceInterval?:
>>> > <guru> Do you mean both Leader and Follower config files should be
>>> > configured with the same Sync and Announce interval values?
>>>
>>> The announce interval needs to be the same in the whole PTP domain.
>>> The sync interval doesn't have to be, but usually it is.
>>>  <guru> I tried to keep both Client and Server same but I didnt see any
>>> improvement.
>>
>>
>>
>>>
>>> > Client log meaning, are you asking console logs on Leader?
>>>
>>> I think client is follower in the leader/follower terminology (we use
>>> the server/client terminology in linuxptp).
>>>
>>    ok Client log is as below:
>>
>> ptp4l[252579.286]: port 2: master state recommended in slave only mode
>> ptp4l[252579.286]: port 2: defaultDS.priority1 probably misconfigured
>> ptp4l[252579.786]: selected local clock ced607.fffe.20f9e8 as best master
>> ptp4l[252579.786]: port 2: assuming the grand master role
>> ptp4l[252579.786]: port 2: master state recommended in slave only mode
>> ptp4l[252579.786]: port 2: defaultDS.priority1 probably misconfigured
>> ptp4l[252580.182]: selected local clock ced607.fffe.20f9e8 as best master
>> ptp4l[252580.182]: port 2: assuming the grand master role
>> ptp4l[252580.182]: port 2: master state recommended in slave only mode
>> ptp4l[252580.182]: port 2: defaultDS.priority1 probably misconfigured
>> ptp4l[252580.346]: selected best master clock 080011.fffe.21b927
>> ptp4l[252580.346]: updating UTC offset to 37
>> ptp4l[252580.346]: port 1: LISTENING to UNCALIBRATED on RS_SLAVE
>> ptp4l[252580.346]: port 2: master state recommended in slave only mode
>> ptp4l[252580.346]: port 2: defaultDS.priority1 probably misconfigured
>> ptp4l[252580.373]: port 1: minimum delay request interval 2^-4
>> ptp4l[252580.534]: rms 1659701576982259968 max 1659701576982259968 freq
>>   +0 +/-   0 delay  7588 +/-   0
>> ptp4l[252580.659]: rms 1659701576982259968 max 1659701576982259968 freq
>>  -24 +/-  24 delay  7625 +/-   5
>> ptp4l[252580.722]: port 1: UNCALIBRATED to SLAVE on MASTER_CLOCK_SELECTED
>> ptp4l[252580.784]: rms 1890 max 2008 freq  -3367 +/- 109 delay  7613 +/-
>>   0
>> ptp4l[252580.908]: rms 1493 max 1598 freq  -3042 +/- 107 delay  7612 +/-
>>   0
>> ptp4l[252581.034]: rms 1101 max 1185 freq  -2647 +/-  92 delay  7604 +/-
>>   5
>> ptp4l[252581.156]: port 1: SLAVE to LISTENING on
>> ANNOUNCE_RECEIPT_TIMEOUT_EXPIRES
>> ptp4l[252581.156]: selected local clock ced607.fffe.20f9e8 as best master
>> ptp4l[252581.156]: port 2: assuming the grand master role
>> ptp4l[252581.156]: port 2: master state recommended in slave only mode
>> ptp4l[252581.156]: port 2: defaultDS.priority1 probably misconfigured
>> ptp4l[252581.595]: selected local clock ced607.fffe.20f9e8 as best master
>> ptp4l[252581.595]: port 2: assuming the grand master role
>> ptp4l[252581.595]: port 2: master state recommended in slave only mode
>> ptp4l[252581.595]: port 2: defaultDS.priority1 probably misconfigured
>> ptp4l[252581.986]: selected local clock ced607.fffe.20f9e8 as best master
>> ptp4l[252581.986]: port 2: assuming the grand master role
>> ptp4l[252581.986]: port 2: master state recommended in slave only mode
>> ptp4l[252581.986]: port 2: defaultDS.priority1 probably misconfigured
>> ptp4l[252582.346]: selected best master clock 080011.fffe.21b927
>> ptp4l[252582.346]: updating UTC offset to 37
>> ptp4l[252582.346]: port 1: LISTENING to UNCALIBRATED on RS_SLAVE
>> ptp4l[252582.346]: port 2: master state recommended in slave only mode
>> ptp4l[252582.346]: port 2: defaultDS.priority1 probably misconfigured
>> ptp4l[252582.471]: rms 1820 max 2447 freq   +433 +/- 2732 delay  7574 +/-
>>  38
>> ptp4l[252582.471]: port 1: UNCALIBRATED to SLAVE on MASTER_CLOCK_SELECTED
>> ptp4l[252582.597]: rms 2137 max 2258 freq  +2983 +/- 102 delay  7590 +/-
>>   0
>> ptp4l[252582.722]: rms 1720 max 1779 freq  +2674 +/-  15 delay  7652 +/-
>>   6
>> ptp4l[252582.846]: rms 1379 max 1453 freq  +2415 +/-  58 delay  7671 +/-
>>   0
>> ptp4l[252582.890]: port 1: SLAVE to LISTENING on
>> ANNOUNCE_RECEIPT_TIMEOUT_EXPIRES
>> ptp4l[252582.890]: selected local clock ced607.fffe.20f9e8 as best master
>> ptp4l[252582.890]: port 2: assuming the grand master role
>> ptp4l[252582.890]: port 2: master state recommended in slave only mode
>> ptp4l[252582.890]: port 2: defaultDS.priority1 probably misconfigured
>> ptp4l[252583.390]: selected local clock ced607.fffe.20f9e8 as best master
>> ptp4l[252583.390]: port 2: assuming the grand master role
>> ptp4l[252583.390]: port 2: master state recommended in slave only mode
>> ptp4l[252583.390]: port 2: defaultDS.priority1 probably misconfigured
>> ptp4l[252583.869]: selected local clock ced607.fffe.20f9e8 as best master
>> ptp4l[252583.869]: port 2: assuming the grand master role
>> ptp4l[252583.869]: port 2: master state recommended in slave only mode
>> ptp4l[252583.870]: port 2: defaultDS.priority1 probably misconfigured
>> ptp4l[252584.247]: selected local clock ced607.fffe.20f9e8 as best master
>> ptp4l[252584.247]: port 2: assuming the grand master role
>> ptp4l[252584.247]: port 2: master state recommended in slave only mode
>> ptp4l[252584.247]: port 2: defaultDS.priority1 probably misconfigured
>> ptp4l[252584.346]: selected best master clock 080011.fffe.21b927
>> ptp4l[252584.346]: updating UTC offset to 37
>> ptp4l[252584.346]: port 1: LISTENING to UNCALIBRATED on RS_SLAVE
>> ptp4l[252584.346]: port 2: master state recommended in slave only mode
>> ptp4l[252584.346]: port 2: defaultDS.priority1 probably misconfigured
>> ptp4l[252584.513]: clockcheck: clock jumped backward or running slower
>> than expected!
>> ptp4l[252584.534]: rms 2538 max 2634 freq  +2357 +/-   0 delay  7678 +/-
>>   4
>> ptp4l[252584.659]: clockcheck: clock jumped forward or running faster
>> than expected!
>> ptp4l[252584.660]: rms 2829 max 2880 freq  +2357 +/-   0 delay  7676 +/-
>>   2
>> ptp4l[252584.787]: port 1: UNCALIBRATED to LISTENING on
>> ANNOUNCE_RECEIPT_TIMEOUT_EXPIRES
>> ptp4l[252584.788]: selected local clock ced607.fffe.20f9e8 as best master
>> ptp4l[252584.788]: port 2: assuming the grand master role
>> ptp4l[252584.788]: port 2: master state recommended in slave only mode
>> ptp4l[252584.788]: port 2: defaultDS.priority1 probably misconfigured
>> ptp4l[252585.213]: selected local clock ced607.fffe.20f9e8 as best master
>> ptp4l[252585.213]: port 2: assuming the grand master role
>> ptp4l[252585.213]: port 2: master state recommended in slave only mode
>> ptp4l[252585.213]: port 2: defaultDS.priority1 probably misconfigured
>>
>> > <guru> Here is the console log on Leader shell:
>>>
>>> Your log shows many tx timestamp timeouts, so that needs to be
>>> resolved first. What hardware and driver are you using?
>>> <guru> I'm not if I understand this question. Is there a command to get
>>> the driver info?
>>> --
>>> Miroslav Lichvar
>>>
>>>
_______________________________________________
Linuxptp-users mailing list
Linuxptp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-users

Reply via email to