From 28c9a7d7b48edfc55db915bdcad7cff4450b60da Mon Sep 17 00:00:00 2001 From: Ali Alnubani Date: Wed, 8 Jul 2020 12:14:04 +0300 Subject: [PATCH] net/mlx5: add ConnectX-6 Lx device ID This adds the ConnectX-6 Lx device id to the list of supported Mellanox devices that run the MLX5 PMD. The device is still in development stage. Signed-off-by: Ali Alnubani Acked-by: Raslan Darawsheh --- drivers/common/mlx5/mlx5_common.h | 1 + drivers/net/mlx5/mlx5.c | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/drivers/common/mlx5/mlx5_common.h b/drivers/common/mlx5/mlx5_common.h index da01ffa1ce..2851507058 100644 --- a/drivers/common/mlx5/mlx5_common.h +++ b/drivers/common/mlx5/mlx5_common.h @@ -130,6 +130,7 @@ enum { PCI_DEVICE_ID_MELLANOX_CONNECTX6DX = 0x101d, PCI_DEVICE_ID_MELLANOX_CONNECTX6DXVF = 0x101e, PCI_DEVICE_ID_MELLANOX_CONNECTX6DXBF = 0xa2d6, + PCI_DEVICE_ID_MELLANOX_CONNECTX6LX = 0x101f, }; /* Maximum number of simultaneous unicast MAC addresses. */ diff --git a/drivers/net/mlx5/mlx5.c b/drivers/net/mlx5/mlx5.c index 86b7671b4d..0c654ed8b7 100644 --- a/drivers/net/mlx5/mlx5.c +++ b/drivers/net/mlx5/mlx5.c @@ -1885,6 +1885,10 @@ static const struct rte_pci_id mlx5_pci_id_map[] = { RTE_PCI_DEVICE(PCI_VENDOR_ID_MELLANOX, PCI_DEVICE_ID_MELLANOX_CONNECTX6DXBF) }, + { + RTE_PCI_DEVICE(PCI_VENDOR_ID_MELLANOX, + PCI_DEVICE_ID_MELLANOX_CONNECTX6LX) + }, { .vendor_id = 0 } -- 2.20.1