Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Public Types | Data Fields
p9_trans_rdma Struct Reference

Public Types

enum  {
  P9_RDMA_INIT, P9_RDMA_ADDR_RESOLVED, P9_RDMA_ROUTE_RESOLVED, P9_RDMA_CONNECTED,
  P9_RDMA_FLUSHING, P9_RDMA_CLOSING, P9_RDMA_CLOSED
}
 

Data Fields

enum p9_trans_rdma:: { ... }  state
 
struct rdma_cm_idcm_id
 
struct ib_pdpd
 
struct ib_qpqp
 
struct ib_cqcq
 
struct ib_mrdma_mr
 
u32 lkey
 
long timeout
 
int sq_depth
 
struct semaphore sq_sem
 
int rq_depth
 
atomic_t rq_count
 
struct sockaddr_in addr
 
spinlock_t req_lock
 
struct completion cm_done
 

Detailed Description

struct p9_trans_rdma - RDMA transport instance

: tracks the transport state machine for connection setup and tear down : The RDMA CM ID : Protection Domain pointer : Queue Pair pointer : Completion Queue pointer : DMA Memory Region pointer : The local access only memory region key : Number of uSecs to wait for connection management events : The depth of the Send Queue : Semaphore for the SQ : The depth of the Receive Queue. : Count of requests in the Receive Queue. : The remote peer's address : Protects the active request list : Completion event for connection management tracking

Definition at line 81 of file trans_rdma.c.

Member Enumeration Documentation

anonymous enum
Enumerator:
P9_RDMA_INIT 
P9_RDMA_ADDR_RESOLVED 
P9_RDMA_ROUTE_RESOLVED 
P9_RDMA_CONNECTED 
P9_RDMA_FLUSHING 
P9_RDMA_CLOSING 
P9_RDMA_CLOSED 

Definition at line 82 of file trans_rdma.c.

Field Documentation

Definition at line 102 of file trans_rdma.c.

struct completion cm_done

Definition at line 105 of file trans_rdma.c.

Definition at line 91 of file trans_rdma.c.

Definition at line 94 of file trans_rdma.c.

struct ib_mr* dma_mr

Definition at line 95 of file trans_rdma.c.

u32 lkey

Definition at line 96 of file trans_rdma.c.

Definition at line 92 of file trans_rdma.c.

Definition at line 93 of file trans_rdma.c.

spinlock_t req_lock

Definition at line 103 of file trans_rdma.c.

atomic_t rq_count

Definition at line 101 of file trans_rdma.c.

int rq_depth

Definition at line 100 of file trans_rdma.c.

int sq_depth

Definition at line 98 of file trans_rdma.c.

struct semaphore sq_sem

Definition at line 99 of file trans_rdma.c.

enum { ... } state
long timeout

Definition at line 97 of file trans_rdma.c.


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