5 numjobs=" 1 `seq 2 2 10`"
8 if [ "$kvers" = 3.0.4-rt14-00008-gb2052fd -a "$load" = eth -a $traffic != oneatatime ]; then echo "Skipping eth test"; SKIPPED=1; return; fi
10 if [ "$kvers" = 3.4.33-rt47-00004-gc58c9ae ]; then echo "Skipping test"; SKIPPED=1; return; fi;#All frames of these tests are returned as invalid...
15 for j in `seq $((i-1))`; do
16 sshgw "if ! ip l show dev vcan$j >/dev/null 2>&1; then ip link add dev vcan$j type vcan && ip link set vcan$j up; fi"
17 sshgw cangw -A -s $lastif -d vcan$j -e -f $(printf %x:C00007FF $((j-1))) -m SET:I:$(printf %x $j).0.0000000000000000
20 sshgw cangw -A -s $lastif -d can1 -f $(printf %x:C00007FF $((i-1)))
22 latester -d can0 -d can1 -d can2 -c $COUNT -i 0 $(traffic_and_length 2) -n hops$i
26 ADDITIONAL_PLOTS=detail
29 if [[ "$1" = detail ]]; then
35 echo "set logscale xy"
38 set title "Chained GWs on multiple VCAN interfaces"
39 set grid xtics mxtics ytics mytics lw 1, lw 0.5
40 set xlabel "GW latency [ms]"
41 set ylabel "Latency profile [frames]"
42 plot [$range] [1:$COUNT] \\
46 echo_plot "\"hops$i-hist.txt\" with lp lt $lt title \"$i GW jobs, $((i-1)) vcans\""