diff options
author | Hyong Youb Kim <hyonkim@cisco.com> | 2024-08-05 21:50:39 -0700 |
---|---|---|
committer | Damjan Marion <dmarion@0xa5.net> | 2024-09-25 13:36:27 +0000 |
commit | 1a088b6bc9cca87d958c3390b1495812db165da9 (patch) | |
tree | c74de1eeec884cde908fe68828eb092b6b30ca5f | |
parent | 70522a1dc211013cc792f2c09e6a3500524dc1d9 (diff) |
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>
-rw-r--r-- | src/plugins/dpdk/device/init.c | 3 |
1 files changed, 2 insertions, 1 deletions
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) |