ietf-wg-bpf / ebpf-docs

eBPF Standard Documentation
37 stars 5 forks source link

ISA: Clarify "code pointer" #76

Closed dthaler closed 2 months ago

dthaler commented 5 months ago

The "code pointer" inst.imm is actually an instruction offset to code in the BPF program, not an actual memory pointer like "data pointer" is.

A use case is the callback argument to the bpf_loop() helper function.

dthaler commented 5 months ago

Text is ok as is

dthaler commented 3 months ago

Per IETF 119 discussion:

dthaler commented 3 months ago

List discussion at: https://mailarchive.ietf.org/arch/msg/bpf/2JwWQwFdOeMGv0VTbD0CKWwAOEA/

dthaler commented 2 months ago

Proposed change posted at https://mailarchive.ietf.org/arch/msg/bpf/f3Hyx3QnAlgTMaIhr9SRMTL83zA/

dthaler commented 2 months ago

Fixed in draft-02