bpf, nat46x64: move RFC6052 prefix into node config#43799
Merged
Conversation
33 tasks
Contributor
Author
|
/test |
b73ca7b to
1158395
Compare
Contributor
Author
|
/ci-verifier |
1158395 to
c8d00e7
Compare
Contributor
Author
|
/ci-verifier |
Contributor
Author
|
/test |
c8d00e7 to
b18f80b
Compare
Contributor
Author
|
/test |
jrife
previously requested changes
Jan 22, 2026
ti-mo
requested changes
Jan 28, 2026
Contributor
ti-mo
left a comment
There was a problem hiding this comment.
As Jordan pointed out, let's use v4addr for this fields, that's what they're for! 😉 I'm working on making dpgen output Go types for C structs as well, but it's not quite ready.
c4269ee to
10c62de
Compare
Contributor
Author
|
/test |
ti-mo
approved these changes
Feb 5, 2026
ti-mo
approved these changes
Feb 5, 2026
Contributor
|
@viktor-kurchenko Sorry, looks like this needs a rebase. |
10c62de to
e571c29
Compare
Contributor
Author
|
/test |
rgo3
approved these changes
Feb 5, 2026
e571c29 to
4645155
Compare
Contributor
Author
|
Rebased to resolve conflicts. |
Contributor
Author
|
/test |
borkmann
approved these changes
Feb 9, 2026
This commit moves NAT 46x64 RFC6052 prefix bytes into the node configuration so BPF programs consume CONFIG(nat_46x64_prefix) value instead of C header defines. The Go datapath now populates this field from the NAT46x64 config, and the headerfile writer no longer emits NAT_46X64_PREFIX_ defines. Updates included: - BPF nat_46x64 helpers switched to CONFIG(nat_46x64_prefix). - Node config population moved to runtime config and legacy defines dropped. Signed-off-by: viktor-kurchenko <viktor.kurchenko@isovalent.com>
4645155 to
91b6515
Compare
Contributor
Author
|
Rebased to resolve conflicts. |
Contributor
Author
|
/test |
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.
This commit moves NAT 46x64 RFC6052 prefix bytes into the node configuration so BPF programs consume CONFIG(nat_46x64_prefix) values instead of C header defines.
The Go datapath now populates these fields from the NAT46x64 config, and the headerfile writer no longer emits NAT_46X64_PREFIX_ defines.
Updates included: