Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
srpt_rdma_ch Struct Reference

#include <ib_srpt.h>

Data Fields

wait_queue_head_t wait_queue
 
struct task_structthread
 
struct ib_cm_idcm_id
 
struct ib_qpqp
 
struct ib_cqcq
 
int rq_size
 
u32 rsp_size
 
atomic_t sq_wr_avail
 
struct srpt_portsport
 
u8 i_port_id [16]
 
u8 t_port_id [16]
 
int max_ti_iu_len
 
atomic_t req_lim
 
atomic_t req_lim_delta
 
spinlock_t spinlock
 
struct list_head free_list
 
enum rdma_ch_state state
 
struct srpt_send_ioctx ** ioctx_ring
 
struct ib_wc wc [16]
 
struct list_head list
 
struct list_head cmd_wait_list
 
struct se_sessionsess
 
u8 sess_name [36]
 
struct work_struct release_work
 
struct completionrelease_done
 

Detailed Description

struct srpt_rdma_ch - RDMA channel. : Allows the kernel thread to wait for more work. : Kernel thread that processes the IB queues associated with the channel. : IB CM ID associated with the channel. : IB queue pair used for communicating over this channel. : IB completion queue for this channel. : IB receive queue size. IB response message size in bytes. : number of work requests available in the send queue. : pointer to the information of the HCA port used by this channel. : 128-bit initiator port identifier copied from SRP_LOGIN_REQ. : 128-bit target port identifier copied from SRP_LOGIN_REQ. : maximum target-to-initiator information unit length. : request limit: maximum number of requests that may be sent by the initiator without having received a response. : Number of credits not yet sent back to the initiator. : Protects free_list and state. : Head of list with free send I/O contexts. : channel state. See also enum rdma_ch_state. : Send ring. : IB work completion array for srpt_process_completion(). : Node for insertion in the srpt_device.rch_list list. : List of SCSI commands that arrived before the RTU event. This list contains struct srpt_ioctx elements and is protected against concurrent modification by the cm_id spinlock. : Session information associated with this SRP channel. : Session name. : Allows scheduling of srpt_release_channel(). : Enables waiting for srpt_release_channel() completion.

Definition at line 303 of file ib_srpt.h.

Field Documentation

Definition at line 306 of file ib_srpt.h.

struct list_head cmd_wait_list

Definition at line 324 of file ib_srpt.h.

Definition at line 308 of file ib_srpt.h.

struct list_head free_list

Definition at line 319 of file ib_srpt.h.

u8 i_port_id[16]

Definition at line 313 of file ib_srpt.h.

struct srpt_send_ioctx** ioctx_ring

Definition at line 321 of file ib_srpt.h.

Definition at line 323 of file ib_srpt.h.

int max_ti_iu_len

Definition at line 315 of file ib_srpt.h.

Definition at line 307 of file ib_srpt.h.

struct completion* release_done

Definition at line 328 of file ib_srpt.h.

struct work_struct release_work

Definition at line 327 of file ib_srpt.h.

atomic_t req_lim

Definition at line 316 of file ib_srpt.h.

atomic_t req_lim_delta

Definition at line 317 of file ib_srpt.h.

int rq_size

Definition at line 309 of file ib_srpt.h.

u32 rsp_size

Definition at line 310 of file ib_srpt.h.

Definition at line 325 of file ib_srpt.h.

u8 sess_name[36]

Definition at line 326 of file ib_srpt.h.

Definition at line 318 of file ib_srpt.h.

struct srpt_port* sport

Definition at line 312 of file ib_srpt.h.

atomic_t sq_wr_avail

Definition at line 311 of file ib_srpt.h.

Definition at line 320 of file ib_srpt.h.

u8 t_port_id[16]

Definition at line 314 of file ib_srpt.h.

Definition at line 305 of file ib_srpt.h.

wait_queue_head_t wait_queue

Definition at line 304 of file ib_srpt.h.

struct ib_wc wc[16]

Definition at line 322 of file ib_srpt.h.


The documentation for this struct was generated from the following file: