yanet-platform / yanet

A high performance framework for forwarding traffic based on DPDK
Other
165 stars 17 forks source link

Slow worker packet priorities #141

Open TheRandomCharacter opened 3 months ago

TheRandomCharacter commented 3 months ago

Looks like https://github.com/yanet-platform/yanet/blob/f0985421302d11d4004666189e6f7da164f06353/dataplane/controlplane.cpp#L1687-L1718 is intended to process different priority packets with ratio 16:4:1

This https://github.com/yanet-platform/yanet/blob/f0985421302d11d4004666189e6f7da164f06353/dataplane/controlplane.cpp#L1709-L1712 reduces high:low priority ratio from 16:1 to 4:1 when normal priority traffic is absent