History

bpf: allocate 0x06 to new eBPF instruction class JMP32

The new eBPF instruction class JMP32 uses the reserved class number 0x6. Kernel BPF ISA documentation updated accordingly.

Jiong Wang committed 7 years ago

Commit d405c741 parent dbbd79a3 files · +10 −7Browse files

Showing the changes to include/uapi/linux (1 of 3 files). Show all

Unified · Split

include/uapi/linux/bpf.h+1−0
@@ -14,6 +14,7 @@ · 13 unmodified lines
14/* Extended instruction set based on top of classic BPF */14/* Extended instruction set based on top of classic BPF */
15 15
16/* instruction classes */16/* instruction classes */
17#define BPF_JMP32 0x06 /* jmp mode in word width */
17#define BPF_ALU64 0x07 /* alu mode in double word width */18#define BPF_ALU64 0x07 /* alu mode in double word width */
18 19
19/* ld/ldx fields */20/* ld/ldx fields */