Re: [PATCH] net/mlx5: fix PMD compilation in non-HWS setup

2024-10-30 Thread Raslan Darawsheh
Hi, From: Gregory Etelson Sent: Tuesday, October 29, 2024 3:34 PM To: dev@dpdk.org Cc: Gregory Etelson; Maayan Kashani; Raslan Darawsheh; Dariusz Sosnowski; Slava Ovsiienko; Bing Zhao; Ori Kam; Suanming Mou; Matan Azrad Subject: [PATCH] net/mlx5: fix PMD compilation in non-HWS setup The PMD

[PATCH] net/mlx5: fix PMD compilation in non-HWS setup

2024-10-29 Thread Gregory Etelson
The PMD calls `mlx5_hw_ctx_validate()` function to differentiate between HWS and SWS run-time setups. The function was not defined if HWS functionality was not enabled during meson code configuration. The patch creates default weak mlx5_hw_ctx_validate symbol. Fixes: d3144c59ac98 ("net/mlx5: val