[PATCH v5 2/3] dts: add trex traffic generator to dts framework

Andrew Bailey abailey at iol.unh.edu
Thu Oct 30 15:46:29 CET 2025


>
>
> +
> + at dataclass(slots=True)
> +class TrexPerformanceTrafficStats(PerformanceTrafficStats, TextParser):
> +    """Data structure to store performance statistics for a given test
> run.
> +
> +    This class overrides the initialization of
> :class:`PerformanceTrafficStats`
> +    in order to set the attribute values using the TREX stats output.
> +
> +    Attributes:
> +        tx_pps: Recorded tx packets per second
> +        tx_bps: Recorded tx bytes per second
> +        rx_pps: Recorded rx packets per second
> +        rx_bps: Recorded rx bytes per second
> +        frame_size: The total length of the frame
> +    """

Nit: missing full stops on attributes.

Reviewed-by: Andrew Bailey <abailey at iol.unh.edu>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mails.dpdk.org/archives/dev/attachments/20251030/9000a3f0/attachment.htm>


More information about the dev mailing list