linux/tools/bpf/bpftool/Documentation
Stanislav Fomichev 7d7209cb9a bpftool: make key and value optional in update command
Bpftool expects both key and value for 'update' operations. For some
map types, key should not be specified. Support updating those map types.

Before:
bpftool map create /sys/fs/bpf/q type queue value 4 entries 10 name q
bpftool map update pinned /sys/fs/bpf/q value 0 1 2 3
Error: did not find key

After:
bpftool map create /sys/fs/bpf/q type queue value 4 entries 10 name q
bpftool map update pinned /sys/fs/bpf/q value 0 1 2 3

Signed-off-by: Stanislav Fomichev <sdf@google.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
2019-01-17 10:30:30 +01:00
..
bpftool-cgroup.rst tools: bpftool: update references to other man pages in documentation 2018-11-09 08:20:52 +01:00
bpftool-map.rst bpftool: make key and value optional in update command 2019-01-17 10:30:30 +01:00
bpftool-net.rst tools: bpftool: update references to other man pages in documentation 2018-11-09 08:20:52 +01:00
bpftool-perf.rst tools: bpftool: update references to other man pages in documentation 2018-11-09 08:20:52 +01:00
bpftool-prog.rst tools: bpftool: add an option to prevent auto-mount of bpffs, tracefs 2018-12-18 14:47:17 +01:00
bpftool.rst tools: bpftool: add an option to prevent auto-mount of bpffs, tracefs 2018-12-18 14:47:17 +01:00
Makefile tools: bpf: build and install man page for eBPF helpers from bpftool/ 2018-07-12 18:55:53 +02:00