I just want to give a feedback on this discussion, since I now have a ONESTEP_SYNC capable network card from microchip: EVB-7430 [1] I am using an Ubuntu 18.04.2 with an 4.19.26-041926-generic kernel (the stock 4.18 won't work since the drivers are too old) and the stock ptp4l v1.8.

Everything seems to work with one-step-sync enabled!

Just for reference, the output of "ethtool -T enp1s0"
Time stamping parameters for enp1s0:
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: 1
Hardware Transmit Timestamp Modes:
    off                   (HWTSTAMP_TX_OFF)
    on                    (HWTSTAMP_TX_ON)
    one-step-sync         (HWTSTAMP_TX_ONESTEP_SYNC)
Hardware Receive Filter Modes:
    none                  (HWTSTAMP_FILTER_NONE)
    all                   (HWTSTAMP_FILTER_ALL)

Greetings,
Timo

[1] https://www.microchip.com/developmenttools/ProductDetails/PartNO/EVB-LAN7430

On 15.01.19 19:53, Keller, Jacob E wrote:
-----Original Message-----
From: Timo Korthals [mailto:tkorth...@cit-ec.uni-bielefeld.de]
Sent: Tuesday, January 15, 2019 12:21 AM
To: linuxptp-users@lists.sourceforge.net
Subject: Re: [Linuxptp-users] How to properly use twoStepFlag=0

To my knowledge there is no off-the-shelf one-step card on the market.

Sorry,
Richard
Yep, that's as much as I know currently as well.

Thanks,
Jake

Yea, I read the datasheet section, and it appears that the 1-step insertion 
doesn't
update the UDP checksum, so it would definitely not work for the normal UDP 
frame
PTP, (as checksums will be invalid).
But isn't this only important for layer 3 PTP (aka ptp4l -4 and ptp4l -6)?
Layer 2 PTP (aka ptp4l -2) should work in that case, right?

Yes, that would only impact layer 3 PTP.

However, no working driver has been made to show that it does work, and there's 
no way for the kernel to indicate that Tx timestamps only work on L2. (As the 
filtering options are Rx only).

Thanks,
Jake

Thanks,
Jake
Greetings,
Timo

_______________________________________________
Linuxptp-users mailing list
Linuxptp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-users
--

Timo Korthals, M.Sc.
Universität Bielefeld
AG Kognitronik & Sensorik
Exzellenzcluster Cognitive Interaction Technology (CITEC)
Inspiration 1 (Zehlendorfer Damm 201)
33619 Bielefeld - Germany

Office  : 3.413
Phone   : +49 521 106-67367
eMail   : tkorth...@cit-ec.uni-bielefeld.de
Internet: http://www.ks.cit-ec.uni-bielefeld.de/

--

Timo Korthals, M.Sc.
Universität Bielefeld
AG Kognitronik & Sensorik
Exzellenzcluster Cognitive Interaction Technology (CITEC)
Inspiration 1 (Zehlendorfer Damm 201)
33619 Bielefeld - Germany

Office  : 3.413
Phone   : +49 521 106-67367
eMail   : tkorth...@cit-ec.uni-bielefeld.de
Internet: http://www.ks.cit-ec.uni-bielefeld.de/


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
Linuxptp-users mailing list
Linuxptp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-users

Reply via email to