#1144885 grout shouldn't statically link 50 MB off DPDK libraries

#1144885#5
Date:
2026-08-19 21:33:50 UTC
From:
To:
We do not want static linking with the DPDK libraries,
please patch out the following line:
https://sources.debian.org/src/grout/0.17.0-1/meson.build#L111

#1144885#10
Date:
2026-08-20 08:58:52 UTC
From:
To:
Hi Adrian,

The static linking is intended for performance reasons. Switching to
dynamic libraries will cause a 15% raw packet-per-second performance
drop.

If that is really mandatory and breaks Debian, I can make a local patch.

PS: if static linking is really undesirable, perhaps libdpdk shouldn't
expose static libs.

#1144885#15
Date:
2026-08-20 08:58:52 UTC
From:
To:
Hi Adrian,

The static linking is intended for performance reasons. Switching to
dynamic libraries will cause a 15% raw packet-per-second performance
drop.

If that is really mandatory and breaks Debian, I can make a local patch.

PS: if static linking is really undesirable, perhaps libdpdk shouldn't
expose static libs.

#1144885#20
Date:
2026-08-20 09:20:01 UTC
From:
To:
Another reason why dynamic linking is impractical for DPDK based
applications is that you defer the driver selection to users which can
be rather obscure.

It would force to add librte-meta-allpmds in Recommends since the real
package names (e.g. librte-net-ice26) change every time a new major
release happens.

#1144885#25
Date:
2026-08-20 09:20:01 UTC
From:
To:
Another reason why dynamic linking is impractical for DPDK based
applications is that you defer the driver selection to users which can
be rather obscure.

It would force to add librte-meta-allpmds in Recommends since the real
package names (e.g. librte-net-ice26) change every time a new major
release happens.