net/mlx5: Update the list of the PCI supported devices
authorMajd Dibbiny <majd@mellanox.com>
Thu, 23 Feb 2017 08:52:19 +0000 (10:52 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Thu, 6 Apr 2017 22:20:58 +0000 (01:20 +0300)
Rename the ConnectX-5 PCIe 4.0 to be ConnectX-5 Ex.
Also add the upcoming ConnectX-6 and it's VF IDs to the list.

Signed-off-by: Majd Dibbiny <majd@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/main.c

index 60154a175bd3866f2b461a357c60d86283afde12..9c2bec732af989f0e0cb9a3104aa9f22b5c7b85b 100644 (file)
@@ -1514,8 +1514,10 @@ static const struct pci_device_id mlx5_core_pci_table[] = {
        { PCI_VDEVICE(MELLANOX, 0x1016), MLX5_PCI_DEV_IS_VF},   /* ConnectX-4LX VF */
        { PCI_VDEVICE(MELLANOX, 0x1017) },                      /* ConnectX-5, PCIe 3.0 */
        { PCI_VDEVICE(MELLANOX, 0x1018), MLX5_PCI_DEV_IS_VF},   /* ConnectX-5 VF */
-       { PCI_VDEVICE(MELLANOX, 0x1019) },                      /* ConnectX-5, PCIe 4.0 */
-       { PCI_VDEVICE(MELLANOX, 0x101a), MLX5_PCI_DEV_IS_VF},   /* ConnectX-5, PCIe 4.0 VF */
+       { PCI_VDEVICE(MELLANOX, 0x1019) },                      /* ConnectX-5 Ex */
+       { PCI_VDEVICE(MELLANOX, 0x101a), MLX5_PCI_DEV_IS_VF},   /* ConnectX-5 Ex VF */
+       { PCI_VDEVICE(MELLANOX, 0x101b) },                      /* ConnectX-6 */
+       { PCI_VDEVICE(MELLANOX, 0x101c), MLX5_PCI_DEV_IS_VF},   /* ConnectX-6 VF */
        { 0, }
 };