net/mlx5: fix warning message

Add support for Mellanox provider id and vendor id

Change-Id: Ib2451e69fbe949f01bcb1ee556aa3020da225610
Signed-off-by: Shachar Beiser <shacharbe@mellanox.com>
This commit is contained in:
Shachar Beiser
2017-09-11 08:06:18 +00:00
committed by Damjan Marion
parent 6a58f4a896
commit 6c333cecd6

View File

@ -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 "