]> git.baikalelectronics.ru Git - kernel.git/commit
bpf: bpftool, fix documentation for attach types
authorAlban Crequy <alban@kinvolk.io>
Tue, 19 Feb 2019 14:13:32 +0000 (15:13 +0100)
committerDaniel Borkmann <daniel@iogearbox.net>
Tue, 19 Feb 2019 16:23:18 +0000 (17:23 +0100)
commit9657235492cb6c82554984dd86265f2be702c8e7
treea65affee18d061503a7d7e4b9da9375b2dd9dc74
parenteaea7bf6bf92bfa66cb931a9f7492d37cbef30ea
bpf: bpftool, fix documentation for attach types

bpftool has support for attach types "stream_verdict" and
"stream_parser" but the documentation was referring to them as
"skb_verdict" and "skb_parse". The inconsistency comes from commit
e3d1a275d151 ("bpf: bpftool, add support for attaching programs to
maps").

This patch changes the documentation to match the implementation:
- "bpftool prog help"
- man pages
- bash completion

Signed-off-by: Alban Crequy <alban@kinvolk.io>
Reviewed-by: Quentin Monnet <quentin.monnet@netronome.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
tools/bpf/bpftool/Documentation/bpftool-prog.rst
tools/bpf/bpftool/bash-completion/bpftool
tools/bpf/bpftool/prog.c