On Wed, Sep 24, 2025 at 12:47 PM Andrew Bailey <[email protected]> wrote:
> Currently, there is no support for tracking tx_offload capabilities and > there is no separation between port capabilities and queue > capabilities. This is an issue if a test case requires a tx_offload > capability or if a test case requires that a card supports a capability > on a queue. This causes test cases with said requirements to not be > skipped when appropriate. Add tx_offload capabilities and distinguish > capabilities between ports and queues. > > Signed-off-by: Andrew Bailey <[email protected]> > Signed-off-by: Jeremy Spewock <[email protected]> > > - Args: > - line: The line to parse. > +@dataclass > +class OffloadCapabilities(TextParser): > + """The result of testpmd's ``show port <port_id> tx_offload > capabilities`` command. > tx_offload or rx_offload, right? Reviewed-by: Patrick Robb <[email protected]>

