From: Jesper Dangaard Brouer <brouer@redhat.com>
To: Jonathan Corbet <corbet@lwn.net>
Cc: netdev@vger.kernel.org, linux-doc@vger.kernel.org,
Alexei Starovoitov <ast@fb.com>,
alexander@alemayhu.com, linux-kernel@vger.kernel.org,
quentin.monnet@6wind.com,
Daniel Borkmann <borkmann@iogearbox.net>,
brouer@redhat.com
Subject: Re: [net-next PATCH 0/4] Documenting eBPF - extended Berkeley Packet Filter
Date: Wed, 8 Feb 2017 11:36:13 +0100 [thread overview]
Message-ID: <20170208113613.520dd4e6@redhat.com> (raw)
In-Reply-To: <20170207142323.67f08f47@lwn.net>
On Tue, 7 Feb 2017 14:23:23 -0700
Jonathan Corbet <corbet@lwn.net> wrote:
> On Tue, 7 Feb 2017 21:51:49 +0100
> Jesper Dangaard Brouer <brouer@redhat.com> wrote:
>
> > I sounds like Daniel (see other email) have bigger plans for what
> > Documentation/BPF/ should contain. E.g. consolidating
> > Documentation/networking/filter.txt which covers the cBPF/eBPF internals.
> > If that is the case (and I like the idea), then it goes beyond a
> > "userspace-guide". And perhaps "BPF" is a "book" of its own?
>
> One of the real problems with the kernel's documentation is that there is
> really almost no thought given to who the audience is. We have docs for
> kernel developers, for system admins, for user-space developers, etc., and
> it's all mixed up into one big jumble.
>
> An objective of mine in launching into this whole project is to try to fix
> that, so that people can readily find the documentation they need. So I
> don't think a single top-level directory, with a mix of user-space API
> info and "internals", is the right direction to go. The internals docs
> should, IMO, go elsewhere, probably in the core-api manual.
>
> See what I'm getting at here?
First I was reluctant (as it would be "easier" just to cramp every eBPF
thing into one directory). Thinking more about, I agree with you, and
I like your vision. Focus on the target audience and avoid mixing
different target audience in the same document/book is the way forward.
My audience and objective is helping developers getting started using
eBPF, not core-developers on eBPF (like Daniel). I do see that, if we
start mixing in too much "internals" then we loose sense of the
original target audience, and then they "exit" as they get "lost" in
details that does not concern them.
Separating BPF docs into different directories (or "books") will make
us think about the target audience.
I would like to propose directory structure:
Documentation/user-guide/bpf/
Documentation/core-api/bpf/
> > And it seems Daniel is proposing capital-letters BPF for the directory
> > name "Documentation/BPF/"? Any opinions on that? (I'm neutral)
>
> I think we should paint it green; otherwise I'm not too concerned about
> this particular point...:)
True, bikeshedding...
--
Best regards,
Jesper Dangaard Brouer
MSc.CS, Principal Kernel Engineer at Red Hat
LinkedIn: http://www.linkedin.com/in/brouer
next prev parent reply other threads:[~2017-02-08 10:36 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-07 14:30 [net-next PATCH 0/4] Documenting eBPF - extended Berkeley Packet Filter Jesper Dangaard Brouer
2017-02-07 14:30 ` [net-next PATCH 1/4] doc/bpf: start eBPF documentation tree bpf/ Jesper Dangaard Brouer
2017-02-07 14:30 ` [net-next PATCH 2/4] doc/bpf: document interacting with eBPF maps Jesper Dangaard Brouer
2017-02-07 14:30 ` [net-next PATCH 3/4] doc/bpf: describes the different types of eBPF maps available Jesper Dangaard Brouer
2017-02-07 14:30 ` [net-next PATCH 4/4] doc/bpf: describe BCC the BPF Compiler Collection Jesper Dangaard Brouer
2017-02-07 15:37 ` [net-next PATCH 0/4] Documenting eBPF - extended Berkeley Packet Filter Jonathan Corbet
2017-02-07 16:09 ` Jesper Dangaard Brouer
2017-02-07 16:46 ` Jonathan Corbet
2017-02-07 20:51 ` Jesper Dangaard Brouer
2017-02-07 21:23 ` Jonathan Corbet
2017-02-08 10:36 ` Jesper Dangaard Brouer [this message]
2017-02-07 16:43 ` Daniel Borkmann
2017-02-07 21:19 ` Jesper Dangaard Brouer
2017-02-07 22:32 ` Daniel Borkmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170208113613.520dd4e6@redhat.com \
--to=brouer@redhat.com \
--cc=alexander@alemayhu.com \
--cc=ast@fb.com \
--cc=borkmann@iogearbox.net \
--cc=corbet@lwn.net \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=quentin.monnet@6wind.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).