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 <hyonkim@cisco.com>
This commit is contained in:
Hyong Youb Kim
2024-08-05 21:50:39 -07:00
committed by Damjan Marion
parent 70522a1dc2
commit 1a088b6bc9

View 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)