Re: [PATCH v3 net-next 14/15] net: Reference bpf_redirect_info via task_struct on PREEMPT_RT.
From: Sebastian Andrzej Siewior
Date: Wed Jun 05 2024 - 06:41:42 EST
On 2024-06-05 12:28:08 [+0200], Jesper Dangaard Brouer wrote:
>
> Hmm, but how will this affect performance?
As I wrote in the changelog for v4, I haven't notice a difference. I
tried to move bpf_net_ctx_set() from cpu_map_bpf_prog_run() to
cpu_map_kthread_run() to have this assignment only once and I didn't see
a difference/ I couldn't tell the two kernels apart.
This is what I have been using for testing
| xdp-bench redirect-cpu --cpu 3 --remote-action drop eth1 -e
in case I was changing the wrong part…
> --Jesper
Sebastian