[PATCH 1/1] net/mlx5: unresolved symbol mlx5_geneve_tlv_parser_create
Dariusz Sosnowski
dsosnowski at nvidia.com
Tue Jun 3 16:57:09 CEST 2025
Hi,
On Mon, May 05, 2025 at 07:45:37AM -0700, Andre Muezerie wrote:
> When compiling DPDK with mlx5 using clang on Windows with
> "debug" buildtype the error below is hit:
>
> net_mlx5_mlx5_flow_dv.c.obj : error LNK2019: unresolved external symbol
> mlx5_geneve_tlv_parser_create referenced in function
> flow_dv_discover_priorities
> drivers\rte_net_mlx5-25.dll : fatal error LNK1120: 1 unresolved externals
>
> With a "release" buildtype the error is not seen, which explains why this
> issue was not reported earlier.
>
> The same problem will show up with MSVC, but patches which are still under
> review are needed for this to be hit with MSVC.
>
> The cause of this problem seems to be that mlx5_flow_geneve.c is only
> compiled on Linux. This patch fixes the issue by compiling the file on all
> operating systems. It also sorts the file names in meson.build in
> alphabetical order.
>
> Signed-off-by: Andre Muezerie <andremue at linux.microsoft.com>
Acked-by: Dariusz Sosnowski <dsosnowski at nvidia.com>
Best regards,
Dariusz Sosnowski
More information about the dev
mailing list