Re: [PATCH bpf-next] bpf, docs: BPF Iterator Document
From: Alexei Starovoitov
Date: Fri Dec 02 2022 - 15:01:30 EST
On Fri, Dec 2, 2022 at 9:42 AM Sreevani Sreejith <ssreevani@xxxxxxxx> wrote:
>
> From: Sreevani Sreejith <psreep@xxxxxxxxx>
>
> Document that describes how BPF iterators work, how to use iterators,
> and how to pass parameters in BPF iterators.
>
> Acked-by: David Vernet <void@xxxxxxxxxxxxx>
> Signed-off-by: Sreevani Sreejith <psreep@xxxxxxxxx>
> ---
> Documentation/bpf/bpf_iterators.rst | 487 +
> .../bpf/images/bpf_iterator_flow.svg | 9589 +++++++++++++++++
The graph looks nice, but it's huge.
Almost 1Mbyte.
The largest .svg file in the kernel tree is 200k.
Also it doesn't seem to add too much additional info
vs what's described in the text.
I suggest to drop .svg and stick to text only.
Or draw a text only diagram, but it doesn't look necessary in this case.