Thread (5 messages) 5 messages, 3 authors, 2021-03-10

Re: [PATCH bpf-next v6 0/2] Optimize bpf_redirect_map()/xdp_do_redirect()

flat view

From: patchwork-bot+netdevbpf@kernel.org
Date: 2021-03-10 00:21:06
Also in: bpf

Hello:

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

On Mon,  8 Mar 2021 12:29:05 +0100 you wrote:
Hi XDP-folks,

This two patch series contain two optimizations for the
bpf_redirect_map() helper and the xdp_do_redirect() function.

The bpf_redirect_map() optimization is about avoiding the map lookup
dispatching. Instead of having a switch-statement and selecting the
correct lookup function, we let bpf_redirect_map() be a map operation,
where each map has its own bpf_redirect_map() implementation. This way
the run-time lookup is avoided.

[...]
Here is the summary with links:
  - [bpf-next,v6,1/2] bpf, xdp: make bpf_redirect_map() a map operation
    https://git.kernel.org/bpf/bpf-next/c/e6a4750ffe9d
  - [bpf-next,v6,2/2] bpf, xdp: restructure redirect actions
    https://git.kernel.org/bpf/bpf-next/c/ee75aef23afe

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

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help