From 006c071b0a5f0bfc1302bad17cf018792ea2f712 Mon Sep 17 00:00:00 2001 From: Alexander Kozyrev Date: Mon, 25 Sep 2023 15:11:55 +0000 Subject: dpdk: add Mellanox BlueField NICs List BlueField NICs as a supported PCI devices. Type: feature Change-Id: Ida2300df516ab9cd2fcde1f816bbdc081016039a Signed-off-by: Alexander Kozyrev --- src/plugins/dpdk/device/init.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/plugins/dpdk/device') 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 && -- cgit 1.2.3-korg