summaryrefslogtreecommitdiff
path: root/src/op_mode/vrf.py
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2024-01-20 15:01:57 +0000
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2024-01-21 12:23:17 +0000
commit7f277e0e93cac0678ef101f0c36d1a916ec778b0 (patch)
treec988df4a39e18d97c3322d5a7de981d07fa142a5 /src/op_mode/vrf.py
parent36d0196a9554fb36fafc541510ca057849c25fd7 (diff)
downloadvyos-1x-7f277e0e93cac0678ef101f0c36d1a916ec778b0.tar.gz
vyos-1x-7f277e0e93cac0678ef101f0c36d1a916ec778b0.zip
T5961: Fix QoS policy shaper class match vif
If we have QoS policy shaper class match `vif` (VLAN) we have to use `basic match "meta(vlan mask 0xfff eq xxx)` instead of `action policy` Actual incorrect TC filter: tc filter add dev eth1 parent 1: protocol all prio 1 action police rate 100000000 burst 15k flowid 1:64 The correct TC filter after fix: tc filter add dev eth1 parent 1: protocol all prio 1 basic match "meta(vlan mask 0xfff eq 100)" flowid 1:64 (cherry picked from commit bb532f7f65930f8bc42e3bf3ebbcc690bffcfd0a)
Diffstat (limited to 'src/op_mode/vrf.py')
0 files changed, 0 insertions, 0 deletions