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
1414 /* Extended instruction set based on top of classic BPF */
1515
1616 /* instruction classes */
17+#define BPF_JMP32 0x06 /* jmp mode in word width */
1718 #define BPF_ALU64 0x07 /* alu mode in double word width */
1819
1920 /* ld/ldx fields */