Wednesday, June 6, 2018 1:17 AM Hi This is more of a question or a clarification if I get it right, but this ucma->renewal_tmo is general for all types of messages for a ucma. So if announce is granted, this renewal_tmo will be updated to 3/4 of the duration that was given in grant and state go to HAVE_ANN. Then if the master is not selected directly but shortly before tmo expires and a new negotiation of announce should occur, then state will go to NEED_SYDY and negotiation of SYNC and DELAY will occur. Then when one of them is granted, the state will got to HAVE_SYDY and the renewal_tmo will be updated to 3/4 of the duration in grant. Then timer expires and unicast_client_renew will be called.
Will not now.tv_sec be less than ucma->renewal_tmo and a new negotiation for ANN SYNC and DELAY not be sent? How should this logQueryInterval should be set? Should the timer expire several times during the granted negotiated period of messages? Is the granted negotiation period same for all types of messages? /Anders ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Linuxptp-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/linuxptp-devel
