11.. contents ::
22.. sectnum ::
33
4- ========================================
5- eBPF Instruction Set Specification, v1.0
6- ========================================
4+ =======================================
5+ BPF Instruction Set Specification, v1.0
6+ =======================================
77
8- This document specifies version 1.0 of the eBPF instruction set.
8+ This document specifies version 1.0 of the BPF instruction set.
99
1010Documentation conventions
1111=========================
@@ -100,7 +100,7 @@ Definitions
100100Instruction encoding
101101====================
102102
103- eBPF has two instruction encodings:
103+ BPF has two instruction encodings:
104104
105105* the basic instruction encoding, which uses 64 bits to encode an instruction
106106* the wide instruction encoding, which appends a second 64-bit immediate (i.e.,
@@ -244,7 +244,7 @@ BPF_END 0xd0 0 byte swap operations (see `Byte swap instructions`_ b
244244========= ===== ======= ==========================================================
245245
246246Underflow and overflow are allowed during arithmetic operations, meaning
247- the 64-bit or 32-bit value will wrap. If eBPF program execution would
247+ the 64-bit or 32-bit value will wrap. If BPF program execution would
248248result in division by zero, the destination register is instead set to zero.
249249If execution would result in modulo by zero, for ``BPF_ALU64 `` the value of
250250the destination register is unchanged whereas for ``BPF_ALU `` the upper
@@ -366,7 +366,7 @@ BPF_JSLT 0xc any PC += offset if dst < src signed
366366BPF_JSLE 0xd any PC += offset if dst <= src signed
367367======== ===== === =========================================== =========================================
368368
369- The eBPF program needs to store the return value into register R0 before doing a
369+ The BPF program needs to store the return value into register R0 before doing a
370370``BPF_EXIT ``.
371371
372372Example:
@@ -486,9 +486,9 @@ Atomic operations
486486
487487Atomic operations are operations that operate on memory and can not be
488488interrupted or corrupted by other access to the same memory region
489- by other eBPF programs or means outside of this specification.
489+ by other BPF programs or means outside of this specification.
490490
491- All atomic operations supported by eBPF are encoded as store operations
491+ All atomic operations supported by BPF are encoded as store operations
492492that use the ``BPF_ATOMIC `` mode modifier as follows:
493493
494494* ``BPF_ATOMIC | BPF_W | BPF_STX `` for 32-bit operations
@@ -578,7 +578,7 @@ where
578578Maps
579579~~~~
580580
581- Maps are shared memory regions accessible by eBPF programs on some platforms.
581+ Maps are shared memory regions accessible by BPF programs on some platforms.
582582A map can have various semantics as defined in a separate document, and may or
583583may not have a single contiguous memory region, but the 'map_val(map)' is
584584currently only defined for maps that do have a single contiguous memory region.
@@ -600,6 +600,6 @@ identified by the given id.
600600Legacy BPF Packet access instructions
601601-------------------------------------
602602
603- eBPF previously introduced special instructions for access to packet data that were
603+ BPF previously introduced special instructions for access to packet data that were
604604carried over from classic BPF. However, these instructions are
605605deprecated and should no longer be used.
0 commit comments