summaryrefslogtreecommitdiffstats
path: root/src/plugins/dpdk/device/init.c
diff options
context:
space:
mode:
authorShachar Beiser <shacharbe@mellanox.com>2017-09-11 08:06:18 +0000
committerDamjan Marion <dmarion.lists@gmail.com>2017-09-12 11:38:21 +0000
commit6c333cecd6ff95ea442828cb3ed002d516453875 (patch)
treed661125593f072c84ffeef8f6bc6d84c45eb2b6d /src/plugins/dpdk/device/init.c
parent6a58f4a89660b1b8ce37139ec1b65acaad8795ed (diff)
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>
Diffstat (limited to 'src/plugins/dpdk/device/init.c')
-rwxr-xr-xsrc/plugins/dpdk/device/init.c3
1 files changed, 3 insertions, 0 deletions
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 "