]> git.baikalelectronics.ru Git - kernel.git/commit
bpf: Add lookup and update batch ops to arraymap
authorBrian Vazquez <brianvv@google.com>
Wed, 15 Jan 2020 18:43:03 +0000 (10:43 -0800)
committerAlexei Starovoitov <ast@kernel.org>
Wed, 15 Jan 2020 22:00:35 +0000 (14:00 -0800)
commitc99091d1738930fc250bf302c707ce52d0e5745f
tree287e79cef52c774db1fa125a56620d2931e45889
parent14c94bcd0a1996208b6c8fee07b3a25ab2e48f2d
bpf: Add lookup and update batch ops to arraymap

This adds the generic batch ops functionality to bpf arraymap, note that
since deletion is not a valid operation for arraymap, only batch and
lookup are added.

Signed-off-by: Brian Vazquez <brianvv@google.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Yonghong Song <yhs@fb.com>
Link: https://lore.kernel.org/bpf/20200115184308.162644-5-brianvv@google.com
kernel/bpf/arraymap.c