dpdk: fix Mellanox Connect-X3 VF ID 57/13557/2
authorMatthew Smith <mgsmith@netgate.com>
Thu, 19 Jul 2018 14:01:40 +0000 (14:01 +0000)
committerDamjan Marion <dmarion@me.com>
Thu, 19 Jul 2018 22:33:12 +0000 (22:33 +0000)
Fix a typo from previous patch. Change 0x104 to 0x1004.

Change-Id: I82230a8a0ec01567eb1d4bc12ac02062c2a98347
Signed-off-by: Matthew Smith <mgsmith@netgate.com>
src/plugins/dpdk/device/init.c

index a08ed6d..69a8081 100644 (file)
@@ -839,7 +839,7 @@ dpdk_bind_devices_to_uio (dpdk_config_main_t * conf)
     else if (d->vendor_id == 0x1077 && d->device_id >= 0x8070 && d->device_id <= 0x8090)
       ;
     /* Mellanox mlx4 */
-    else if (d->vendor_id == 0x15b3 && d->device_id >= 0x1003 && d->device_id <= 0x104)
+    else if (d->vendor_id == 0x15b3 && d->device_id >= 0x1003 && d->device_id <= 0x1004)
       {
         continue;
       }