Skip to content

bpf: source tuple hash seeds from node config#44190

Merged
julianwiedmann merged 1 commit intomainfrom
pr/vk/bpf/hash/init/cfg
Feb 6, 2026
Merged

bpf: source tuple hash seeds from node config#44190
julianwiedmann merged 1 commit intomainfrom
pr/vk/bpf/hash/init/cfg

Conversation

@viktor-kurchenko
Copy link
Copy Markdown
Contributor

Move IPv4/IPv6 hash init seeds into node config and wire them from Maglev config.
BPF tuple hashing now reads CONFIG(hash_init{4,6}_seed) instead of compile-time defines, and the legacy HASH_INIT* defines are removed from the header writer and node_config.h.

@viktor-kurchenko viktor-kurchenko added area/loader Impacts the loading of BPF programs into the kernel. area/datapath Impacts bpf/ or low-level forwarding details, including map management and monitor messages. release-note/misc This PR makes changes that have no direct user impact. labels Feb 4, 2026
@viktor-kurchenko
Copy link
Copy Markdown
Contributor Author

/test

@viktor-kurchenko viktor-kurchenko marked this pull request as ready for review February 4, 2026 16:50
@viktor-kurchenko viktor-kurchenko requested review from a team as code owners February 4, 2026 16:50
@maintainer-s-little-helper maintainer-s-little-helper bot added the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label Feb 5, 2026
Move IPv4/IPv6 hash init seeds into node config and wire them from
Maglev config. BPF tuple hashing now reads CONFIG(hash_init{4,6}_seed)
instead of compile-time defines, and the legacy HASH_INIT* defines are
removed from the header writer and node_config.h.

Signed-off-by: viktor-kurchenko <viktor.kurchenko@isovalent.com>
@viktor-kurchenko
Copy link
Copy Markdown
Contributor Author

/test

@julianwiedmann julianwiedmann added this pull request to the merge queue Feb 6, 2026
Merged via the queue into main with commit c8b5138 Feb 6, 2026
466 of 472 checks passed
@julianwiedmann julianwiedmann deleted the pr/vk/bpf/hash/init/cfg branch February 6, 2026 17:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/datapath Impacts bpf/ or low-level forwarding details, including map management and monitor messages. area/loader Impacts the loading of BPF programs into the kernel. ready-to-merge This PR has passed all tests and received consensus from code owners to merge. release-note/misc This PR makes changes that have no direct user impact.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants