Lines Matching +full:master +full:- +full:stats
2 # SPDX-License-Identifier: GPL-2.0
3 # Copyright 2021-2022 NXP
48 # Per-Stream Filtering and Policing filters
76 local stats=""
78 stats=$(tc -j -s filter show dev ${swp1} ingress chain $(PSFP) pref 1)
79 packets=$(echo ${stats} | jq ".[1].options.actions[].stats.packets")
80 drops=$(echo ${stats} | jq ".[1].options.actions[].stats.drops")
118 ip link set ${swp1} master br0
119 ip link set ${swp2} master br0
127 ${h2_mac_addr} vlan ${STREAM_VID} static master
134 action gate base-time 0.000000000 \
135 sched-entry OPEN ${GATE_DURATION_NS} -1 -1 \
136 sched-entry CLOSE ${GATE_DURATION_NS} -1 -1
159 # Set up TC 6 for SO_TXTIME. tc-mqprio queues count from 1.
182 # Set up swp1 as a master PHC for h1, synchronized to the local
223 --input-file "${isochron_dat}" \
224 --printf-format "%u RX hw %T\n" \
225 --printf-args "qR" | \
231 --input-file "${isochron_dat}" \
232 --start ${seqid} --stop ${seqid} \
233 --printf-format "seqid %u scheduled for %T, HW TX timestamp %T\n" \
234 --printf-args "qST"
245 --input-file "${isochron_dat}" \
246 --printf-format "seqid %u scheduled for %T, HW TX timestamp %T, HW RX timestamp %T\n" \
247 --printf-args "qSTR" |
248 grep -v 'HW RX timestamp 0.000000000'
275 # Count all received packets by looking at the non-zero RX timestamps
277 --input-file "${isochron_dat}" \
278 --printf-format "%u\n" --printf-args "R" | \
279 grep -w -v '0' | wc -l)
299 # Send packets in-band with the OPEN gate entry
308 # Send packets in-band with the CLOSE gate entry