Open pirog-spb opened 1 year ago
At the moment the only way to configure ebpf befaviour is build options. There are several cases where start time configuration is more suitable:
Investigate possibility to use rodata section to setup startup configuration parameters. See bpf_config config in https://github.com/xdp-project/bpf-examples/blob/master/pping/pping_kern.c
rodata
bpf_config config
Yet another hint https://stackoverflow.com/questions/70475993/how-to-let-user-space-to-populate-an-ebpf-global-data-at-load-time
At the moment the only way to configure ebpf befaviour is build options. There are several cases where start time configuration is more suitable:
Investigate possibility to use
rodata
section to setup startup configuration parameters. Seebpf_config config
in https://github.com/xdp-project/bpf-examples/blob/master/pping/pping_kern.c