Subject: Re: [PATCH net-next 6/6] net/mlx5e: Support XDP target xmit with dummy program

From: Toke Høiland-Jørgensen <[email-masked]>
Date: Wed, 12 Nov 2025 11:29:54 +0100

Tariq Toukan <[email-masked]> 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