Skip to content

ebpf: Choose best loop for d_path in kernel#4671

Draft
tpapagian wants to merge 1 commit intomainfrom
pr/apapag/better_d_path
Draft

ebpf: Choose best loop for d_path in kernel#4671
tpapagian wants to merge 1 commit intomainfrom
pr/apapag/better_d_path

Conversation

@tpapagian
Copy link
Copy Markdown
Member

Currently, in d_path_local, we choose the best way to do the loop based on __V61_BPF_PROG define.

This patch changes that to use __V511_BPF_PROG and for all kernels >= 5.11 we can have a single program that can automatically choose the best loop method by using CORE. This will simplify things in the future.

@tpapagian tpapagian added release-note/misc This PR makes changes that have no direct user impact. and removed release-note/misc This PR makes changes that have no direct user impact. labels Feb 19, 2026
Currently, in d_path_local, we choose the best way to do the loop based
on __V61_BPF_PROG define.

This patch changes that to use __V511_BPF_PROG and for all kernels
>= 5.11 we can have a single program that can automatically choose the
best loop method by using CORE. This will simplify things in the
future.

Signed-off-by: Anastasios Papagiannis <anastasios.papagiannis@isovalent.com>
@tpapagian tpapagian force-pushed the pr/apapag/better_d_path branch from 88765f0 to b32a2d9 Compare March 5, 2026 12:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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.

1 participant