On Wed, 2026-11-25 at 08:32 -0800, Alexander Duyck wrote:
> Realistically speaking there is an easy solution to this in the
> program itself. It would be to look at using something like the
> REDIRECT action instead of just stripping the tunnels and passing it
> back to the original interface. It would then take the frame and stop
> processing the remaining descriptor data. As it stands that would be
> the more correct solution as you could then just redirect it to the
> tunnel interface I assume you have stacked on top of it and have it
> receive the frame instead of having received it at the interface that
> just head the header stripped.
>
> It would also match up better with how the stack would actually expect
> this to work if you didn't have the XDP program in place.

That is exactly what we are trying to do. Our traffic will be
redirected anyway, to a cpumap for load balancing. We tried to keep the
RX metadata across the redirect autonomously in [2], but this has been
strongly opposed so far [5][6].

[2] https://lore.kernel.org/all/[email protected]/
[5] https://lore.kernel.org/all/[email protected]/
[6] https://lore.kernel.org/all/[email protected]/

Thanks,
Tianyi

Reply via email to