diff options
author | 2022-08-04 18:42:17 +0530 | |
---|---|---|
committer | 2022-08-22 23:34:05 -0400 | |
commit | 125ad1e6b445e8538e50d77d9c82ec811e98895e (patch) | |
tree | 0bdc5cf5c50326cb6803a6689d3a427ec8eb7c48 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | scsi: mpi3mr: Add framework to add phys to STL (diff) | |
download | linux-dev-125ad1e6b445e8538e50d77d9c82ec811e98895e.tar.xz linux-dev-125ad1e6b445e8538e50d77d9c82ec811e98895e.zip |
scsi: mpi3mr: Add helper functions to retrieve device objects
Add the following helper functions:
- Get the device's sas address by reading corresponding device's Device
page0
- Get the expander object from expander list based on expander's handle
- Get the target device object from target device list based on device's
sas address
- Get the expander device object from expander list based on expanders's
sas address
- Get hba port object from hba port table list based on port's port id
Link: https://lore.kernel.org/r/20220804131226.16653-7-sreekanth.reddy@broadcom.com
Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com>
Signed-off-by: Sreekanth Reddy <sreekanth.reddy@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions