diff options
author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2024-01-20 15:01:57 +0000 |
---|---|---|
committer | Viacheslav Hletenko <v.gletenko@vyos.io> | 2024-01-20 15:01:57 +0000 |
commit | bb532f7f65930f8bc42e3bf3ebbcc690bffcfd0a (patch) | |
tree | 50d74ff6fdcf33b136f8ca84e4909d079a5d8787 /src/etc | |
parent | bc5e9e58225dc8a4213d5c9a368c76aa903a520f (diff) | |
download | vyos-1x-bb532f7f65930f8bc42e3bf3ebbcc690bffcfd0a.tar.gz vyos-1x-bb532f7f65930f8bc42e3bf3ebbcc690bffcfd0a.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
Diffstat (limited to 'src/etc')
0 files changed, 0 insertions, 0 deletions