[PATCH] compress/mlx5: add VF device ID

Michael Baum michaelba at nvidia.com
Mon Apr 8 08:39:14 CEST 2024


This adds the Virtual Function device ID to the list of
supported NVIDIA devices that run the MLX5 compress PMD.

Signed-off-by: Michael Baum <michaelba at nvidia.com>
Acked-by: Matan Azrad <matan at nvidia.com>
---
 drivers/compress/mlx5/mlx5_compress.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/drivers/compress/mlx5/mlx5_compress.c b/drivers/compress/mlx5/mlx5_compress.c
index 41d9752833..5998d060e4 100644
--- a/drivers/compress/mlx5/mlx5_compress.c
+++ b/drivers/compress/mlx5/mlx5_compress.c
@@ -912,6 +912,10 @@ static const struct rte_pci_id mlx5_compress_pci_id_map[] = {
 		RTE_PCI_DEVICE(PCI_VENDOR_ID_MELLANOX,
 				PCI_DEVICE_ID_MELLANOX_BLUEFIELD3)
 	},
+	{
+		RTE_PCI_DEVICE(PCI_VENDOR_ID_MELLANOX,
+				PCI_DEVICE_ID_MELLANOX_CONNECTXVF)
+	},
 	{
 		.vendor_id = 0
 	}
-- 
2.25.1



More information about the dev mailing list