xiaoxiang781216 commented on code in PR #3791:
URL: https://github.com/apache/nuttx-apps/pull/3791#discussion_r4078981401


##########
netutils/ptpd/ptpd.c:
##########
@@ -116,6 +122,13 @@ struct ptp_state_s
 
   int tx_socket;
 
+  /* Hardware TX timestamp retrieval: consecutive failures, and whether it
+   * was given up on because the driver does not provide the timestamps.
+   */
+
+  unsigned int hwts_tx_failures;

Review Comment:
   another option is controlled hw/sw timestamp through command line option, 
which is better since:
   
   1. avoid the first several failure
   2. support the multiple NIC with the different capability in one device



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to