Hello,

I have seen that post in sourceforge:
https://sourceforge.net/p/linuxptp/mailman/message/35474590/

It is suggested there:

You need to add one line to the transmit path in the driver:

        skb_tx_timestamp(skb);

Quoting include/linux/skbuff.h:

 * skb_tx_timestamp() - Driver hook for transmit timestamping
 *
 * Ethernet MAC Drivers should call this function in their hard_xmit()
 * function immediately before giving the sk_buff to the MAC hardware.
 *
 * Specifically, one should make absolutely sure that this function is
 * called before TX completion of this packet can trigger.  Otherwise
 * the packet could potentially already be freed.

I have the same issue currently, but I could not resolve it. Where is
the timestamp
path in the driver? I tried to add that code piece to driver
installation files which
didn't work.

Test Environment: zcu102 & XG-C100F ethernet card.
_______________________________________________
Linuxptp-users mailing list
Linuxptp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-users

Reply via email to