summaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorStanislav Fomichev <sdf@google.com>2019-01-16 11:09:59 -0800
committerDaniel Borkmann <daniel@iogearbox.net>2019-01-17 10:30:30 +0100
commit7d7209cb9afdfc3dfcdc1b45013e62afb1ad71b6 (patch)
tree3f28024a1cb06d94073025680adc44c854d5c41d /lib/mpi/mpiutil.c
parente13279e21183667e5462546ffbfeab2764be631b (diff)
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>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions