Re: [PATCH net-next 6/6] net/mlx5e: Support XDP target xmit with dummy program
From: Toke Høiland-Jørgensen
Date: Wed Nov 12 2025 - 05:35:12 EST
Tariq Toukan <tariqt@xxxxxxxxxx> writes:
> Save per-channel resources in default.
>
> As no better API exist, make the XDP-redirect-target SQ available by
> loading a dummy XDP program.
This is a user-visible change, though, no? I.e., after this patch
xdp_redirect mlx5 devices will no longer work as an xdp_redirect target
out of the box?
We have userspace code listing the driver support in various places
(e.g., here in xdp-tools:
https://github.com/xdp-project/xdp-tools/commit/1dad1d6e0ccb086b8a31496931f21a165b42b700);
I'm sure there will be other places. Since such code would up until now
assume that mlx5 just works, this will end up being a regression in such
cases, no?
-Toke