ietf-wg-bpf / ebpf-docs

eBPF Standard Documentation
37 stars 5 forks source link

ISA: "BPF ADD" should be "BPF_ADD" #92

Closed dthaler closed 4 months ago

dthaler commented 4 months ago
``| BPF_ATOMIC | BPF_W  | BPF_STX |`` with 'imm' = BPF_ADD means::

  *(u32 *)(dst + offset) += src

``| BPF_ATOMIC | BPF_DW | BPF_STX |`` with 'imm' = BPF ADD means::

  *(u64 *)(dst + offset) += src

The "BPF ADD" should be BPF_ADD as in the first line.

dthaler commented 4 months ago

Patch posted at https://mailarchive.ietf.org/arch/msg/bpf/y3aNV8BEIY-RD0_4fn1R7h-mKho/

dthaler commented 4 months ago

Fixed in PR #99

dthaler commented 4 months ago

Fixed in draft -01