[PATCH v9 1/1] app/testpmd: canonicalize short PCI name format
Stephen Hemminger
stephen at networkplumber.org
Tue Jul 22 06:00:18 CEST 2025
On Sun, 13 Jul 2025 09:34:17 +0300
Shani Peretz <shperetz at nvidia.com> wrote:
> when providing short format PCI device names in devargs
> (e.g. "08:00:0") it is converted and stored as long format.
> however when attach_port is called from testpmd, the user might
> provide a short format, which will be passed to find_device with
> a comparison function that simply compare strings, which will
> cause find_device not to find any device.
>
> This fix canonicalize the user provided string before it is being
> passed to find_device.
>
> Signed-off-by: Shani Peretz <shperetz at nvidia.com>
> ---
Queued to next-net for 25.11
More information about the dev
mailing list