Debian Codegraph @

tests/multi_middleware/i226/xdp/ref.sh

raw symbols SCIP
1 #!/bin/bash
2 #
3 # Copyright (C) 2022-2024 Linutronix GmbH
4 # Author Kurt Kanzenbach <[email protected]>
5 #
6 # SPDX-License-Identifier: BSD-2-Clause
7 #
8
9 set -e
10
11 cd "$(dirname "$0")"
12
13 # Start PTP
14 ../../../../scripts/ptp.sh enp3s0
15 sleep 30
16
17 # Configure flow
18 ./flow.sh enp3s0
19 sleep 30
20
21 # Start four instances of reference applications
22 cp ../../../../build/xdp_kern_*.o .
23 ../../../../build/reference -c reference_vid100.yaml >ref1.log &
24 sleep 1
25 ../../../../build/reference -c reference_opcua_vid200.yaml >ref2.log &
26 sleep 1
27 ../../../../build/reference -c reference_opcua_vid300.yaml >ref3.log &
28 sleep 1
29 ../../../../build/reference -c reference_avtp_vid400.yaml >ref4.log &
30
31 exit 0