bpf, docs: Fix the description of 'src' in ALU instructions
authorPuranjay Mohan <puranjay@kernel.org>
Tue, 14 May 2024 13:03:03 +0000 (13:03 +0000)
committerAlexei Starovoitov <ast@kernel.org>
Wed, 15 May 2024 16:34:54 +0000 (09:34 -0700)
commit7a8030057f6791d35dd20987f9ff15855c01c1bb
treed569ed0747d2deac7a968b415e902b747b7b5f31
parent1de27bba6d50a909647f304eadc0f7c59a842a50
bpf, docs: Fix the description of 'src' in ALU instructions

An ALU instruction's source operand can be the value in the source
register or the 32-bit immediate value encoded in the instruction. This
is controlled by the 's' bit of the 'opcode'.

The current description explicitly uses the phrase 'value of the source
register' when defining the meaning of 'src'.

Change the description to use 'source operand' in place of 'value of the
source register'.

Signed-off-by: Puranjay Mohan <puranjay@kernel.org>
Acked-by: Dave Thaler <dthaler1968@gmail.com>
Link: https://lore.kernel.org/r/20240514130303.113607-1-puranjay@kernel.org
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Documentation/bpf/standardization/instruction-set.rst