mbox series

[bpf-next,v5,0/2] add batched ops for percpu array

Message ID 20210424214510.806627-1-pctammela@mojatatu.com
Headers show
Series add batched ops for percpu array | expand

Message

Pedro Tammela April 24, 2021, 9:45 p.m. UTC
This patchset introduces batched operations for the per-cpu variant of
the array map.

Also updates the batch ops test for arrays.

v4 -> v5:
- Revert removal of percpu macros

v3 -> v4:
- Prefer 'calloc()' over 'malloc()' on batch ops tests
- Add missing static keyword in a couple of test functions
- 'offset' to 'cpu_offset' as suggested by Martin

v2 -> v3:
- Remove percpu macros as suggested by Andrii
- Update tests that used the per cpu macros

v1 -> v2:
- Amended a more descriptive commit message

Pedro Tammela (2):
  bpf: add batched ops support for percpu array
  bpf: selftests: update array map tests for per-cpu batched ops

 kernel/bpf/arraymap.c                         |   2 +
 .../bpf/map_tests/array_map_batch_ops.c       | 104 +++++++++++++-----
 2 files changed, 77 insertions(+), 29 deletions(-)

Comments

patchwork-bot+netdevbpf@kernel.org April 27, 2021, 11:20 p.m. UTC | #1
Hello:

This series was applied to bpf/bpf-next.git (refs/heads/master):

On Sat, 24 Apr 2021 18:45:08 -0300 you wrote:
> This patchset introduces batched operations for the per-cpu variant of

> the array map.

> 

> Also updates the batch ops test for arrays.

> 

> v4 -> v5:

> - Revert removal of percpu macros

> 

> [...]


Here is the summary with links:
  - [bpf-next,v5,1/2] bpf: add batched ops support for percpu array
    https://git.kernel.org/bpf/bpf-next/c/f008d732ab18
  - [bpf-next,v5,2/2] bpf: selftests: update array map tests for per-cpu batched ops
    https://git.kernel.org/bpf/bpf-next/c/3733bfbbdd28

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html