[PATCH] net/mlx5: fix PMD compilation in non-HWS setup
Raslan Darawsheh
rasland at nvidia.com
Wed Oct 30 08:07:57 CET 2024
Hi,
From: Gregory Etelson <getelson at nvidia.com>
Sent: Tuesday, October 29, 2024 3:34 PM
To: dev at 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 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: validate HWS context in meter operations")
Signed-off-by: Gregory Etelson <getelson at nvidia.com>
Patch squashed into relevant commit in next-net-mlx,
Kindest regards,
Raslan Darawsheh
More information about the dev
mailing list