bpf, selftests: Update array map tests for per-cpu batched ops
authorPedro Tammela <pctammela@gmail.com>
Sat, 24 Apr 2021 21:45:10 +0000 (18:45 -0300)
committerDaniel Borkmann <daniel@iogearbox.net>
Tue, 27 Apr 2021 23:18:12 +0000 (01:18 +0200)
commit3733bfbbdd28f7a65340d0058d15d15190a4944a
tree41f234a6edaa604a6368e586e0ceade0f6c73b36
parentf008d732ab181fd00d95c2e8a6e479d2f7c634b3
bpf, selftests: Update array map tests for per-cpu batched ops

Follows the same logic as the hashtable tests.

Signed-off-by: Pedro Tammela <pctammela@mojatatu.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20210424214510.806627-3-pctammela@mojatatu.com
tools/testing/selftests/bpf/map_tests/array_map_batch_ops.c