Re: [dpdk-dev] [PATCH v2 04/14] common/mlx5: get PCI device address from any bus

2021-07-13 Thread Slava Ovsiienko
> -Original Message- > From: Xueming(Steven) Li > Sent: Tuesday, July 13, 2021 16:14 > To: Slava Ovsiienko > Cc: NBU-Contact-Thomas Monjalon ; > dev@dpdk.org; Xueming(Steven) Li ; Matan Azrad > ; Shahaf Shuler ; Ray Kinsella > > Subject: [PATCH v2 04/14] common/mlx5: get PCI device addre

[dpdk-dev] [PATCH v2 04/14] common/mlx5: get PCI device address from any bus

2021-07-13 Thread Xueming Li
From: Thomas Monjalon 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 fun