scsi: qla2xxx: Add XCB counters to debugfs
authorAnil Gurumurthy <anil.gurumurthy@cavium.com>
Tue, 16 Jan 2018 04:46:52 +0000 (20:46 -0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 23 Jan 2018 01:03:54 +0000 (20:03 -0500)
Signed-off-by: Anil Gurumurthy <anil.gurumurthy@cavium.com>
Signed-off-by: Himanshu Madhani <himanshu.madhani@cavium.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qla2xxx/qla_dfs.c

index ddb53db..0b19008 100644 (file)
@@ -143,6 +143,15 @@ qla_dfs_fw_resource_cnt_show(struct seq_file *s, void *unused)
                seq_printf(s, "Current 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",
+                   mb[20]);
+               seq_printf(s, "Original Initiator fast XCB buffer cnt[%d]\n",
+                   mb[21]);
+               seq_printf(s, "Current free Initiator fast XCB buffer cnt[%d]\n",
+                   mb[22]);
+               seq_printf(s, "Original Target fast XCB buffer cnt[%d]\n",
+                   mb[23]);
+
        }
 
        return 0;