mbox series

[bpf-next,0/2] add support for batched ops in LPM trie

Message ID 20210321224525.223432-1-pctammela@gmail.com (mailing list archive)
Headers show
Series add support for batched ops in LPM trie | expand

Message

Pedro Tammela March 21, 2021, 10:45 p.m. UTC
The patch itself is straightforward thanks to the infrastructure that is
already in-place.

The tests follows the other '*_map_batch_ops' tests with minor tweaks.

Pedro Tammela (2):
  bpf: add support for batched operations in LPM trie maps
  bpf: selftests: add tests for batched ops in LPM trie maps

 kernel/bpf/lpm_trie.c                         |   3 +
 .../map_tests/lpm_trie_map_batch_ops.c (new)  | 158 ++++++++++++++++++
 2 files changed, 161 insertions(+)
 create mode 100644 tools/testing/selftests/bpf/map_tests/lpm_trie_map_batch_ops.c