[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <904af226-8225-7d33-5c77-68e129e4b5a2@fb.com>
Date: Thu, 18 Apr 2019 20:53:09 +0000
From: Yonghong Song <yhs@...com>
To: Andrey Ignatov <rdna@...com>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>
CC: "ast@...nel.org" <ast@...nel.org>,
"daniel@...earbox.net" <daniel@...earbox.net>,
Kernel Team <Kernel-team@...com>
Subject: Re: [PATCH bpf-next] bpf: Document BPF_PROG_TYPE_CGROUP_SYSCTL
On 4/17/19 10:28 PM, Andrey Ignatov wrote:
> Add documentation for BPF_PROG_TYPE_CGROUP_SYSCTL, including general
> info, attach type, context, return code, helpers, example and usage
> considerations.
>
> A separate file prog_cgroup_sysctl.rst is added to Documentation/bpf/.
>
> In the future more program types can be documented in their own
> prog_<name>.rst files.
>
> Another way to place program type specific documentation would be to
> group program types somehow (e.g. cgroup.rst for all cgroup-bpf
> programs), but it may not scale well since some program types may belong
> to different groups, e.g. BPF_PROG_TYPE_CGROUP_SKB can be documented
> together with either cgroup-bpf programs or programs that access skb.
>
> The new file is added to the index and verified by `make htmldocs` /
> sanity-check by lynx.
>
> Signed-off-by: Andrey Ignatov <rdna@...com>
Acked-by: Yonghong Song <yhs@...com>
Powered by blists - more mailing lists