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.