Currently working at creating wrappers around ebpf instructions to make the creation of ebpf programs friendlier. Once this work is landed, we would invoke a helper function (e.g map_lookup_element) like this:
While doing this I noticed we could also create wrappers around ebpf helper functions, that would set up the registers in the right state, so the above example would turn into:
bpf_map_lookup_elemen(ptr_to_map, key)
Landing this work would be dependent on the refactoring that I am working on right now, so opening this issue for tracking purposes.
Currently working at creating wrappers around ebpf instructions to make the creation of ebpf programs friendlier. Once this work is landed, we would invoke a helper function (e.g map_lookup_element) like this:
While doing this I noticed we could also create wrappers around ebpf helper functions, that would set up the registers in the right state, so the above example would turn into:
Landing this work would be dependent on the refactoring that I am working on right now, so opening this issue for tracking purposes.