[PATCH v8 1/1] app/testpmd: canonicalize short PCI name format
Stephen Hemminger
stephen at networkplumber.org
Wed Jul 9 19:38:28 CEST 2025
On Tue, 8 Jul 2025 11:37:40 +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 stings, 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>
Looks good, but builds are failing and there is a typo s/stings/strings/
Please resubmit
More information about the dev
mailing list