-
Notifications
You must be signed in to change notification settings - Fork 32
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
Added XDP tx recipe #384
Added XDP tx recipe #384
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just a minor commit refactoring comment, otherwise looks ok
Final round of tests, if they pass, we can merge. |
The format of xdp-bench tx is a bit different. The error column also includes dropped packets: ``` Summary X rx/s Y err,drop/s ``` The drop mode drops the packets, so drops are not considered as errors: ``` Summary X rx/s Y err/s ```
All the params that are passed to `xdp-bench` tool needs to be able to use them within LNST. `XDPBench._prepare_arguments` ignores empty parameters set to empty string. Thats because not all of the params are applicable to all XDP bench modes but we still need a way of providing them to XDPBench so these are passed to XDPBench but set to empty str. More elegant way would be splitting `XDPBench` into multiple test modules based on mode it runs...
Rebased, and final final final round of tests in |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks ok, merging.
Description
XDPBench
test tool to measurementThe test measures how fast the CPU can read an incoming packet, swap MACs and send it back using the same NIC. It's basically hairpinning
Tests
Functional test ox xdp drop + xdp tx recipes in
J:10038813