<div dir="ltr">Reviewed-by: Patrick Robb <<a href="mailto:probb@iol.unh.edu">probb@iol.unh.edu</a>></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Mon, Dec 15, 2025 at 4:40 PM Andrew Bailey <<a href="mailto:abailey@iol.unh.edu">abailey@iol.unh.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">When a test was skipped due to a missing NIC capability, the logs should<br>
print the name of the missing capability. This has since changed to show<br>
only the integer representation of the missing capability. This patch<br>
restores the previous behavior of printing the name of the missing<br>
capability to the user.<br>
<br>
Bugzilla ID: 1803<br>
Fixes: eba657ae3c3c ("dts: move testpmd module from framework to API<br>
directory")<br>
<br>
Signed-off-by: Andrew Bailey <<a href="mailto:abailey@iol.unh.edu" target="_blank">abailey@iol.unh.edu</a>><br>
---<br>
dts/api/capabilities.py | 4 ++++<br>
1 file changed, 4 insertions(+)<br>
<br>
diff --git a/dts/api/capabilities.py b/dts/api/capabilities.py<br>
index 243759668f..2d0cd65854 100644<br>
--- a/dts/api/capabilities.py<br>
+++ b/dts/api/capabilities.py<br>
@@ -219,6 +219,10 @@ class NicCapability(IntEnum):<br>
PORT_TX_OFFLOAD_SEND_ON_TIMESTAMP = auto()<br>
QUEUE_TX_OFFLOAD_SEND_ON_TIMESTAMP = auto()<br>
<br>
+ def __str__(self):<br>
+ """Override the default string representation to return the name of the capability."""<br>
+ return <a href="http://self.name" rel="noreferrer" target="_blank">self.name</a><br>
+<br>
<br>
def requires_link_topology(<br>
link_topology: LinkTopology,<br>
-- <br>
2.50.1<br>
<br>
</blockquote></div>