From: Matthew Smith Date: Wed, 18 Jul 2018 17:44:34 +0000 (-0500) Subject: dpdk: add device IDs for Mellanox ConnectX-3 X-Git-Tag: v18.10-rc1~581 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F39%2F13539%2F2;p=vpp.git dpdk: add device IDs for Mellanox ConnectX-3 Recognize the PF and VF device IDs for the Mellanox adapter used on Azure. Change-Id: Ic7b36b37ac93db2b696354ffe6fa2b6d62ee3801 Signed-off-by: Matthew Smith --- diff --git a/src/plugins/dpdk/device/init.c b/src/plugins/dpdk/device/init.c index f0907795255..ebb43d1a86f 100644 --- a/src/plugins/dpdk/device/init.c +++ b/src/plugins/dpdk/device/init.c @@ -838,7 +838,12 @@ 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 */ + /* Mellanox mlx4 */ + else if (d->vendor_id == 0x15b3 && d->device_id >= 0x1003 && d->device_id <= 0x104) + { + continue; + } + /* Mellanox mlx5 */ else if (d->vendor_id == 0x15b3 && d->device_id >= 0x1013 && d->device_id <= 0x101a) { continue;