git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
net/mlx5: fix host physical function representor naming
[dpdk.git]
/
drivers
/
common
/
mlx5
/
linux
/
mlx5_nl.c
diff --git
a/drivers/common/mlx5/linux/mlx5_nl.c
b/drivers/common/mlx5/linux/mlx5_nl.c
index
2943704
..
dc504d8
100644
(file)
--- a/
drivers/common/mlx5/linux/mlx5_nl.c
+++ b/
drivers/common/mlx5/linux/mlx5_nl.c
@@
-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;