Thanks for reporting this.
We have mlx5 included in our regression suite, and it was successfully tested with the following setup:
OS: Ubuntu 22.04
OFED: 25.07-0.9.7
Firmware: 16.35.4554
The issue you encountered happens only when configuring the build in an environment that includes mlx5 headers. Our build server doesn’t have mlx5 installed, which is why this problem wasn’t triggered there. However, the compiled executables are still tested on setups with Mellanox NICs, so functionality is verified.
We’ll address this issue in the next update to ensure the configuration step works properly in mlx5 environments.
You can try our compiled package here:
https://trex-tgn.cisco.com/trex/release/v3.07.tar.gz