From: Ali Alnubani Date: Wed, 8 Jul 2020 09:14:04 +0000 (+0300) Subject: net/mlx5: add ConnectX-6 Lx device ID X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=28c9a7d7b48edfc55db915bdcad7cff4450b60da;p=dpdk.git 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 --- 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 }