Skip to content

Commit d435fd6

Browse files
committed
Dpdk: fix device_id -> device_info
1 parent cb68343 commit d435fd6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

microsoft/testsuites/dpdk/dpdkutil.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1140,7 +1140,7 @@ def get_node_nic_short_name(node: Node) -> str:
11401140
if node.nics.is_mana_device_present():
11411141
return NIC_SHORT_NAMES[NicType.MANA]
11421142
for nic_name in [NicType.CX3, NicType.CX4, NicType.CX5]:
1143-
if any([str(nic_name) in x.device_id for x in devices]):
1143+
if any([str(nic_name) in x.device_info for x in devices]):
11441144
return NIC_SHORT_NAMES[nic_name]
11451145
# We assert much earlier to enforce that SRIOV is enabled,
11461146
# so we should never hit this unless someone is testing a new platform.

0 commit comments

Comments
 (0)