Linux Kernel
3.7.1
|
Go to the source code of this file.
Macros | |
#define | BE2_IPV4 0x1 |
#define | BE2_IPV6 0x10 |
#define | BE2_DHCP_V4 0x05 |
#define | NON_BLOCKING 0x0 |
#define | BLOCKING 0x1 |
#define BE2_DHCP_V4 0x05 |
Definition at line 28 of file be_iscsi.h.
#define BE2_IPV4 0x1 |
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
Definition at line 26 of file be_iscsi.h.
#define BE2_IPV6 0x10 |
Definition at line 27 of file be_iscsi.h.
#define BLOCKING 0x1 |
Definition at line 31 of file be_iscsi.h.
#define NON_BLOCKING 0x0 |
Definition at line 30 of file be_iscsi.h.
Definition at line 1296 of file be_iscsi.c.
int be2iscsi_iface_get_param | ( | struct iscsi_iface * | iface, |
enum iscsi_param_type | param_type, | ||
int | param, | ||
char * | buf | ||
) |
Definition at line 569 of file be_iscsi.c.
Definition at line 459 of file be_iscsi.c.
int beiscsi_conn_bind | ( | struct iscsi_cls_session * | cls_session, |
struct iscsi_cls_conn * | cls_conn, | ||
u64 | transport_fd, | ||
int | is_leading | ||
) |
beiscsi_conn_bind - Binds iscsi session/connection with TCP connection : pointer to iscsi cls session : pointer to iscsi cls conn : EP handle(64 bit)
This function binds the TCP Conn with iSCSI Connection and Session.
Definition at line 187 of file be_iscsi.c.
|
read |
beiscsi_conn_create - create an instance of iscsi connection : ptr to iscsi_cls_session : iscsi cid
Definition at line 122 of file be_iscsi.c.
void beiscsi_conn_get_stats | ( | struct iscsi_cls_conn * | cls_conn, |
struct iscsi_stats * | stats | ||
) |
beiscsi_conn_get_stats - get the iscsi stats : pointer to iscsi cls conn : pointer to iscsi_stats structure
returns iscsi stats
Definition at line 886 of file be_iscsi.c.
int beiscsi_conn_start | ( | struct iscsi_cls_conn * | cls_conn | ) |
beiscsi_conn_start - offload of session to chip : pointer to beiscsi_conn
Definition at line 948 of file be_iscsi.c.
void beiscsi_create_def_ifaces | ( | struct beiscsi_hba * | phba | ) |
Definition at line 264 of file be_iscsi.c.
void beiscsi_destroy_def_ifaces | ( | struct beiscsi_hba * | phba | ) |
Definition at line 275 of file be_iscsi.c.
|
read |
beiscsi_ep_connect - Ask chip to create TCP Conn : Pointer to scsi_host structure : The IP address of Target : blocking or non-blocking call
This routines first asks chip to create a connection and then allocates an EP
Definition at line 1134 of file be_iscsi.c.
void beiscsi_ep_disconnect | ( | struct iscsi_endpoint * | ep | ) |
beiscsi_ep_disconnect - Tears down the TCP connection : endpoint to be used
Tears down the TCP connection
Definition at line 1251 of file be_iscsi.c.
int beiscsi_ep_get_param | ( | struct iscsi_endpoint * | ep, |
enum iscsi_param | param, | ||
char * | buf | ||
) |
int beiscsi_ep_poll | ( | struct iscsi_endpoint * | ep, |
int | timeout_ms | ||
) |
beiscsi_ep_poll - Poll to see if connection is established : endpoint to be used : timeout specified in millisecs
Poll to see if TCP connection established
Definition at line 1188 of file be_iscsi.c.
int beiscsi_get_host_param | ( | struct Scsi_Host * | shost, |
enum iscsi_host_param | param, | ||
char * | buf | ||
) |
int beiscsi_get_macaddr | ( | char * | buf, |
struct beiscsi_hba * | phba | ||
) |
Definition at line 862 of file be_iscsi.c.
void beiscsi_offload_connection | ( | struct beiscsi_conn * | beiscsi_conn, |
struct beiscsi_offload_params * | params | ||
) |
void beiscsi_offload_iscsi | ( | struct beiscsi_hba * | phba, |
struct iscsi_conn * | conn, | ||
struct beiscsi_conn * | beiscsi_conn, | ||
unsigned int | fw_handle | ||
) |
|
read |
beiscsi_session_create - creates a new iscsi session : max commands supported : max queue depth supported : initial iscsi CMDSN
Definition at line 40 of file be_iscsi.c.
void beiscsi_session_destroy | ( | struct iscsi_cls_session * | cls_session | ) |
beiscsi_session_destroy - destroys iscsi session : pointer to iscsi cls session
Destroys iSCSI session instance and releases resources allocated for it.
Definition at line 106 of file be_iscsi.c.
int beiscsi_set_param | ( | struct iscsi_cls_conn * | cls_conn, |
enum iscsi_param | param, | ||
char * | buf, | ||
int | buflen | ||
) |
Definition at line 639 of file be_iscsi.c.