File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
Documentation/bpf/standardization Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -469,6 +469,12 @@ JSLT 0xc any PC += offset if dst < src signed
469
469
JSLE 0xd any PC += offset if dst <= src signed
470
470
======== ===== ======= ================================= ===================================================
471
471
472
+ where 'PC' denotes the program counter, and the offset to increment by
473
+ is in units of 64-bit instructions relative to the instruction following
474
+ the jump instruction. Thus 'PC += 1' skips execution of the next
475
+ instruction if it's a basic instruction or results in undefined behavior
476
+ if the next instruction is a 128-bit wide instruction.
477
+
472
478
The BPF program needs to store the return value into register R0 before doing an
473
479
``EXIT ``.
474
480
You can’t perform that action at this time.
0 commit comments