Commit b93899fa authored by Jean-Claude BAU's avatar Jean-Claude BAU Committed by Adam Wujek

Fix config issue for ingress/outgress latencies for WR profile

When the WR profile is used ingressLatency and egressLacenty a set to 0
by default. This has to be done to avoid to use twice this values in the
delay calculation (ppsi + hal)
parent c65c11f0
......@@ -465,6 +465,8 @@ for i_port in {01..18}; do # scan all the physical ports
p_prof=${!v}
if [ "${p_prof}" == "wr" ]; then
eval ${v}="whiterabbit"
t="$inst_vn[tx]"; eval ${t}="0"
t="$inst_vn[rx]"; eval ${t}="0"
elif [ "${p_prof}" == "ha" ]; then
eval ${v}="highaccuracy"
elif [ "${p_prof}" == "none" ] || [ "${p_prof}" == "ptp" ]; then
......
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