]> git.droids-corp.org - dpdk.git/blobdiff - drivers/common/mlx5/linux/mlx5_nl.c
net/mlx5: fix host physical function representor naming
[dpdk.git] / drivers / common / mlx5 / linux / mlx5_nl.c
index 2943704e5ec3bb6105014597fd449457df420565..dc504d81a5e667d17aee626707e3e965cc3d5445 100644 (file)
@@ -1145,6 +1145,8 @@ mlx5_nl_check_switch_info(bool num_vf_set,
                /* Legacy representors naming schema. */
                switch_info->representor = !num_vf_set;
                break;
                /* Legacy representors naming schema. */
                switch_info->representor = !num_vf_set;
                break;
+       case MLX5_PHYS_PORT_NAME_TYPE_PFHPF:
+               /* Fallthrough */
        case MLX5_PHYS_PORT_NAME_TYPE_PFVF:
                /* New representors naming schema. */
                switch_info->representor = 1;
        case MLX5_PHYS_PORT_NAME_TYPE_PFVF:
                /* New representors naming schema. */
                switch_info->representor = 1;