We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cb68343 commit d435fd6Copy full SHA for d435fd6
microsoft/testsuites/dpdk/dpdkutil.py
@@ -1140,7 +1140,7 @@ def get_node_nic_short_name(node: Node) -> str:
1140
if node.nics.is_mana_device_present():
1141
return NIC_SHORT_NAMES[NicType.MANA]
1142
for nic_name in [NicType.CX3, NicType.CX4, NicType.CX5]:
1143
- 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]):
1144
return NIC_SHORT_NAMES[nic_name]
1145
# We assert much earlier to enforce that SRIOV is enabled,
1146
# so we should never hit this unless someone is testing a new platform.
0 commit comments