summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMatthew Smith <mgsmith@netgate.com>2018-07-19 14:01:40 +0000
committerDamjan Marion <dmarion@me.com>2018-07-19 22:33:12 +0000
commit88dbf98fe717bec95ab53d33c04b375f30f801ba (patch)
tree42b59104870658b972085c0317c042046eb0f0cf /src
parent7064c338f15ecfbf77b0d2d68ab8ce30beb77cb2 (diff)
dpdk: fix Mellanox Connect-X3 VF ID
Fix a typo from previous patch. Change 0x104 to 0x1004. Change-Id: I82230a8a0ec01567eb1d4bc12ac02062c2a98347 Signed-off-by: Matthew Smith <mgsmith@netgate.com>
Diffstat (limited to 'src')
-rw-r--r--src/plugins/dpdk/device/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/dpdk/device/init.c b/src/plugins/dpdk/device/init.c
index a08ed6d908f..69a80814987 100644
--- a/src/plugins/dpdk/device/init.c
+++ b/src/plugins/dpdk/device/init.c
@@ -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;
}