From 6c333cecd6ff95ea442828cb3ed002d516453875 Mon Sep 17 00:00:00 2001 From: Shachar Beiser Date: Mon, 11 Sep 2017 08:06:18 +0000 Subject: net/mlx5: fix warning message Add support for Mellanox provider id and vendor id Change-Id: Ib2451e69fbe949f01bcb1ee556aa3020da225610 Signed-off-by: Shachar Beiser --- src/plugins/dpdk/device/init.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/plugins/dpdk/device') 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 " -- cgit 1.2.3-korg