Linux Kernel
3.7.1
|
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/delay.h>
#include "iscsi_iser.h"
Go to the source code of this file.
Macros | |
#define | ISCSI_ISER_MAX_CONN 8 |
#define | ISER_MAX_RX_CQ_LEN (ISER_QP_MAX_RECV_DTOS * ISCSI_ISER_MAX_CONN) |
#define | ISER_MAX_TX_CQ_LEN (ISER_QP_MAX_REQ_DTOS * ISCSI_ISER_MAX_CONN) |
Functions | |
void | iser_conn_get (struct iser_conn *ib_conn) |
int | iser_conn_put (struct iser_conn *ib_conn, int can_destroy_id) |
void | iser_conn_terminate (struct iser_conn *ib_conn) |
void | iser_conn_init (struct iser_conn *ib_conn) |
int | iser_connect (struct iser_conn *ib_conn, struct sockaddr_in *src_addr, struct sockaddr_in *dst_addr, int non_blocking) |
int | iser_reg_page_vec (struct iser_conn *ib_conn, struct iser_page_vec *page_vec, struct iser_mem_reg *mem_reg) |
void | iser_unreg_mem (struct iser_mem_reg *reg) |
int | iser_post_recvl (struct iser_conn *ib_conn) |
int | iser_post_recvm (struct iser_conn *ib_conn, int count) |
int | iser_post_send (struct iser_conn *ib_conn, struct iser_tx_desc *tx_desc) |
#define ISCSI_ISER_MAX_CONN 8 |
Definition at line 40 of file iser_verbs.c.
#define ISER_MAX_RX_CQ_LEN (ISER_QP_MAX_RECV_DTOS * ISCSI_ISER_MAX_CONN) |
Definition at line 41 of file iser_verbs.c.
#define ISER_MAX_TX_CQ_LEN (ISER_QP_MAX_REQ_DTOS * ISCSI_ISER_MAX_CONN) |
Definition at line 42 of file iser_verbs.c.
Definition at line 421 of file iser_verbs.c.
Definition at line 589 of file iser_verbs.c.
Definition at line 426 of file iser_verbs.c.
triggers start of the disconnect procedures and wait for them to be done
Definition at line 438 of file iser_verbs.c.
int iser_connect | ( | struct iser_conn * | ib_conn, |
struct sockaddr_in * | src_addr, | ||
struct sockaddr_in * | dst_addr, | ||
int | non_blocking | ||
) |
starts the process of connecting to the target sleeps until the connection is established or rejected
Definition at line 604 of file iser_verbs.c.
Definition at line 731 of file iser_verbs.c.
Definition at line 755 of file iser_verbs.c.
int iser_post_send | ( | struct iser_conn * | ib_conn, |
struct iser_tx_desc * | tx_desc | ||
) |
iser_start_send - Initiate a Send DTO operation
returns 0 on success, -1 on failure
Definition at line 790 of file iser_verbs.c.
int iser_reg_page_vec | ( | struct iser_conn * | ib_conn, |
struct iser_page_vec * | page_vec, | ||
struct iser_mem_reg * | mem_reg | ||
) |
iser_reg_page_vec - Register physical memory
returns: 0 on success, errno code on failure
Definition at line 671 of file iser_verbs.c.
void iser_unreg_mem | ( | struct iser_mem_reg * | reg | ) |
Unregister (previosuly registered) memory.
Definition at line 718 of file iser_verbs.c.