bpf: complexity-tests: split kernel capabilities into separate file #32161
Labels
area/CI-improvement
Topic or proposal to improve the Continuous Integration workflow
good-first-issue
Good starting point for new developers, which requires minimal understanding of Cilium.
kind/complexity-issue
Relates to BPF complexity or program size issues
sig/datapath
Impacts bpf/ or low-level forwarding details, including map management and monitor messages.
Part of the BPF complexity test configuration is to spell out the capabilities of the tested kernel. For example
cilium/bpf/complexity-tests/netnext/bpf_host/1.txt
Lines 1 to 2 in 6092fca
But for a given kernel version, these capabilities are identical across all tested configurations and all programs. Thus it would be much less maintenance effort to have a single
capabilities.txt
file in each kernel directory.And then have https://github.com/cilium/cilium/blob/main/test/verifier/verifier_test.go mix the file content into the test configuration.
The text was updated successfully, but these errors were encountered: