net/mlx5: add ConnectX-6 Lx device ID
authorAli Alnubani <alialnu@mellanox.com>
Wed, 8 Jul 2020 09:14:04 +0000 (12:14 +0300)
committerFerruh Yigit <ferruh.yigit@intel.com>
Sat, 11 Jul 2020 04:18:53 +0000 (06:18 +0200)
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 <alialnu@mellanox.com>
Acked-by: Raslan Darawsheh <rasland@mellanox.com>
drivers/common/mlx5/mlx5_common.h
drivers/net/mlx5/mlx5.c

index da01ffa..2851507 100644 (file)
@@ -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. */
index 86b7671..0c654ed 100644 (file)
@@ -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
        }