From d435fd6d03feed8765e6d23b685335f52a2af176 Mon Sep 17 00:00:00 2001 From: Matthew G McGovern Date: Wed, 30 Oct 2024 12:29:17 -0700 Subject: [PATCH] Dpdk: fix device_id -> device_info --- microsoft/testsuites/dpdk/dpdkutil.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/microsoft/testsuites/dpdk/dpdkutil.py b/microsoft/testsuites/dpdk/dpdkutil.py index c398821b30..658f1b2cb1 100644 --- a/microsoft/testsuites/dpdk/dpdkutil.py +++ b/microsoft/testsuites/dpdk/dpdkutil.py @@ -1140,7 +1140,7 @@ def get_node_nic_short_name(node: Node) -> str: if node.nics.is_mana_device_present(): return NIC_SHORT_NAMES[NicType.MANA] for nic_name in [NicType.CX3, NicType.CX4, NicType.CX5]: - if any([str(nic_name) in x.device_id for x in devices]): + if any([str(nic_name) in x.device_info for x in devices]): return NIC_SHORT_NAMES[nic_name] # We assert much earlier to enforce that SRIOV is enabled, # so we should never hit this unless someone is testing a new platform.