Skip to content

bpf: wire events map rate limits through node config#44230

Merged
tklauser merged 1 commit intomainfrom
pr/vk/bpf/events/map/limit
Feb 10, 2026
Merged

bpf: wire events map rate limits through node config#44230
tklauser merged 1 commit intomainfrom
pr/vk/bpf/events/map/limit

Conversation

@viktor-kurchenko
Copy link
Copy Markdown
Contributor

Move events map rate/burst limits into node config and read them via CONFIG(events_map_{rate,burst}_limit) in BPF helpers.
This drops the compile-time EVENTS_MAP* defines from the header writer and cleans up the legacy defaults in bpf/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 6, 2026
@viktor-kurchenko viktor-kurchenko force-pushed the pr/vk/bpf/events/map/limit branch from 72a224e to b56ed55 Compare February 6, 2026 16:18
@viktor-kurchenko
Copy link
Copy Markdown
Contributor Author

/test

@viktor-kurchenko viktor-kurchenko force-pushed the pr/vk/bpf/events/map/limit branch from b56ed55 to 3e60020 Compare February 6, 2026 17:11
@viktor-kurchenko
Copy link
Copy Markdown
Contributor Author

/test

@viktor-kurchenko viktor-kurchenko marked this pull request as ready for review February 6, 2026 18:08
@viktor-kurchenko viktor-kurchenko requested review from a team as code owners February 6, 2026 18:08
@viktor-kurchenko viktor-kurchenko force-pushed the pr/vk/bpf/events/map/limit branch from 3e60020 to 8138fc0 Compare February 6, 2026 19:48
@viktor-kurchenko
Copy link
Copy Markdown
Contributor Author

/test

Move events map rate/burst limits into node config and read them via
CONFIG(events_map_{rate,burst}_limit) in BPF helpers. This drops the
compile-time EVENTS_MAP* defines from the header writer and cleans up
the legacy defaults in bpf/node_config.h.

Signed-off-by: viktor-kurchenko <viktor.kurchenko@isovalent.com>
@viktor-kurchenko viktor-kurchenko force-pushed the pr/vk/bpf/events/map/limit branch from 8138fc0 to c693829 Compare February 9, 2026 11:32
@viktor-kurchenko
Copy link
Copy Markdown
Contributor Author

/test

@tklauser tklauser enabled auto-merge February 10, 2026 09:40
@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 10, 2026
@tklauser tklauser added this pull request to the merge queue Feb 10, 2026
Merged via the queue into main with commit b4fed1d Feb 10, 2026
495 of 497 checks passed
@tklauser tklauser deleted the pr/vk/bpf/events/map/limit branch February 10, 2026 11:10
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