Signed-off-by: Wisam Jaddo <wis...@mellanox.com>
---
 drivers/net/mlx5/mlx5.c | 4 ++++
 drivers/net/mlx5/mlx5.h | 1 +
 2 files changed, 5 insertions(+)

diff --git a/drivers/net/mlx5/mlx5.c b/drivers/net/mlx5/mlx5.c
index 9e5cab1..dcabeb1 100644
--- a/drivers/net/mlx5/mlx5.c
+++ b/drivers/net/mlx5/mlx5.c
@@ -1586,6 +1586,10 @@ static const struct rte_pci_id mlx5_pci_id_map[] = {
                               PCI_DEVICE_ID_MELLANOX_CONNECTX5BFVF)
        },
        {
+               RTE_PCI_DEVICE(PCI_VENDOR_ID_MELLANOX,
+                               PCI_DEVICE_ID_MELLANOX_CONNECTX6)
+       },
+       {
                .vendor_id = 0
        }
 };
diff --git a/drivers/net/mlx5/mlx5.h b/drivers/net/mlx5/mlx5.h
index b2fe5cb..c7efc3c 100644
--- a/drivers/net/mlx5/mlx5.h
+++ b/drivers/net/mlx5/mlx5.h
@@ -52,6 +52,7 @@ enum {
        PCI_DEVICE_ID_MELLANOX_CONNECTX5EXVF = 0x101a,
        PCI_DEVICE_ID_MELLANOX_CONNECTX5BF = 0xa2d2,
        PCI_DEVICE_ID_MELLANOX_CONNECTX5BFVF = 0xa2d3,
+       PCI_DEVICE_ID_MELLANOX_CONNECTX6 = 0x101b,
 };
 
 /** Switch information returned by mlx5_nl_switch_info(). */
-- 
2.7.4

Reply via email to