[PATCH v5 1/4] bus/pci: fix registration of PCI device
Thomas Monjalon
thomas at monjalon.net
Thu Feb 6 12:22:02 CET 2025
06/02/2025 01:08, Shani Peretz:
> 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>
It's way simpler.
Acked-by: Thomas Monjalon <thomas at monjalon.net>
More information about the stable
mailing list