qosmngr: flush flows

After every QoS config, it is required that flows are flushed. Instead
of doing this as an extrenal step, its good to integrate this in the
qosmngr itself so that each config is atomically competent enough to
take effect with any further steps needed manually.
This commit is contained in:
Rahul 2020-08-31 15:40:55 +05:30
parent 89fe5115f0
commit 847b27c879

View file

@ -466,6 +466,11 @@ configure_classify() {
sh /tmp/qos/classify.ebtables
sh /tmp/qos/classify.iptables
sh /tmp/qos/classify.ip6tables
# broadcom recommends that each time traffic class is set,
# the flows should be flushed for the new mapping to take
# effect, it then makes sense to make it a part of the
# qosmngr package itself.
fcctl flush
}
configure_queue() {