diff options
| author | Leon Romanovsky <leonro@nvidia.com> | 2026-07-13 07:41:24 -0400 |
|---|---|---|
| committer | Leon Romanovsky <leonro@nvidia.com> | 2026-07-13 07:41:24 -0400 |
| commit | b9cb5e81f7d90ff83c5e18bbdcce6d3e3bd48a2f (patch) | |
| tree | 362cbf76afedb1c4168c6d0709769cd888d6a87c /tools/perf/scripts/python | |
| parent | af9117d02f50514c998714b23820de71d0aa5d24 (diff) | |
RDMA/hfi1: Pass PCI device to hfi1_pcie_init()
hfi1_pcie_init() only needs hfi1_devdata to reach the PCI device. This
unnecessary dependency prevents common PCI setup from running before
hfi1_devdata is allocated.
Pass pci_dev directly and report failures with dev_err(), preserving the
device BDF needed to identify the failing adapter on multi-device systems.
Use %pe while changing the messages so errno values are decoded.
Link: https://patch.msgid.link/20260708-clean-init-one-hfi1-v1-4-b9e9641268a5@nvidia.com
Reviewed-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
