summaryrefslogtreecommitdiffstats
path: root/src/plugins/dpdk
diff options
context:
space:
mode:
authorMatthew Smith <mgsmith@netgate.com>2018-07-18 12:44:34 -0500
committerDamjan Marion <dmarion@me.com>2018-07-19 12:47:17 +0000
commit25668c899e5ee44c7a62e2782a2376f152c0a9cc (patch)
tree94f7008b1ea4f6f963d832cf17af4ba5bccd5d9e /src/plugins/dpdk
parent2a7563b02496611653cc568c1db389c2e83d4052 (diff)
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 <mgsmith@netgate.com>
Diffstat (limited to 'src/plugins/dpdk')
-rw-r--r--src/plugins/dpdk/device/init.c7
1 files changed, 6 insertions, 1 deletions
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;