[PATCH 1/1] net/mlx5: unresolved symbol mlx5_geneve_tlv_parser_create

Raslan Darawsheh rasland at nvidia.com
Wed Jun 4 17:00:41 CEST 2025


Hi,


On 05/05/2025 5:45 PM, 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> 

Patch applied to next-net-mlx,

Kindest regards
Raslan Darawsheh



More information about the dev mailing list