diff options
author | Quinn Tran <qutran@marvell.com> | 2024-07-10 20:10:55 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2024-07-11 05:44:10 +0300 |
commit | beafd692461443e0fb1d61aa56886bf85ef6f5e4 (patch) | |
tree | 44a4d9e60d08bf91dbd4a06693993f77be0c0110 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 348744f27a35e087acc9378bf53537fbfb072775 (diff) | |
download | linux-beafd692461443e0fb1d61aa56886bf85ef6f5e4.tar.xz |
scsi: qla2xxx: Reduce fabric scan duplicate code
For fabric scan, current code uses switch scan opcode and flags as the
method to iterate through different commands to carry out the process.
This makes it hard to read. This patch convert those opcode and flags into
steps. In addition, this help reduce some duplicate code.
Consolidate routines that handle GPNFT & GNNFT.
Cc: stable@vger.kernel.org
Signed-off-by: Quinn Tran <qutran@marvell.com>
Signed-off-by: Nilesh Javali <njavali@marvell.com>
Link: https://lore.kernel.org/r/20240710171057.35066-10-njavali@marvell.com
Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions