Commit 8f668472 authored by Adam Wujek's avatar Adam Wujek

[BUG: #51] proto-ext-l1sync/l1e-hooks: include bitslide into ingressLatency

With this bug if bitslide!=0, there is PPS missalignment. In practice
could happen only for non-LPDC ports.
Signed-off-by: 's avatarAdam Wujek <dev_public@wujek.eu>
parent 836d1525
......@@ -223,7 +223,8 @@ static int l1e_get_tmo_lstate_detection(struct pp_instance *ppi) {
}
static TimeInterval l1e_get_ingress_latency (struct pp_instance *ppi) {
return ppi->timestampCorrectionPortDS.ingressLatency;
return ppi->timestampCorrectionPortDS.ingressLatency
+ ppi->timestampCorrectionPortDS.semistaticLatency;
}
static TimeInterval l1e_get_egress_latency (struct pp_instance *ppi) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment