Open Alan-Jowett opened 1 year ago
Proposal is to simplify this and use array map and have this as a fixed known fd.
Fixed known fd doesn't work as there is no control over what fd are passed to the test.
Best option is to provide option pass an ELF file to the BPF runtime.
@Alan-Jowett PR #80 added an option to pass an ELF file to the plugin instead of an array of BPF byte code. Is that sufficient to close this issue or is there more remaining?
The test suite needs to parse map info from the test and add a .btf section to the ELF file with a description of the map.
Some of the BPF lddw instructions modes require maps to operate on.
To test this, the bpf_conformance_runner needs to parse out map information and pass it to the BPF runner.