From: Alexander Kozyrev Date: Mon, 25 Sep 2023 15:11:55 +0000 (+0000) Subject: dpdk: add Mellanox BlueField NICs X-Git-Tag: v24.06-rc0~224 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=006c071b0;hp=947aa8fffcd85563ed0bad620f739e76c6002f50;p=vpp.git dpdk: add Mellanox BlueField NICs List BlueField NICs as a supported PCI devices. Type: feature Change-Id: Ida2300df516ab9cd2fcde1f816bbdc081016039a Signed-off-by: Alexander Kozyrev --- 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 &&