Debian Codegraph @

tests/profinet_sriov/mirror.sh

raw symbols SCIP
1 #!/bin/bashscip-shell filesystem . . `/bin/bash`.
2 #
3 # Copyright (C) 2023-2025 Linutronix GmbH
4 # Author Kurt Kanzenbach <[email protected]>
5 #
6 # SPDX-License-Identifier: BSD-2-Clause
7 #
8
9 set -e
10
11 cd "$(dirnamescip-shell system . . dirname. "$0")"
12
13 # Configure flow
14 ./flow.sh
15 sleepscip-shell system . . sleep. 30
16
17 # Start PTP
18 ../../scripts/ptp.sh enp1s0f0np0
19 sleepscip-shell system . . sleep. 30
20
21 # Start four instances of mirror application
22 ../../build/mirror -c mirror_vid100.yaml >mirror1.log &
23 ../../build/mirror -c mirror_vid200.yaml >mirror2.log &
24 ../../build/mirror -c mirror_vid300.yaml >mirror3.log &
25 ../../build/mirror -c mirror_vid400.yaml >mirror4.log &
26
27 exit 0