From: Shachar Beiser Date: Mon, 11 Sep 2017 08:06:18 +0000 (+0000) Subject: net/mlx5: fix warning message X-Git-Tag: v17.10-rc1~90 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F89%2F8389%2F2;p=vpp.git net/mlx5: fix warning message Add support for Mellanox provider id and vendor id Change-Id: Ib2451e69fbe949f01bcb1ee556aa3020da225610 Signed-off-by: Shachar Beiser --- diff --git a/src/plugins/dpdk/device/init.c b/src/plugins/dpdk/device/init.c index 4ef3b676244..59df808daca 100755 --- a/src/plugins/dpdk/device/init.c +++ b/src/plugins/dpdk/device/init.c @@ -686,6 +686,9 @@ dpdk_bind_devices_to_uio (dpdk_config_main_t * conf) /* Chelsio T4/T5 */ else if (d->vendor_id == 0x1425 && (d->device_id & 0xe000) == 0x4000) ; + /* Mellanox */ + else if (d->vendor_id == 0x15b3 && d->device_id >= 0x1013 && d->device_id <= 0x101a) + ; else { clib_warning ("Unsupported PCI device 0x%04x:0x%04x found "