[PATCH v4 10/11] dts: add Rx offload capabilities
Jeremy Spewock
jspewock at iol.unh.edu
Mon Sep 23 21:26:28 CEST 2024
On Mon, Sep 23, 2024 at 11:02 AM Juraj Linkeš
<juraj.linkes at pantheon.tech> wrote:
>
> The scatter Rx offload capability is needed for the pmd_buffer_scatter
> test suite. The command that retrieves the capability is:
> show port <port_id> rx_offload capabilities
>
> The command also retrieves a lot of other capabilities (RX_OFFLOAD_*)
> which are all added into a Flag. The Flag members correspond to NIC
> capability names so a convenience function that looks for the supported
> Flags in a testpmd output is also added.
>
> The NIC capability names (mentioned above) are copy-pasted from the
> Flag. Dynamic addition of Enum members runs into problems with typing
> (mypy doesn't know about the members) and documentation generation
> (Sphinx doesn't know about the members).
>
> Signed-off-by: Juraj Linkeš <juraj.linkes at pantheon.tech>
> Reviewed-by: Dean Marx <dmarx at iol.unh.edu>
Reviewed-by: Jeremy Spewock <jspewock at iol.unh.edu>
More information about the dev
mailing list