Skip to content

Commit 7d35eb1

Browse files
Byte-Labborkmann
authored andcommitted
bpf, docs: s/eBPF/BPF in standards documents
There isn't really anything other than just "BPF" at this point, so referring to it as "eBPF" in our standards document just causes unnecessary confusion. Let's just be consistent and use "BPF". Suggested-by: Will Hawkins <[email protected]> Signed-off-by: David Vernet <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
1 parent deb8840 commit 7d35eb1

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

Documentation/bpf/standardization/instruction-set.rst

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
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

1010
Documentation conventions
1111
=========================
@@ -100,7 +100,7 @@ Definitions
100100
Instruction 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

246246
Underflow 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
248248
result in division by zero, the destination register is instead set to zero.
249249
If execution would result in modulo by zero, for ``BPF_ALU64`` the value of
250250
the destination register is unchanged whereas for ``BPF_ALU`` the upper
@@ -366,7 +366,7 @@ BPF_JSLT 0xc any PC += offset if dst < src signed
366366
BPF_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

372372
Example:
@@ -486,9 +486,9 @@ Atomic operations
486486

487487
Atomic operations are operations that operate on memory and can not be
488488
interrupted 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
492492
that 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
578578
Maps
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.
582582
A map can have various semantics as defined in a separate document, and may or
583583
may not have a single contiguous memory region, but the 'map_val(map)' is
584584
currently only defined for maps that do have a single contiguous memory region.
@@ -600,6 +600,6 @@ identified by the given id.
600600
Legacy 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
604604
carried over from classic BPF. However, these instructions are
605605
deprecated and should no longer be used.

0 commit comments

Comments
 (0)