[dpdk-dev] [PATCH] net/mlx5: fix Bluefield VF type recognition
Viacheslav Ovsiienko
viacheslavo at mellanox.com
Wed Sep 25 09:31:18 CEST 2019
The PCI virtual function type was recognized correctly
for Bluefield VF.
Fixes: f38c54571d62 ("net/mlx5: split PCI from generic probing")
Cc: stable at dpdk.org
Signed-off-by: Viacheslav Ovsiienko <viacheslavo at mellanox.com>
---
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
More information about the dev
mailing list