summaryrefslogtreecommitdiffstats
path: root/tools/bpf/bpftool/Documentation
diff options
context:
space:
mode:
authorAlban Crequy <alban@kinvolk.io>2019-02-19 15:13:32 +0100
committerDaniel Borkmann <daniel@iogearbox.net>2019-02-19 17:23:18 +0100
commita5d9265e017f081f0dc133c0e2f45103d027b874 (patch)
treea65affee18d061503a7d7e4b9da9375b2dd9dc74 /tools/bpf/bpftool/Documentation
parentc9b747dbc2036c917b1067fbb78dc38b105c4454 (diff)
downloadblackbird-op-linux-a5d9265e017f081f0dc133c0e2f45103d027b874.tar.gz
blackbird-op-linux-a5d9265e017f081f0dc133c0e2f45103d027b874.zip
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 b7d3826c2ed6 ("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>
Diffstat (limited to 'tools/bpf/bpftool/Documentation')
-rw-r--r--tools/bpf/bpftool/Documentation/bpftool-prog.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/bpf/bpftool/Documentation/bpftool-prog.rst b/tools/bpf/bpftool/Documentation/bpftool-prog.rst
index 7e59495cb028..12bc1e2d4b46 100644
--- a/tools/bpf/bpftool/Documentation/bpftool-prog.rst
+++ b/tools/bpf/bpftool/Documentation/bpftool-prog.rst
@@ -42,7 +42,7 @@ PROG COMMANDS
| **cgroup/connect4** | **cgroup/connect6** | **cgroup/sendmsg4** | **cgroup/sendmsg6**
| }
| *ATTACH_TYPE* := {
-| **msg_verdict** | **skb_verdict** | **skb_parse** | **flow_dissector**
+| **msg_verdict** | **stream_verdict** | **stream_parser** | **flow_dissector**
| }
OpenPOWER on IntegriCloud