[PATCH mlx5-next 3/3] net/mlx5: Add MLX5_PCI_PF_TYPE_QUERY_PF to mlx5_ifc
From: Tariq Toukan
Date: Mon Nov 16 2026 - 09:47:20 EST
From: Chris Mi <cmi@xxxxxxxxxx>
FW exposes a new PCI PF type value (0x2) in QUERY_ESW_FUNCTIONS to
identify the querying PF itself, allowing the driver to read its own
host_number from the firmware response.
Signed-off-by: Chris Mi <cmi@xxxxxxxxxx>
Reviewed-by: Shay Drori <shayd@xxxxxxxxxx>
Reviewed-by: Parav Pandit <parav@xxxxxxxxxx>
Signed-off-by: Tariq Toukan <tariqt@xxxxxxxxxx>
---
include/linux/mlx5/mlx5_ifc.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/linux/mlx5/mlx5_ifc.h b/include/linux/mlx5/mlx5_ifc.h
index 06e17581fa51..cb9b8a908523 100644
--- a/include/linux/mlx5/mlx5_ifc.h
+++ b/include/linux/mlx5/mlx5_ifc.h
@@ -12913,6 +12913,7 @@ enum mlx5_ifc_vhca_state {
enum {
MLX5_PCI_PF_TYPE_EXTERNAL_HOST_PF = 0x0,
MLX5_PCI_PF_TYPE_SATELLITE_PF = 0x1,
+ MLX5_PCI_PF_TYPE_QUERY_PF = 0x2,
};
struct mlx5_ifc_network_function_params_bits {
--
2.44.0