scsi: qla2xxx: fix FW resource count values
This patch fixes issue where current and original exchanges count were swapped for intiator and targets. Also fix IOCB count for current and original which were swapped. Link: https://lore.kernel.org/r/20200226224022.24518-9-hmadhani@marvell.com Signed-off-by: Himanshu Madhani <hmadhani@marvell.com> Signed-off-by: Quinn Tran <qutran@marvell.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
parent
7b2a73963c
commit
ce1ee122e0
|
@ -134,11 +134,11 @@ qla_dfs_fw_resource_cnt_show(struct seq_file *s, void *unused)
|
|||
} else {
|
||||
seq_puts(s, "FW Resource count\n\n");
|
||||
seq_printf(s, "Original TGT exchg count[%d]\n", mb[1]);
|
||||
seq_printf(s, "current TGT exchg count[%d]\n", mb[2]);
|
||||
seq_printf(s, "original Initiator Exchange count[%d]\n", mb[3]);
|
||||
seq_printf(s, "Current Initiator Exchange count[%d]\n", mb[6]);
|
||||
seq_printf(s, "Original IOCB count[%d]\n", mb[7]);
|
||||
seq_printf(s, "Current IOCB count[%d]\n", mb[10]);
|
||||
seq_printf(s, "Current TGT exchg count[%d]\n", mb[2]);
|
||||
seq_printf(s, "Current Initiator Exchange count[%d]\n", mb[3]);
|
||||
seq_printf(s, "Original Initiator Exchange count[%d]\n", mb[6]);
|
||||
seq_printf(s, "Current IOCB count[%d]\n", mb[7]);
|
||||
seq_printf(s, "Original IOCB count[%d]\n", mb[10]);
|
||||
seq_printf(s, "MAX VP count[%d]\n", mb[11]);
|
||||
seq_printf(s, "MAX FCF count[%d]\n", mb[12]);
|
||||
seq_printf(s, "Current free pageable XCB buffer cnt[%d]\n",
|
||||
|
@ -149,7 +149,6 @@ qla_dfs_fw_resource_cnt_show(struct seq_file *s, void *unused)
|
|||
mb[22]);
|
||||
seq_printf(s, "Original Target fast XCB buffer cnt[%d]\n",
|
||||
mb[23]);
|
||||
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
|
Loading…
Reference in New Issue