port: Support slave event monitoring of delay timing data.
After a successful message exchange, the delay measurement values are processed by the port code. This patch makes the values available to a monitor by calling the appropriate method. Signed-off-by: Richard Cochran <richardcochran@gmail.com>master
parent
4466d7b8ab
commit
271a6d53f6
3
port.c
3
port.c
|
@ -1952,6 +1952,9 @@ void process_delay_resp(struct port *p, struct ptp_message *m)
|
||||||
t4 = timestamp_to_tmv(m->ts.pdu);
|
t4 = timestamp_to_tmv(m->ts.pdu);
|
||||||
t4c = tmv_sub(t4, c3);
|
t4c = tmv_sub(t4, c3);
|
||||||
|
|
||||||
|
monitor_delay(p->slave_event_monitor, clock_parent_identity(p->clock),
|
||||||
|
m->header.sequenceId, t3, c3, t4);
|
||||||
|
|
||||||
clock_path_delay(p->clock, t3, t4c);
|
clock_path_delay(p->clock, t3, t4c);
|
||||||
|
|
||||||
TAILQ_REMOVE(&p->delay_req, req, list);
|
TAILQ_REMOVE(&p->delay_req, req, list);
|
||||||
|
|
Loading…
Reference in New Issue