be2iscsi : Logout of FW Boot Session
Once be2iscsi driver is loaded and operational close Boot session established by FW. Signed-off-by: John Soni Jose <sony.john-n@emulex.com> Signed-off-by: Jayamohan Kallickal <jayamohan.kallickal@emulex.com> Reviewed-by: Mike Christie <michaelc@cs.wisc.edu> Signed-off-by: James Bottomley <JBottomley@Odin.com>
This commit is contained in:

committed by
James Bottomley

parent
eb1c46924d
commit
3f4134c12a
@@ -304,6 +304,17 @@ struct mgmt_auth_method_format {
|
||||
struct mgmt_chap_format chap;
|
||||
} __packed;
|
||||
|
||||
struct be_cmd_req_logout_fw_sess {
|
||||
struct be_cmd_req_hdr hdr; /* dw[4] */
|
||||
uint32_t session_handle;
|
||||
} __packed;
|
||||
|
||||
struct be_cmd_resp_logout_fw_sess {
|
||||
struct be_cmd_resp_hdr hdr; /* dw[4] */
|
||||
#define BEISCSI_MGMT_SESSION_CLOSE 0x20
|
||||
uint32_t session_status;
|
||||
} __packed;
|
||||
|
||||
struct mgmt_conn_login_options {
|
||||
u8 flags;
|
||||
u8 header_digest;
|
||||
@@ -1136,6 +1147,7 @@ struct be_cmd_get_all_if_id_req {
|
||||
#define OPCODE_ISCSI_INI_CFG_GET_HBA_NAME 6
|
||||
#define OPCODE_ISCSI_INI_CFG_SET_HBA_NAME 7
|
||||
#define OPCODE_ISCSI_INI_SESSION_GET_A_SESSION 14
|
||||
#define OPCODE_ISCSI_INI_SESSION_LOGOUT_TARGET 24
|
||||
#define OPCODE_ISCSI_INI_DRIVER_REOPEN_ALL_SESSIONS 36
|
||||
#define OPCODE_ISCSI_INI_DRIVER_OFFLOAD_SESSION 41
|
||||
#define OPCODE_ISCSI_INI_DRIVER_INVALIDATE_CONNECTION 42
|
||||
|
Reference in New Issue
Block a user