aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/be2iscsi/be_main.c
diff options
context:
space:
mode:
authorJayamohan Kallickal <jayamohank@gmail.com>2013-09-28 18:35:52 -0400
committerJames Bottomley <JBottomley@Parallels.com>2013-10-25 04:58:08 -0400
commit6103c1f7c750b701cca4662b1c0dc66c2dc49dad (patch)
treeaa20d0fc8575b4efffd4cd949dfb09f3b7d3d690 /drivers/scsi/be2iscsi/be_main.c
parentbd41c2bd86000514cf199891dabff86599796c0c (diff)
[SCSI] be2iscsi: Dispaly CID available for connection offload
Display CID available on each iSCSI Fn which can be used to offload a connection. The display is split across available CID on each chute. Signed-off-by: John Soni Jose <sony.john-n@emulex.com> Signed-off-by: Jayamohan Kallickal <jayamohan.kallickal@emulex.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/be2iscsi/be_main.c')
-rw-r--r--drivers/scsi/be2iscsi/be_main.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/drivers/scsi/be2iscsi/be_main.c b/drivers/scsi/be2iscsi/be_main.c
index b323569e5eb3..005ea62c3369 100644
--- a/drivers/scsi/be2iscsi/be_main.c
+++ b/drivers/scsi/be2iscsi/be_main.c
@@ -154,13 +154,17 @@ BEISCSI_RW_ATTR(log_enable, 0x00,
154DEVICE_ATTR(beiscsi_drvr_ver, S_IRUGO, beiscsi_drvr_ver_disp, NULL); 154DEVICE_ATTR(beiscsi_drvr_ver, S_IRUGO, beiscsi_drvr_ver_disp, NULL);
155DEVICE_ATTR(beiscsi_adapter_family, S_IRUGO, beiscsi_adap_family_disp, NULL); 155DEVICE_ATTR(beiscsi_adapter_family, S_IRUGO, beiscsi_adap_family_disp, NULL);
156DEVICE_ATTR(beiscsi_fw_ver, S_IRUGO, beiscsi_fw_ver_disp, NULL); 156DEVICE_ATTR(beiscsi_fw_ver, S_IRUGO, beiscsi_fw_ver_disp, NULL);
157DEVICE_ATTR(beiscsi_active_cid_count, S_IRUGO, beiscsi_active_cid_disp, NULL); 157DEVICE_ATTR(beiscsi_active_session_count, S_IRUGO,
158 beiscsi_active_session_disp, NULL);
159DEVICE_ATTR(beiscsi_free_session_count, S_IRUGO,
160 beiscsi_free_session_disp, NULL);
158struct device_attribute *beiscsi_attrs[] = { 161struct device_attribute *beiscsi_attrs[] = {
159 &dev_attr_beiscsi_log_enable, 162 &dev_attr_beiscsi_log_enable,
160 &dev_attr_beiscsi_drvr_ver, 163 &dev_attr_beiscsi_drvr_ver,
161 &dev_attr_beiscsi_adapter_family, 164 &dev_attr_beiscsi_adapter_family,
162 &dev_attr_beiscsi_fw_ver, 165 &dev_attr_beiscsi_fw_ver,
163 &dev_attr_beiscsi_active_cid_count, 166 &dev_attr_beiscsi_active_session_count,
167 &dev_attr_beiscsi_free_session_count,
164 NULL, 168 NULL,
165}; 169};
166 170