From 1e5ed9774973221218883b919844d252b4467305 Mon Sep 17 00:00:00 2001 From: Amir Zeidner Date: Wed, 22 Apr 2020 10:11:57 +0300 Subject: devices: Adding ConnectX-6 DX Device ID for validation Type: fix Change-Id: I3c7ebbe91e7dffe9fd6851e5334fe920f2187cf0 Signed-off-by: Amir Zeidner --- src/plugins/dpdk/device/init.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'src/plugins/dpdk/device') 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 && -- cgit 1.2.3-korg