yanet-platform / yanet

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

timelimit for sendPakckets autotest stage. Packet receiving rewritten. #208

Open TheRandomCharacter opened 2 weeks ago

TheRandomCharacter commented 2 weeks ago

New implementation bases on whole stage time limit (2s default equivalent of sum of waits used before) instead of hardcoded 1s header wait and 1s body wait.

Fixes logic of expecting read call on SOCK_STREAM to return whole header in one call and body on another single call.

Adds ability to override default 2s timelimit by adding a key-value pair timelimit: <unsinged int seconds> in sendPackets stage YAML.