> -----Original Message-----
> From: Xueming(Steven) Li <xuemi...@nvidia.com>
> Sent: Tuesday, July 13, 2021 16:14
> To: Slava Ovsiienko <viachesl...@nvidia.com>
> Cc: NBU-Contact-Thomas Monjalon <tho...@monjalon.net>;
> dev@dpdk.org; Xueming(Steven) Li <xuemi...@nvidia.com>; Matan Azrad
> <ma...@nvidia.com>; Shahaf Shuler <shah...@nvidia.com>; Ray Kinsella
> <m...@ashroe.eu>
> Subject: [PATCH v2 04/14] common/mlx5: get PCI device address from any
> bus
>
> From: Thomas Monjalon <tho...@monjalon.net>
>
> A function is exported to allow retrieving the PCI address of the parent PCI
> device of a Sub-Function in auxiliary bus sysfs.
> The function mlx5_dev_to_pci_str() is accepting both PCI and auxiliary
> devices. In case of a PCI device, it is simply using the device name.
>
> The function mlx5_dev_to_pci_addr(), which is based on sysfs path and do
> not use any device object, is renamed to mlx5_get_pci_addr() for clarity
> purpose.
>
> Signed-off-by: Thomas Monjalon <tho...@monjalon.net>
Acked-by: Viacheslav Ovsiienko <viachesl...@nvidia.com>