summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmir Zeidner <amirzei@mellanox.com>2020-04-22 10:11:57 +0300
committerAmir Zeidner <amirzei@mellanox.com>2020-04-22 07:38:50 +0000
commit1e5ed9774973221218883b919844d252b4467305 (patch)
treecd47aceee10b50aa1c6669e8fa85543bb028fd89
parent54582663ab7d7105bc2407036a311d68707e5ab9 (diff)
devices: Adding ConnectX-6 DX Device ID for validation
Type: fix Change-Id: I3c7ebbe91e7dffe9fd6851e5334fe920f2187cf0 Signed-off-by: Amir Zeidner <amirzei@mellanox.com>
-rw-r--r--src/plugins/dpdk/device/init.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/plugins/dpdk/device/init.c b/src/plugins/dpdk/device/init.c
index 86443c8ff21..15e7acae8ff 100644
--- a/src/plugins/dpdk/device/init.c
+++ b/src/plugins/dpdk/device/init.c
@@ -942,16 +942,21 @@ dpdk_bind_devices_to_uio (dpdk_config_main_t * conf)
/* Cavium FastlinQ QL41000 Series */
else if (d->vendor_id == 0x1077 && d->device_id >= 0x8070 && d->device_id <= 0x8090)
;
- /* Mellanox mlx4 */
+ /* Mellanox CX3, CX3VF */
else if (d->vendor_id == 0x15b3 && d->device_id >= 0x1003 && d->device_id <= 0x1004)
{
continue;
}
- /* Mellanox mlx5 */
+ /* Mellanox CX4, CX4VF, CX4LX, CX4LXVF, CX5, CX5VF, CX5EX, CX5EXVF */
else if (d->vendor_id == 0x15b3 && d->device_id >= 0x1013 && d->device_id <= 0x101a)
{
continue;
}
+ /* Mellanox CX6, CX6VF, CX6DX, CX6DXVF */
+ else if (d->vendor_id == 0x15b3 && d->device_id >= 0x101b && d->device_id <= 0x101e)
+ {
+ continue;
+ }
/* Broadcom NetXtreme S, and E series only */
else if (d->vendor_id == 0x14e4 &&
((d->device_id >= 0x16c0 &&