net/mlx5: fix host physical function representor naming
[dpdk.git] / drivers / common / mlx5 / linux / mlx5_nl.c
index 2943704..dc504d8 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;
+       case MLX5_PHYS_PORT_NAME_TYPE_PFHPF:
+               /* Fallthrough */
        case MLX5_PHYS_PORT_NAME_TYPE_PFVF:
                /* New representors naming schema. */
                switch_info->representor = 1;