-
Notifications
You must be signed in to change notification settings - Fork 791
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
[tuning] add ability to set tx queue len #914
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.
All I have are opinionated nits.
The code looks good, and the test coverage also looks solid.
Thank you.
"name": "test", | ||
"type": "iplink", | ||
"cniVersion": "%s", | ||
"txQLen": 20000, |
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.
nit: make make this 20000 value a const, which can be re-used throughout the test ?
It is IMO better than consistently repeating this "magic" number.
Signed-off-by: Tariq Ibrahim <tibrahim@nvidia.com>
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.
really nice, thanks!
Add support to set tx queue length to network interfaces. This is useful when we have to configure net devs of SRIOV Virtual functions in the CNI layer