Linux Kernel
3.7.1
|
#include <linux/bsg-lib.h>
#include <scsi/scsi_transport_iscsi.h>
#include <scsi/scsi_bsg_iscsi.h>
#include "be_mgmt.h"
#include "be_iscsi.h"
Go to the source code of this file.
unsigned int be_cmd_get_initname | ( | struct beiscsi_hba * | phba | ) |
unsigned int be_cmd_get_port_speed | ( | struct beiscsi_hba * | phba | ) |
int be_mgmt_get_boot_shandle | ( | struct beiscsi_hba * | phba, |
unsigned int * | s_handle | ||
) |
be_mgmt_get_boot_shandle()- Get the session handle : device priv structure instance : session handle returned for boot session.
Get the boot target session handle. In case of crashdump mode driver has to issue and MBX Cmd for FW to login to boot target
return Success: 0 Failure: Non-Zero value
int mgmt_check_supported_fw | ( | struct be_ctrl_info * | ctrl, |
struct beiscsi_hba * | phba | ||
) |
int mgmt_epfw_cleanup | ( | struct beiscsi_hba * | phba, |
unsigned short | chute | ||
) |
unsigned int mgmt_get_all_if_id | ( | struct beiscsi_hba * | phba | ) |
unsigned int mgmt_get_boot_target | ( | struct beiscsi_hba * | phba | ) |
int mgmt_get_fw_config | ( | struct be_ctrl_info * | ctrl, |
struct beiscsi_hba * | phba | ||
) |
int mgmt_get_gateway | ( | struct beiscsi_hba * | phba, |
int | ip_type, | ||
struct be_cmd_get_def_gateway_resp * | gateway | ||
) |
int mgmt_get_if_info | ( | struct beiscsi_hba * | phba, |
int | ip_type, | ||
struct be_cmd_get_if_info_resp * | if_info | ||
) |
int mgmt_get_nic_conf | ( | struct beiscsi_hba * | phba, |
struct be_cmd_get_nic_conf_resp * | nic | ||
) |
unsigned int mgmt_get_session_info | ( | struct beiscsi_hba * | phba, |
u32 | boot_session_handle, | ||
struct be_dma_mem * | nonemb_cmd | ||
) |
unsigned int mgmt_invalidate_connection | ( | struct beiscsi_hba * | phba, |
struct beiscsi_endpoint * | beiscsi_ep, | ||
unsigned short | cid, | ||
unsigned short | issue_reset, | ||
unsigned short | savecfg_flag | ||
) |
unsigned int mgmt_invalidate_icds | ( | struct beiscsi_hba * | phba, |
struct invalidate_command_table * | inv_tbl, | ||
unsigned int | num_invalidate, | ||
unsigned int | cid, | ||
struct be_dma_mem * | nonemb_cmd | ||
) |
int mgmt_open_connection | ( | struct beiscsi_hba * | phba, |
struct sockaddr * | dst_addr, | ||
struct beiscsi_endpoint * | beiscsi_ep, | ||
struct be_dma_mem * | nonemb_cmd | ||
) |
unsigned int mgmt_reopen_session | ( | struct beiscsi_hba * | phba, |
unsigned int | reopen_type, | ||
unsigned int | sess_handle | ||
) |
Copyright (C) 2005 - 2011 Emulex All rights reserved.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation. The full GNU General Public License is included in this distribution in the file called COPYING.
Written by: Jayamohan Kallickal (jayam) ohan .kall icka l@emu lex. com
Contact Information: linux -dri vers@ emul ex.co m
Emulex 3333 Susan Street Costa Mesa, CA 92626 mgmt_reopen_session()- Reopen a session based on reopen_type : Device priv structure instance : Type of reopen_session FW should do. : Session Handle of the session to be re-opened
return the TAG used for MBOX Command
int mgmt_set_gateway | ( | struct beiscsi_hba * | phba, |
struct iscsi_iface_param_info * | gateway_param | ||
) |
int mgmt_set_ip | ( | struct beiscsi_hba * | phba, |
struct iscsi_iface_param_info * | ip_param, | ||
struct iscsi_iface_param_info * | subnet_param, | ||
uint32_t | boot_proto | ||
) |
int mgmt_set_vlan | ( | struct beiscsi_hba * | phba, |
uint16_t | vlan_tag | ||
) |
unsigned int mgmt_upload_connection | ( | struct beiscsi_hba * | phba, |
unsigned short | cid, | ||
unsigned int | upload_flag | ||
) |
unsigned int mgmt_vendor_specific_fw_cmd | ( | struct be_ctrl_info * | ctrl, |
struct beiscsi_hba * | phba, | ||
struct bsg_job * | job, | ||
struct be_dma_mem * | nonemb_cmd | ||
) |