From: Chris Mi 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 Reviewed-by: Shay Drori Reviewed-by: Parav Pandit Signed-off-by: Tariq Toukan --- 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