Debian Codegraph @

tests/multi_middleware/stmmac/xdp/ref.sh

raw symbols SCIP
1 #!/bin/bash
2 #
3 # Copyright (C) 2022 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 enp0s29f2
15 sleep 10
16
17 # Configure flow
18 ./flow_ehl.sh enp0s29f2
19 sleep 10
20
21 # Start four instances of reference applications
22 cp ../../../../build/xdp_kern_*.o .
23 ../../../../build/reference -c reference_vid100_ehl.yaml >ref1.log &
24 sleep 1
25 ../../../../build/reference -c reference_opcua_vid200_ehl.yaml >ref2.log &
26 sleep 1
27 ../../../../build/reference -c reference_opcua_vid300_ehl.yaml >ref3.log &
28 sleep 1
29 ../../../../build/reference -c reference_avtp_vid400_ehl.yaml >ref4.log &
30
31 exit 0