Conversation
Signed-off-by: Denis Leshchev <dleshchev@nvidia.com>
dleshchev
force-pushed
the
feat/315-config-validator
branch
from
September 22, 2026 17:35
9109f0a to
6f73e7c
Compare
dleshchev
marked this pull request as ready for review
September 22, 2026 17:37
dleshchev
requested review from
RamyaGuru and
cliffburdick
and removed request for
cliffburdick
September 22, 2026 17:37
Contributor
|
Signed-off-by: Denis Leshchev <dleshchev@nvidia.com>
dleshchev
force-pushed
the
feat/315-config-validator
branch
from
September 22, 2026 18:31
6f73e7c to
a4ed917
Compare
dleshchev
marked this pull request as draft
September 22, 2026 18:33
Signed-off-by: Denis Leshchev <dleshchev@nvidia.com>
dleshchev
marked this pull request as ready for review
September 22, 2026 19:12
Signed-off-by: Denis Leshchev <dleshchev@nvidia.com>
Signed-off-by: Denis Leshchev <dleshchev@nvidia.com>
RamyaGuru
approved these changes
Sep 23, 2026
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add an installed, hardware-free C++ configuration validator that uses DAQIRI's production YAML parser and the same common semantic checks as
daqiri_init(). Validation does not allocate packet memory, initialize a transport engine, or touch a NIC.Related issue
Closes #315.
This is the validation foundation for #302 and #307.
Changes
daqiri_config_validate <config.yaml> [...], with exit status 0 when every file is valid, 1 when any file is invalid, and 2 for incorrect usage.DAQIRI_BUILD_EXAMPLES.daqiri_init()before socket initialization.Validation
DAQIRI_BUILD_EXAMPLES=OFF,DAQIRI_ENGINE="dpdk ibverbs", and GPU/hugepage access: passed.daqiri_config_validatepresence and execution: passed.daqiri_init_from_yaml_string()regression for a UDP queue referencing an undefined memory region: 1/1 CTest passed, with rejection before socket initialization.cpu_core: -1, malformed endpoints, missing memory regions, unknown flow queues, unknown reorder flow references, duplicate static flow IDs, per-interface DPDK flow ID0compatibility, and oversized transformed frames: passed.scripts/check_pr.sh: 9 portable tests, 7 representative checked-in configurations, 1 compatibility case, 14 expected-invalid parser/common-semantic regressions, strict MkDocs build, HTML links, and documentation-reference checks passed.clang-formatand test-sourceclang-format --dry-run --Werror: passed.git diff --check: passed.Dependencies or follow-up
PR #307 is based on this branch and supplies deterministic configuration generation plus the broader retained/generated configuration matrices. Parser and common-semantic rejection coverage remains in this foundation PR; PR #307 checks that valid generated output crosses the Python/C++ boundary successfully. This PR intentionally contains no Python generator or schema implementation.