aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorAlexander Kozyrev <akozyrev@nvidia.com>2023-09-25 15:11:55 +0000
committerDamjan Marion <dmarion@0xa5.net>2023-10-12 20:44:48 +0000
commit006c071b0a5f0bfc1302bad17cf018792ea2f712 (patch)
treecbedb7cf4631cb1c6b48c2745aa0b5371607bb2d /src/plugins
parent947aa8fffcd85563ed0bad620f739e76c6002f50 (diff)
dpdk: add Mellanox BlueField NICs
List BlueField NICs as a supported PCI devices. Type: feature Change-Id: Ida2300df516ab9cd2fcde1f816bbdc081016039a Signed-off-by: Alexander Kozyrev <akozyrev@nvidia.com>
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/dpdk/device/init.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/plugins/dpdk/device/init.c b/src/plugins/dpdk/device/init.c
index 897cd2cc8dd..d88dad49ad5 100644
--- a/src/plugins/dpdk/device/init.c
+++ b/src/plugins/dpdk/device/init.c
@@ -679,6 +679,18 @@ dpdk_bind_devices_to_uio (dpdk_config_main_t * conf)
{
continue;
}
+ /* Mellanox BF, BFVF */
+ else if (d->vendor_id == 0x15b3 &&
+ (d->device_id >= 0xa2d2 && d->device_id <= 0Xa2d3))
+ {
+ continue;
+ }
+ /* Mellanox BF2, BF3 */
+ else if (d->vendor_id == 0x15b3 &&
+ (d->device_id == 0xa2d6 || d->device_id == 0xa2dc))
+ {
+ continue;
+ }
/* Broadcom NetXtreme S, and E series only */
else if (d->vendor_id == 0x14e4 &&
((d->device_id >= 0x16c0 &&