Re: [PATCH bpf-next v11 0/5] Add support for transmitting packets using XDP in bpf_prog_run()
flat view
From: patchwork-bot+netdevbpf@kernel.org
Date: 2022-03-09 22:42:09
Also in:
bpf
Hello: This series was applied to bpf/bpf-next.git (master) by Alexei Starovoitov [off-list ref]: On Wed, 9 Mar 2022 11:53:41 +0100 you wrote:
This series adds support for transmitting packets using XDP in bpf_prog_run(), by enabling a new mode "live packet" mode which will handle the XDP program return codes and redirect the packets to the stack or other devices. The primary use case for this is testing the redirect map types and the ndo_xdp_xmit driver operation without an external traffic generator. But it turns out to also be useful for creating a programmable traffic generator in XDP, as well as injecting frames into the stack. A sample traffic generator, which was included in previous versions of the series, but now moved to xdp-tools, transmits up to 9 Mpps/core on my test machine. [...]
Here is the summary with links:
- [bpf-next,v11,1/5] bpf: Add "live packet" mode for XDP in BPF_PROG_RUN
https://git.kernel.org/bpf/bpf-next/c/b530e9e1063e
- [bpf-next,v11,2/5] Documentation/bpf: Add documentation for BPF_PROG_RUN
https://git.kernel.org/bpf/bpf-next/c/1a7551f15097
- [bpf-next,v11,3/5] libbpf: Support batch_size option to bpf_prog_test_run
https://git.kernel.org/bpf/bpf-next/c/24592ad1ab18
- [bpf-next,v11,4/5] selftests/bpf: Move open_netns() and close_netns() into network_helpers.c
https://git.kernel.org/bpf/bpf-next/c/a30338840fa5
- [bpf-next,v11,5/5] selftests/bpf: Add selftest for XDP_REDIRECT in BPF_PROG_RUN
https://git.kernel.org/bpf/bpf-next/c/55fcacca3646
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html