[PATCH v7 1/4] bus/pci: fix registration of PCI device
Stephen Hemminger
stephen at networkplumber.org
Wed Feb 19 17:44:34 CET 2025
On Wed, 12 Feb 2025 18:38:32 +0200
Shani Peretz <shperetz at nvidia.com> wrote:
> When registering a new PCI device, the device->name field stored
> the user-provided string from devargs (e.g., "08:00.0" or "0000:08:00.0").
> This approach led to inconsistencies when registering new devices.
>
> This patch fix this issue by saving the parsed PCI in device->name,
> so when a new PCI device is registering the name displayed in the device
> list will be the parsed version.
>
> Fixes: 23eaa9059ec2 ("bus/pci: use given name as generic name")
>
> Cc: stable at dpdk.org
> Signed-off-by: Shani Peretz <shperetz at nvidia.com>
Acked-by: Stephen Hemminger <stephen at networkplumber.org>
More information about the stable
mailing list