On Tue, 21 Apr 2026 23:23:55 +0200
Robin Jarry <[email protected]> wrote:

> The mlx5 Tx datapath compiles 42 variants of the burst function, each
> a specialization of mlx5_tx_burst_tmpl() with a different combination
> of offload flags. The compiler must instantiate and optimize the entire
> 3800+ line template for every variant, which dominates build time for
> all the code base.

PS: I am going to reject any new drivers that do this kind of nonsense.
The cnxk and mlx5 drivers are setting a bad precedent.

Reply via email to