[PATCH dpdk] net/mlx5: add option to reduce Tx datapath compilation time
Stephen Hemminger
stephen at networkplumber.org
Tue Apr 21 23:56:54 CEST 2026
On Tue, 21 Apr 2026 23:23:55 +0200
Robin Jarry <rjarry at redhat.com> 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.
More information about the dev
mailing list