-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
dpdk: add warning in configuration phase and minor DPDK refactoring v1 #10387
Conversation
Information: ERROR: QA failed on SURI_TLPW2_autofp_suri_time.
Pipeline 18389 |
@@ -1550,7 +1578,7 @@ static void *ParseDpdkConfigAndConfigureDevice(const char *iface) | |||
if (retval < 0) { // handles both configure attempts | |||
iconf->DerefFunc(iconf); | |||
if (rte_eal_cleanup() != 0) | |||
FatalError("EAL cleanup failed: %s", strerror(-retval)); | |||
FatalError("EAL cleanup failed (err: %s)", strerror(-retval)); |
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 don't see this as an improvement. The old scheme is as clear, while being less verbose. Would rather unify on that. This also matches use of strerror(errno)
elsewhere in the code
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.
same for the rest of the PR
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.
not agreeing with the output changes
continues in #10449 |
Redmine ticket:
https://redmine.openinfosecfoundation.org/issues/6739
Describe changes: