TheRandomCharacter

Results 17 issues of TheRandomCharacter

Adds parsing of control plane workers configuration from config file. Expected config file section is: ```json "controlPlaneWorkers": [ { "core" : 42, "interfaces": [ ] } ] ``` In case...

Right now it is possible to use logical port id is in instead of dpdk port id, this is error prone. It would be nice to define define distinct types...

As it is KNI related functions and data is tangled into controlplane worker class. In preparation for #85 It would be benefitial to encapsulate this workload into a specialized class,...

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

This has unfortunate side effect of spaming log with allocations report. In cases when controlplane is unable to configure dataplane due to dataplane initialization error, this may lead to overwriting...

We happened to catch a state when host was misconfigured, dataplane failed to init any interfaces, but continued running. In this circumstances systemd controlplane service keeps crashing trying to configure...

https://github.com/yanet-platform/yanet/blob/87748d7bf95f44ba21725197b0ef18e196310741/dataplane/fragmentation.cpp#L161-L164 It would be better to reuse same vector, instead of constructing and growing it every `handle()` call