mbox series

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

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

Message

Pedro Tammela March 23, 2021, 2:50 a.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.

v1 -> v2:
Fixes for checkpatch warnings

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