Skip to content

bpf, datapath: switch identity mark option to runtime config#44905

Merged
tklauser merged 2 commits intomainfrom
pr/tklauser/runtime-config-identity-mark
Mar 23, 2026
Merged

bpf, datapath: switch identity mark option to runtime config#44905
tklauser merged 2 commits intomainfrom
pr/tklauser/runtime-config-identity-mark

Conversation

@tklauser
Copy link
Copy Markdown
Member

@tklauser tklauser commented Mar 20, 2026

Convert ENABLE_IDENTITY_MARK to a runtime config variable.

Also clean up some duplicate complexity-tests as a result, see 2nd commit.

@tklauser tklauser requested a review from a team as a code owner March 20, 2026 09:46
@tklauser tklauser added the area/datapath Impacts bpf/ or low-level forwarding details, including map management and monitor messages. label Mar 20, 2026
@tklauser tklauser requested a review from a team as a code owner March 20, 2026 09:46
@tklauser tklauser added the release-note/misc This PR makes changes that have no direct user impact. label Mar 20, 2026
@tklauser tklauser requested a review from a team as a code owner March 20, 2026 09:46
@tklauser tklauser requested review from jrife and rgo3 March 20, 2026 09:46
@tklauser
Copy link
Copy Markdown
Member Author

/test

@tklauser tklauser enabled auto-merge March 20, 2026 09:46
@tklauser tklauser force-pushed the pr/tklauser/runtime-config-identity-mark branch from 5938451 to f64a003 Compare March 20, 2026 10:15
Copy link
Copy Markdown
Member

@julianwiedmann julianwiedmann left a comment

Choose a reason for hiding this comment

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

Thank you! Some minor notes while browsing through.

Big :kudos: for spotting the duplicated complexity tests, very cool that we start to see the benefits there.

Convert ENABLE_IDENTITY_MARK to a runtime config variable.

Signed-off-by: Tobias Klauser <tobias@cilium.io>
With recent conversions to runtime options, some of the complexity-test
configurations became duplicates within the same version and same BPF
program:

  61

  - bpf/complexity-tests/61/bpf_host/1.txt and bpf/complexity-tests/61/bpf_host/7.txt
  - bpf/complexity-tests/61/bpf_lxc/1.txt and bpf/complexity-tests/61/bpf_lxc/7.txt
  - bpf/complexity-tests/61/bpf_overlay/1.txt and bpf/complexity-tests/61/bpf_overlay/3.txt

  510

  - bpf/complexity-tests/510/bpf_host/1.txt and bpf/complexity-tests/510/bpf_host/7.txt
  - bpf/complexity-tests/510/bpf_lxc/1.txt and bpf/complexity-tests/510/bpf_lxc/7.txt
  - bpf/complexity-tests/510/bpf_overlay/1.txt and bpf/complexity-tests/510/bpf_overlay/3.txt

  netnext

  - bpf/complexity-tests/netnext/bpf_host/1.txt and bpf/complexity-tests/netnext/bpf_host/8.txt
  - bpf/complexity-tests/netnext/bpf_lxc/1.txt and bpf/complexity-tests/netnext/bpf_lxc/7.txt
  - bpf/complexity-tests/netnext/bpf_overlay/1.txt and bpf/complexity-tests/netnext/bpf_overlay/3.txt

Remove the ones with the higher number and rename files so the numbering
remains consecutive.

Signed-off-by: Tobias Klauser <tobias@cilium.io>
@tklauser tklauser force-pushed the pr/tklauser/runtime-config-identity-mark branch from f64a003 to 8f1c6d1 Compare March 20, 2026 12:32
@tklauser tklauser requested a review from julianwiedmann March 20, 2026 12:56
@tklauser
Copy link
Copy Markdown
Member Author

/test

@tklauser tklauser added this pull request to the merge queue Mar 23, 2026
Merged via the queue into main with commit 06d6f2e Mar 23, 2026
510 of 517 checks passed
@tklauser tklauser deleted the pr/tklauser/runtime-config-identity-mark branch March 23, 2026 14:00
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. 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