Re: [PATCH bpf-next 0/9] bpf: cpumap: enable GRO for XDP_PASS frames
From: Jakub Kicinski
Date: Thu Sep 05 2024 - 20:20:45 EST
On Thu, 5 Sep 2024 19:01:42 +0200 Lorenzo Bianconi wrote:
> In particular, the cpumap kthread pinned on cpu 'n' can schedule the
> backlog NAPI associated to cpu 'n'. However according to my understanding
> it seems the backlog NAPI APIs (in process_backlog()) do not support GRO,
> right? Am I missing something?
I meant to use the struct directly, not to schedule it. All you need
is GRO - feed it packets, flush it.
But maybe you can avoid the netdev allocation and patch 3 in other ways.
Using backlog NAPI was just the first thing that came to mind.