<div dir="ltr"><div dir="ltr">On Wed, Aug 21, 2024 at 10:53 AM Juraj Linkeš <juraj.linkes@pantheon.tech> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Add the capabilities advertised by the testpmd command "show port info"<br>
so that test cases may be marked as requiring those capabilities:<br>
RUNTIME_RX_QUEUE_SETUP<br>
RUNTIME_TX_QUEUE_SETUP<br>
RXQ_SHARE<br>
FLOW_RULE_KEEP<br>
FLOW_SHARED_OBJECT_KEEP<br>
<br>
These names are copy pasted from the existing DeviceCapabilitiesFlag<br>
class. Dynamic addition of Enum members runs into problems with typing<br>
(mypy doesn't know about the members) and documentation generation<br>
(Sphinx doesn't know about the members).<br>
<br>
Signed-off-by: Juraj Linkeš <juraj.linkes@pantheon.tech><br></blockquote><div><br></div><div>Reviewed-by: Dean Marx <<a href="mailto:dmarx@iol.unh.edu">dmarx@iol.unh.edu</a>> </div></div></div>