提交 2f6d1e0f 编写于 作者: S Shahab Vahedi 提交者: Andrii Nakryiko

bpf, docs: Fix the code formatting in instruction-set

A minor typo fix to include "| BPF_LD" into its previous
code phrase:

``BPF_IND`` | BPF_LD --> ``BPF_IND | BPF_LD``
Signed-off-by: NShahab Vahedi <shahab@synopsys.com>
Signed-off-by: NAndrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/b6120b31-3d1d-bf2d-2f2a-aa768d91257b@synopsys.com
上级 780d3d5a
...@@ -351,7 +351,7 @@ These instructions have seven implicit operands: ...@@ -351,7 +351,7 @@ These instructions have seven implicit operands:
* Register R0 is an implicit output which contains the data fetched from * Register R0 is an implicit output which contains the data fetched from
the packet. the packet.
* Registers R1-R5 are scratch registers that are clobbered after a call to * Registers R1-R5 are scratch registers that are clobbered after a call to
``BPF_ABS | BPF_LD`` or ``BPF_IND`` | BPF_LD instructions. ``BPF_ABS | BPF_LD`` or ``BPF_IND | BPF_LD`` instructions.
These instructions have an implicit program exit condition as well. When an These instructions have an implicit program exit condition as well. When an
eBPF program is trying to access the data beyond the packet boundary, the eBPF program is trying to access the data beyond the packet boundary, the
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册