[PATCH] app/testpmd: enable warnings for possibly invalid config
Stephen Hemminger
stephen at networkplumber.org
Mon Sep 15 19:53:08 CEST 2025
On Fri, 12 Sep 2025 17:02:10 +0100
Bruce Richardson <bruce.richardson at intel.com> wrote:
> When dealing with multi-segment packets, there are separate offload
> flags which should be enabled on Rx (scattered flag) and on Tx
> (multi-segment flag). Print warnings on testpmd startup if we detect a
> situation where we suspect the user is missing these flags, e.g. we
> allow scattered packets on Rx, but not on Tx.
>
> Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>
> ---
Should also check for RTE_ETH_RX_OFFLOAD_BUFFER_SPLIT which should require
multiple segment support.
Could testpmd also check the descriptor limits of the device?
Does it validate nb_seg_max for TSO, and nb_mtu_seg_max for all cases?
More information about the dev
mailing list