16 lines · 393 B · Shell
RawDownload
#!/bin/bash TC="$1"; shiftETH="$1"; shift # The taprio architecture changes the admin schedule from a hrtimer and not# from process context, so we need to wait in order to make sure that any# schedule change actually took place.while :; do	has_admin="$($TC -j qdisc show dev $ETH root | jq '.[].options | has("admin")')"	if [ "$has_admin" = "false" ]; then		break;	fi 	sleep 1done

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t