From: Hyong Youb Kim Date: Tue, 6 Aug 2024 04:50:39 +0000 (-0700) Subject: dpdk: add new device ID for Cisco VIC VF X-Git-Tag: v25.06-rc0~266 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=1a088b6bc9cca87d958c3390b1495812db165da9;p=vpp.git dpdk: add new device ID for Cisco VIC VF VIC now supports standard SR-IOV, as opposed to VM-FEX SR-IOV. It uses a new device ID 0x02b7 for VF. Add it to the supported list. Type: improvement Change-Id: Ifc91c66f5e75dd005aa9d8a47700896a941abab5 Signed-off-by: Hyong Youb Kim --- diff --git a/src/plugins/dpdk/device/init.c b/src/plugins/dpdk/device/init.c index 827f8801ca6..fa1b234874d 100644 --- a/src/plugins/dpdk/device/init.c +++ b/src/plugins/dpdk/device/init.c @@ -732,7 +732,8 @@ dpdk_bind_devices_to_uio (dpdk_config_main_t * conf) ; /* Cisco VIC */ else if (d->vendor_id == 0x1137 && - (d->device_id == 0x0043 || d->device_id == 0x0071)) + (d->device_id == 0x0043 || d->device_id == 0x0071 || + d->device_id == 0x02b7)) ; /* Chelsio T4/T5 */ else if (d->vendor_id == 0x1425 && (d->device_id & 0xe000) == 0x4000)