summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorPedro Tammela <pctammela@gmail.com>2021-04-25 00:45:09 +0300
committerDaniel Borkmann <daniel@iogearbox.net>2021-04-28 02:17:45 +0300
commitf008d732ab181fd00d95c2e8a6e479d2f7c634b3 (patch)
tree45a933740031956a804209be3b462e3694f75e7e /tools
parent05eb3791a0deb79027c7f392342531cb1c884ede (diff)
downloadlinux-f008d732ab181fd00d95c2e8a6e479d2f7c634b3.tar.xz
bpf: Add batched ops support for percpu array
Uses the already in-place infrastructure provided by the 'generic_map_*_batch' functions. No tweak was needed as it transparently handles the percpu variant. As arrays don't have delete operations, let it return a error to user space (default behaviour). Suggested-by: Jamal Hadi Salim <jhs@mojatatu.com> Signed-off-by: Pedro Tammela <pctammela@mojatatu.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Link: https://lore.kernel.org/bpf/20210424214510.806627-2-pctammela@mojatatu.com
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions