]> git.baikalelectronics.ru Git - kernel.git/commit
tools: bpftool: make syntax for program map update explicit in man page
authorQuentin Monnet <quentin.monnet@netronome.com>
Thu, 8 Feb 2018 04:27:15 +0000 (20:27 -0800)
committerDaniel Borkmann <daniel@iogearbox.net>
Thu, 8 Feb 2018 10:59:50 +0000 (11:59 +0100)
commit3ea74f58a82e8dc0fc81a225e776ff3736a3a921
tree6f00463e6321912a25e1df536a3dfb94e334a561
parent30de4bf12432170e76b7a35096b92858cf361df0
tools: bpftool: make syntax for program map update explicit in man page

Specify in the documentation that when using bpftool to update a map of
type BPF_MAP_TYPE_PROG_ARRAY, the syntax for the program used as a value
should use the "id|tag|pinned" keywords convention, as used with
"bpftool prog" commands.

Fixes: ceb362bc7671 ("tools: bpftool: add documentation")
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>
tools/bpf/bpftool/Documentation/bpftool-map.rst