-
Notifications
You must be signed in to change notification settings - Fork 391
T7897: VPP: fix rx-mode interrupt for XDP driver with workers #4781
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
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.
Sorry, mis-click.
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.
I'm a bit confused by this PR. It has four distinct parts:
- A fix for a typo in the flag name,
s/no_systcall_lock/no_syscall_log/
— no objections here. - A fix for the internal flag name for
xdp-options, s/no-syscall-lock/zero-copy/
— probably also fine. - A complete removal of
ixgbevf
from the list of drivers that support the interrupt mode — probably fine, if it doesn't. - A removal of the
no-syscall-lock
option from the CLI.
I don't understand the point #4 — if there's no option anymore, where would the no_syscall_lock
flag be coming from? Also, a while ago we agreed that VPP is no longer experimental and config syntax changes now require migration scripts, if they are necessary.
We decided to remove this option from the CLI because it must be used with interrupt/adaptive mode with vpp workers (if it doesn't vpp fails to start). If this conditions are met we set this flag automatically. In other cases it is not needed I'll add a migration script for this option |
de35d87
to
c00a337
Compare
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.
Remove no-syscall-lock
for config
Use this flag internally
Remove no-syscall-lock from CLI and enable this option if interrupt/adaptive mode is enabled and workers are configured. Also forbid interrupt mode for ixgbevf driver
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.
The code looks logical to me. I have not tested it.
CI integration ❌ failed! Details
|
Remove no-syscall-lock from CLI and enable this option if workers are configured.
Also forbid interrupt mode for ixgbevf driver
Change summary
Types of changes
Related Task(s)
Related PR(s)
vyos/vyos-documentation#1691
How to test / Smoketest result
Checklist: