Message ID | 1544793998-31366-2-git-send-email-quentin.monnet@netronome.com |
---|---|
State | Superseded, archived |
Delegated to: | BPF Maintainers |
Headers | show |
Series | tools: bpftool: clean up code and documentation | expand |
2018-12-14 13:26 UTC+0000 ~ Quentin Monnet <quentin.monnet@netronome.com> > 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 <quentin.monnet@netronome.com> > Reviewed-by: Jakub Kicinski <jakub.kicinski@netronome.com> > --- > 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.
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.