dpdk: add new device ID for Cisco VIC VF 47/41547/3
authorHyong Youb Kim <[email protected]>
Tue, 6 Aug 2024 04:50:39 +0000 (21:50 -0700)
committerDamjan Marion <[email protected]>
Wed, 25 Sep 2024 13:36:27 +0000 (13:36 +0000)
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 <[email protected]>
src/plugins/dpdk/device/init.c

index 827f880..fa1b234 100644 (file)
@@ -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)