tools: bpftool: make syntax for program map update explicit in man page
authorQuentin Monnet <[email protected]>
Thu, 8 Feb 2018 04:27:15 +0000 (20:27 -0800)
committerDaniel Borkmann <[email protected]>
Thu, 8 Feb 2018 10:59:50 +0000 (11:59 +0100)
commit2148481d5d3111e5e9aa5adc1905fa3539e548c8
tree6f00463e6321912a25e1df536a3dfb94e334a561
parent92426820f7616caebdf6ba665f749102a670b3d4
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: ff69c21a85a4 ("tools: bpftool: add documentation")
Signed-off-by: Quentin Monnet <[email protected]>
Reviewed-by: Jakub Kicinski <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
tools/bpf/bpftool/Documentation/bpftool-map.rst