Re: [PATCH 3/4] bpf, docs: Only document eBPF in instruction-set.rst

From
Alexei Starovoitov <hidden>
Date
2021-12-15 05:40:59
Also in
bpf, linux-doc
Reply to
Christoph Hellwig, 2021-12-14
On Tue, Dec 14, 2021 at 6:04 AM Christoph Hellwig [off-list ref] wrote:
quoted hunk ↗ jump to hunk
 Three LSB bits store instruction class which is one of:

-  ===================     ===============
-  Classic BPF classes     eBPF classes
-  ===================     ===============
-  BPF_LD    0x00          BPF_LD    0x00
-  BPF_LDX   0x01          BPF_LDX   0x01
-  BPF_ST    0x02          BPF_ST    0x02
-  BPF_STX   0x03          BPF_STX   0x03
-  BPF_ALU   0x04          BPF_ALU   0x04
-  BPF_JMP   0x05          BPF_JMP   0x05
-  BPF_RET   0x06          BPF_JMP32 0x06
-  BPF_MISC  0x07          BPF_ALU64 0x07
-  ===================     ===============
I don't want to lose the classic vs extended visual comparison.
These were one the most valuable tables to me.
Maybe instead of intro.rst call it classic_vs_extended.rst ?
or history.rst ?

That would be patch 2 as-is plus extra tables and text
that this patch removes.
There will be a bit of overlap between history.rst
and instruction-set.rst.
I think it's ok.

The rest makes sense to me.

Maybe Daniel has better ideas.
Thread (6 messages) 6 messages, 2 authors, 2021-12-15
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help