]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
net/mlx5: IFC updates for disabled host PF
authorDaniel Jurgens <danielj@nvidia.com>
Wed, 9 Jul 2025 12:41:07 +0000 (15:41 +0300)
committerLeon Romanovsky <leon@kernel.org>
Sun, 13 Jul 2025 07:17:30 +0000 (03:17 -0400)
The port 2 host PF can be disabled, this bit reflects that setting.

Signed-off-by: Daniel Jurgens <danielj@nvidia.com>
Reviewed-by: William Tu <witu@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Link: https://patch.msgid.link/1752064867-16874-3-git-send-email-tariqt@nvidia.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
include/linux/mlx5/mlx5_ifc.h

index d7684bb28a3a2530440767348ea587b551b4d924..639dd0b56655be7269cfc19c77b6a0902a4d3366 100644 (file)
@@ -12383,7 +12383,9 @@ struct mlx5_ifc_mtrc_ctrl_bits {
 
 struct mlx5_ifc_host_params_context_bits {
        u8         host_number[0x8];
-       u8         reserved_at_8[0x7];
+       u8         reserved_at_8[0x5];
+       u8         host_pf_not_exist[0x1];
+       u8         reserved_at_14[0x1];
        u8         host_pf_disabled[0x1];
        u8         host_num_of_vfs[0x10];