Thread (7 messages) flat view 7 messages, 1 author, 2018-12-14

Re: [PATCH bpf-next 1/5] tools: bpftool: add doc for -m option to bpftool-prog.rst

From: Quentin Monnet <hidden>
Date: 2018-12-14 13:43:48

2018-12-14 13:26 UTC+0000 ~ Quentin Monnet [off-list ref]
quoted hunk ↗ jump to hunk
The --mapcompat|-m option has been documented on the main bpftool.rst
page, and on the interactive help. As this option is useful for loading
programs with maps with the "bpftool prog load" command, it should also
appear in the related bpftool-prog.rst documentation page. Let's add it.

Signed-off-by: Quentin Monnet <redacted>
Reviewed-by: Jakub Kicinski <redacted>
---
 tools/bpf/bpftool/Documentation/bpftool-prog.rst | 3 +++
 1 file changed, 3 insertions(+)
diff --git a/tools/bpf/bpftool/Documentation/bpftool-prog.rst b/tools/bpf/bpftool/Documentation/bpftool-prog.rst
index dadf8ffe33c5..0bf4c26c3b31 100644
--- a/tools/bpf/bpftool/Documentation/bpftool-prog.rst
+++ b/tools/bpf/bpftool/Documentation/bpftool-prog.rst
@@ -158,6 +158,9 @@ OPTIONS
 		  When showing BPF programs, show file names of pinned
 		  programs.
 
+	-m, --mapcompat
+		  Allow loading maps with unknown map definitions.
+
 	-n, --nomount
 		  Do not automatically attempt to mount any virtual file system
 		  (such as tracefs or BPF virtual file system) when necessary.
Sorry, this one won't apply, the "--nomount" option above will come in
another set. I'll resend my series.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help