Skip to content
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

Replace Flex+Bison based zone parser with simdzone #278

Merged
merged 1 commit into from
Apr 19, 2024

Conversation

k0ekk0ek
Copy link
Contributor

@k0ekk0ek k0ekk0ek commented May 9, 2023

There's still some warnings to fix and of course more tests to run. I only did very minor testing yet for NSD integration, but it's a good time to start the review as it's quite a bit (I think). This PR remove the Bison+Flex based zone parser from NSD and replaces it with simdzone.

Please note that both these changes and the current main branch of simdzone require review. This is also a good time to figure out how to best manage sub modules in the NSD repository. I now just did it commit based on the latest commit in master, we probably want to change that?

Copy link
Member

@wcawijngaards wcawijngaards left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The code looks nice! There are some small notes. The submodule was causing ci to fail, also makedist.sh needs to include submodules in the source tarball output.

ixfr.c Show resolved Hide resolved
ixfr.c Outdated Show resolved Hide resolved
ixfr.c Outdated Show resolved Hide resolved
ixfr.c Show resolved Hide resolved
zonec.c Outdated Show resolved Hide resolved
zonec.c Outdated Show resolved Hide resolved
zonec.c Outdated Show resolved Hide resolved
zonec.c Outdated Show resolved Hide resolved
zonec.c Outdated Show resolved Hide resolved
zonec.c Outdated Show resolved Hide resolved
@k0ekk0ek
Copy link
Contributor Author

k0ekk0ek commented Apr 4, 2024

Rebased on current master and fixed soa_test.tdir/soa_test.zone5 (no previous owner). Only test failing is bug137_compile_outdir.tdir which has to do with compilation, not actual functionality.

k0ekk0ek added a commit to k0ekk0ek/simdzone that referenced this pull request Apr 11, 2024
k0ekk0ek added a commit to NLnetLabs/simdzone that referenced this pull request Apr 11, 2024
zonec.c Outdated Show resolved Hide resolved
@k0ekk0ek
Copy link
Contributor Author

All checks pass. I'll rebase and squash the debug commits so the PR can be merged.

@k0ekk0ek
Copy link
Contributor Author

I've consolidated all commits. Tests are all passing, review comments have all been addressed. I think this can be merged.

@k0ekk0ek k0ekk0ek merged commit 65312f9 into NLnetLabs:master Apr 19, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants