mirror of
https://github.com/xdp-project/bpf-examples.git
synced 2024-05-06 15:54:53 +00:00
traffic-pacing-edt: Make fq script respect --remove
Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com>
This commit is contained in:
@@ -28,6 +28,10 @@ VERBOSE=1
|
||||
# Delete existing root qdisc
|
||||
call_tc_allow_fail qdisc del dev "$DEV" root
|
||||
|
||||
if [[ -n $REMOVE ]]; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# MQ (Multi-Queue) as root qdisc
|
||||
tc qdisc replace dev $DEV root handle 7FFF: mq
|
||||
|
||||
|
Reference in New Issue
Block a user