- 16 May, 2016 18 commits
-
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Cesar Prados authored
add/modify the defconfig for adding the delay mech Signed-off-by: C.Prados <c.prados@gsi.de>
-
Cesar Prados authored
the calculation of the offset to the master clock is also moved to a function. The pid controller is moved to a function as well. Signed-off-by: C.Prados <c.prados@gsi.de>
-
Cesar Prados authored
Depending the link delay mechanism the slave executes pp_slave or pp_pclock. This is achieve making use of #ifdef during compilation, which I don't like but for the time being it's going to be like this. Signed-off-by: C.Prados <c.prados@gsi.de>
-
Cesar Prados authored
the function can be broken down into common functions that pdelay will use as well. First step, the filtering of the mean path delay. Signed-off-by: C.Prados <c.prados@gsi.de>
-
Cesar Prados authored
pclock handles/issues the PDelay messages. Signed-off-by: C.Prados <c.prados@gsi.de>
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Cesar Prados authored
Signed-off-by: C.Prados <c.prados@gsi.de>
-
Cesar Prados authored
The value of logMinPdelayReqInterval is a compromise between the fluctuation in link delay and startup time and the communication and computation load imposed by transmission of these messages. Although, I have set it to 0 so far... Signed-off-by: C.Prados <c.prados@gsi.de>
-
Cesar Prados authored
pclock is a clock involved in the calculation of the link delay using Peer Delay Mechanism. This calculation is independent of whether a clock is a master/slave. There is delay requester, pclock_req, and, and delay responder, pclock_resp. The Grandmaster clock is the only one in charge of sending Sync messages and complete the synchronization. In case of BC, one port e.g. port 1 is a pclock connected to the upstream Grandmaster Clock, and the rest of ports, downstream, Grandmaster Clocks. In a TC, all the ports are just pclocks, who calculate the link delay and forward the sync and follow up msg till the slaves. Signed-off-by: C.Prados <c.prados@gsi.de>
-
Cesar Prados authored
Signed-off-by: C.Prados <c.prados@gsi.de>
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Cesar Prados authored
In PDelay mechanism, the Master has to reply to PDelay_Req from pclocks with PDelay_respond and PDelay_follow_up. Add pack/issue functions for this messages Signed-off-by: C.Prados <c.prados@gsi.de> [WARNING: this commit was changed by Alessandro, adding a missing "pdelay_req_hdr" field in pp_instance, and exporting msg_copy_header that had been turned to static -- this must be fixed]
-
Cesar Prados authored
I will keep the t1..t4 for calculating the peer path delay and these new are used only for synchronization Signed-off-by: C.Prados <c.prados@gsi.de>
-
Cesar Prados authored
functions for set/get the mechanism. Signed-off-by: C.Prados <c.prados@gsi.de>
-
Alessandro Rubini authored
-
- 12 May, 2016 1 commit
-
-
Adam Wujek authored
Trigger start/stop of PTP from wrc_check_link job instead of from PTP's job. NOTE: This commit requires changes in wrpc. Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
- 11 May, 2016 7 commits
-
-
Adam Wujek authored
Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
wrpc uses non blocking receive function. Due to that recv returns many times 0 as the received bytes number. Count only when we get real data. Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Clear servo_state structure (with the exception of n_err_* used by SNMP) at link down. This avoid reporting last values before link down by wr_mon and SNMP. Otherwise check of servo state is needed. Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
This avoid printing message in wr_mon that tracking in servo is forcibly disabled. Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
picos_mu is already int64_t Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
- 08 Apr, 2016 14 commits
-
-
Alessandro Rubini authored
-
Davide Ciminaghi authored
Signed-off-by: Davide Ciminaghi <ciminaghi@gnudd.com>
-
Davide Ciminaghi authored
Signed-off-by: Davide Ciminaghi <ciminaghi@gnudd.com>
-
Davide Ciminaghi authored
Signed-off-by: Davide Ciminaghi <ciminaghi@gnudd.com>
-
Davide Ciminaghi authored
Signed-off-by: Davide Ciminaghi <ciminaghi@gnudd.com>
-
Davide Ciminaghi authored
Signed-off-by: Davide Ciminaghi <ciminaghi@gnudd.com>
-
Davide Ciminaghi authored
Signed-off-by: Davide Ciminaghi <ciminaghi@gnudd.com>
-
Davide Ciminaghi authored
Signed-off-by: Davide Ciminaghi <ciminaghi@gnudd.com>
-
Davide Ciminaghi authored
This will let us factorize a lot of very similar config handlers. Signed-off-by: Davide Ciminaghi <ciminaghi@gnudd.com>
-
Davide Ciminaghi authored
Signed-off-by: Davide Ciminaghi <ciminaghi@gnudd.com>
-
Davide Ciminaghi authored
priority2 can be set via the "priority2" config option. Signed-off-by: Davide Ciminaghi <ciminaghi@gnudd.com>
-
Davide Ciminaghi authored
This is equivalent to the -q cmdline option, which will be removed. Signed-off-by: Davide Ciminaghi <ciminaghi@gnudd.com>
-
Davide Ciminaghi authored
priority1 can be set via the "priority1" config option. Signed-off-by: Davide Ciminaghi <ciminaghi@gnudd.com>
-
Davide Ciminaghi authored
This is equivalent to the -p cmdline option, which will be removed. Signed-off-by: Davide Ciminaghi <ciminaghi@gnudd.com>
-