From b93899fa0213ee693c8d57739fa93c162bc581d5 Mon Sep 17 00:00:00 2001 From: baujc <jean-claude.bau@cern.ch> Date: Wed, 10 Oct 2018 17:10:42 +0200 Subject: [PATCH] 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) --- userspace/rootfs_override/wr/bin/assembly_ppsi_conf.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/userspace/rootfs_override/wr/bin/assembly_ppsi_conf.sh b/userspace/rootfs_override/wr/bin/assembly_ppsi_conf.sh index ddf1220ef..62862be05 100755 --- a/userspace/rootfs_override/wr/bin/assembly_ppsi_conf.sh +++ b/userspace/rootfs_override/wr/bin/assembly_ppsi_conf.sh @@ -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 -- GitLab