The PCI virtual function type was recognized correctly
for Bluefield VF.
Fixes: f38c54571d62 ("net/mlx5: split PCI from generic probing")
Cc: [email protected]
Signed-off-by: Viacheslav Ovsiienko <[email protected]>
---
drivers/net/mlx5/mlx5.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/mlx5/mlx5.c b/drivers/net/mlx5/mlx5.c
index 9b5affa..06cb906 100644
--- a/drivers/net/mlx5/mlx5.c
+++ b/drivers/net/mlx5/mlx5.c
@@ -2425,6 +2425,7 @@ struct mlx5_dev_spawn_data {
case PCI_DEVICE_ID_MELLANOX_CONNECTX4LXVF:
case PCI_DEVICE_ID_MELLANOX_CONNECTX5VF:
case PCI_DEVICE_ID_MELLANOX_CONNECTX5EXVF:
+ case PCI_DEVICE_ID_MELLANOX_CONNECTX5BFVF:
dev_config.vf = 1;
break;
default:
--
1.8.3.1