aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/be2iscsi/be_cmds.h
diff options
context:
space:
mode:
authorJohn Soni Jose <sony.john-n@emulex.com>2012-04-04 00:41:49 -0400
committerJames Bottomley <JBottomley@Parallels.com>2012-04-25 04:29:35 -0400
commit2177199d5150cf61bf26badcb6901176cc13787b (patch)
treed6fc1da211354f6601959ecb6fc7d2a704b1b039 /drivers/scsi/be2iscsi/be_cmds.h
parent605c6cd201714535e2723a60197228050f863a8f (diff)
[SCSI] be2iscsi: Get Initiator Name for the iSCSI_Host
Implement the ISCSI_HOST_PARAM_INITIATOR_NAME for .get_host_param Signed-off-by: John Soni Jose <sony.john-n@emulex.com> Signed-off-by: Jayamohan Kallickal <jayamohan.kallickal@emulex.com> Signed-off-by: Mike Christie <michaelc@cs.wisc.edu> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/be2iscsi/be_cmds.h')
-rw-r--r--drivers/scsi/be2iscsi/be_cmds.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/scsi/be2iscsi/be_cmds.h b/drivers/scsi/be2iscsi/be_cmds.h
index c85d73cfc79c..f343ed6a9e54 100644
--- a/drivers/scsi/be2iscsi/be_cmds.h
+++ b/drivers/scsi/be2iscsi/be_cmds.h
@@ -513,6 +513,17 @@ struct be_cmd_resp_get_mac_addr {
513 u32 rsvd[23]; 513 u32 rsvd[23];
514}; 514};
515 515
516#define BEISCSI_ALIAS_LEN 32
517
518struct be_cmd_hba_name {
519 struct be_cmd_req_hdr hdr;
520 u16 flags;
521 u16 rsvd0;
522 u8 initiator_name[ISCSI_NAME_LEN];
523 u8 initiator_alias[BEISCSI_ALIAS_LEN];
524} __packed;
525
526
516int beiscsi_cmd_eq_create(struct be_ctrl_info *ctrl, 527int beiscsi_cmd_eq_create(struct be_ctrl_info *ctrl,
517 struct be_queue_info *eq, int eq_delay); 528 struct be_queue_info *eq, int eq_delay);
518 529
@@ -531,6 +542,7 @@ int be_poll_mcc(struct be_ctrl_info *ctrl);
531int mgmt_check_supported_fw(struct be_ctrl_info *ctrl, 542int mgmt_check_supported_fw(struct be_ctrl_info *ctrl,
532 struct beiscsi_hba *phba); 543 struct beiscsi_hba *phba);
533unsigned int be_cmd_get_mac_addr(struct beiscsi_hba *phba); 544unsigned int be_cmd_get_mac_addr(struct beiscsi_hba *phba);
545unsigned int be_cmd_get_initname(struct beiscsi_hba *phba);
534unsigned int beiscsi_get_boot_target(struct beiscsi_hba *phba); 546unsigned int beiscsi_get_boot_target(struct beiscsi_hba *phba);
535unsigned int beiscsi_get_session_info(struct beiscsi_hba *phba, 547unsigned int beiscsi_get_session_info(struct beiscsi_hba *phba,
536 u32 boot_session_handle, 548 u32 boot_session_handle,