Re: [PATCH] app/testpmd: reduce txonly multi-flow src_port range

Stephen Hemminger
2026-02-26T21:35:12Z

On Thu, 26 Feb 2026 11:16:25 -0800
Long Li <longli@microsoft.com> wrote:

> Reduce the UDP source port OR-mask from 0xC0 to 0xF0, lowering
> unique high-byte values from 64 to 16 (16 unique ports per lcore).
>
> Modern SmartNICs rarely need more than 16 queues to saturate RX,
> and excessive unique ports can exhaust hardware flow caching,
> degrading performance.
>
> Unique source ports by lcore count:
> 1: 16, 2: 32, 4: 64, 8: 128, 16: 256
>
> Signed-off-by: Long Li <longli@microsoft.com>
> ---

Make sense to make this less spread out.
I wonder if this should be a parameter to allow for testing different
spreads?