Skip to content

Commit

Permalink
tools: bpftool: add doc for -m option to bpftool-prog.rst
Browse files Browse the repository at this point in the history
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>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
  • Loading branch information
Quentin Monnet authored and Daniel Borkmann committed Dec 15, 2018
1 parent bab89ad commit bc6cd66
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tools/bpf/bpftool/Documentation/bpftool-prog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,9 @@ OPTIONS
When showing BPF programs, show file names of pinned
programs.

-m, --mapcompat
Allow loading maps with unknown map definitions.

EXAMPLES
========
**# bpftool prog show**
Expand Down

0 comments on commit bc6cd66

Please sign in to comment.