Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introducing random drops in the engine. #35

Open
wants to merge 10 commits into
base: main
Choose a base branch
from
Open

Introducing random drops in the engine. #35

wants to merge 10 commits into from

Conversation

sarsanaee
Copy link
Collaborator

This branch introduces some drops in the engine to simulate scenarios where we have drops and we want to see how reliable the stack is.

This will be enabled by a cmake option (DEBUG).

@sarsanaee sarsanaee changed the title Drop Introducing random drops in the engine. May 24, 2024
sarsanaee added 6 commits May 24, 2024 17:52
…unction.

The code changes add a debug mode flag in the CMakeLists.txt file to control whether the code is built in debug mode or not. The flag is set to 0 when debug mode is off. This change improves the flexibility of the build process and allows for easier debugging when needed.
…riable

* The code changes update the PmdRing class to use the machnet_testing_ member variable instead of the machnet_testing variable. This change ensures consistency and improves code readability.

* The extra function deleted and machnet_testing_ variable is used direction as public member.
@sarsanaee
Copy link
Collaborator Author

We have made some changes, for instance.

Now we are not using compile options. Instead we use env variable and we check it specifically in the code.

sarsanaee added 2 commits May 28, 2024 15:50
… is not thread safe.

* FastRand is now a variable private to each engine instance.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant