Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions | Variables
c2_wr.h File Reference

Go to the source code of this file.

Data Structures

struct  c2_netaddr
 
struct  c2_route
 
struct  c2_data_addr
 
struct  c2wr_hdr
 
struct  c2wr_rnic_open_req
 
struct  c2wr_rnic_open_rep
 
union  c2wr_rnic_open
 
struct  c2wr_rnic_query_req
 
struct  c2wr_rnic_query_rep
 
union  c2wr_rnic_query
 
struct  c2wr_rnic_getconfig_req
 
struct  c2wr_rnic_getconfig_rep
 
union  c2wr_rnic_getconfig
 
struct  c2wr_rnic_setconfig_req
 
struct  c2wr_rnic_setconfig_rep
 
union  c2wr_rnic_setconfig
 
struct  c2wr_rnic_close_req
 
struct  c2wr_rnic_close_rep
 
union  c2wr_rnic_close
 
struct  c2wr_cq_create_req
 
struct  c2wr_cq_create_rep
 
union  c2wr_cq_create
 
struct  c2wr_cq_modify_req
 
struct  c2wr_cq_modify_rep
 
union  c2wr_cq_modify
 
struct  c2wr_cq_destroy_req
 
struct  c2wr_cq_destroy_rep
 
union  c2wr_cq_destroy
 
struct  c2wr_pd_alloc_req
 
struct  c2wr_pd_alloc_rep
 
union  c2wr_pd_alloc
 
struct  c2wr_pd_dealloc_req
 
struct  c2wr_pd_dealloc_rep
 
union  c2wr_pd_dealloc
 
struct  c2wr_srq_create_req
 
struct  c2wr_srq_create_rep
 
union  c2wr_srq_create
 
struct  c2wr_srq_destroy_req
 
struct  c2wr_srq_destroy_rep
 
union  c2wr_srq_destroy
 
struct  c2wr_qp_create_req
 
struct  c2wr_qp_create_rep
 
union  c2wr_qp_create
 
struct  c2wr_qp_query_req
 
struct  c2wr_qp_query_rep
 
union  c2wr_qp_query
 
struct  c2wr_qp_modify_req
 
struct  c2wr_qp_modify_rep
 
union  c2wr_qp_modify
 
struct  c2wr_qp_destroy_req
 
struct  c2wr_qp_destroy_rep
 
union  c2wr_qp_destroy
 
struct  c2wr_qp_connect_req
 
struct  c2wr_qp_connect
 
struct  c2wr_nsmr_stag_alloc_req
 
struct  c2wr_nsmr_stag_alloc_rep
 
union  c2wr_nsmr_stag_alloc
 
struct  c2wr_nsmr_register_req
 
struct  c2wr_nsmr_register_rep
 
union  c2wr_nsmr_register
 
struct  c2wr_nsmr_pbl_req
 
struct  c2wr_nsmr_pbl_rep
 
union  c2wr_nsmr_pbl
 
struct  c2wr_mr_query_req
 
struct  c2wr_mr_query_rep
 
union  c2wr_mr_query
 
struct  c2wr_mw_query_req
 
struct  c2wr_mw_query_rep
 
union  c2wr_mw_query
 
struct  c2wr_stag_dealloc_req
 
struct  c2wr_stag_dealloc_rep
 
union  c2wr_stag_dealloc
 
struct  c2wr_nsmr_reregister_req
 
struct  c2wr_nsmr_reregister_rep
 
union  c2wr_nsmr_reregister
 
struct  c2wr_smr_register_req
 
struct  c2wr_smr_register_rep
 
union  c2wr_smr_register
 
struct  c2wr_mw_alloc_req
 
struct  c2wr_mw_alloc_rep
 
union  c2wr_mw_alloc
 
struct  c2wr_user_hdr
 
struct  c2wr_ce
 
struct  c2_sq_hdr
 
struct  c2_rq_hdr
 
struct  c2wr_send_req
 
union  c2wr_send
 
struct  c2wr_rdma_write_req
 
union  c2wr_rdma_write
 
struct  c2wr_rdma_read_req
 
union  c2wr_rdma_read
 
struct  c2wr_mw_bind_req
 
union  c2wr_mw_bind
 
struct  c2wr_nsmr_fastreg_req
 
union  c2wr_nsmr_fastreg
 
struct  c2wr_stag_invalidate_req
 
union  c2wr_stag_invalidate
 
union  c2wr_sqwr
 
struct  c2wr_rqwr
 
union  c2wr_recv
 
struct  c2wr_ae_hdr
 
struct  c2wr_ae_active_connect_results
 
struct  c2wr_ae_connection_request
 
union  c2wr_ae
 
struct  c2wr_init_req
 
struct  c2wr_init_rep
 
union  c2wr_init
 
struct  c2wr_flash_init_req
 
struct  c2wr_flash_init_rep
 
union  c2wr_flash_init
 
struct  c2wr_flash_req
 
struct  c2wr_flash_rep
 
union  c2wr_flash
 
struct  c2wr_buf_alloc_req
 
struct  c2wr_buf_alloc_rep
 
union  c2wr_buf_alloc
 
struct  c2wr_buf_free_req
 
struct  c2wr_buf_free_rep
 
union  c2wr_buf_free
 
struct  c2wr_flash_write_req
 
struct  c2wr_flash_write_rep
 
union  c2wr_flash_write
 
struct  c2wr_ep_listen_create_req
 
struct  c2wr_ep_listen_create_rep
 
union  c2wr_ep_listen_create
 
struct  c2wr_ep_listen_destroy_req
 
struct  c2wr_ep_listen_destroy_rep
 
union  c2wr_ep_listen_destroy
 
struct  c2wr_ep_query_req
 
struct  c2wr_ep_query_rep
 
union  c2wr_ep_query
 
struct  c2wr_cr_accept_req
 
struct  c2wr_cr_accept_rep
 
union  c2wr_cr_accept
 
struct  c2wr_cr_reject_req
 
struct  c2wr_cr_reject_rep
 
union  c2wr_cr_reject
 
struct  c2wr_console_req
 
struct  c2wr_console_rep
 
union  c2wr_console
 
union  c2wr
 

Macros

#define C2_QP_NO_ATTR_CHANGE   0xFFFFFFFF
 
#define C2_MAX_PRIVATE_DATA_SIZE   200
 
#define RDMA_SEND_OPCODE_FROM_WR_ID(x)   (x+2)
 
#define C2_FLASH_IMG_BITFILE   1
 
#define C2_FLASH_IMG_OPTION_ROM   2
 
#define C2_FLASH_IMG_VPD   3
 
#define C2_MAX_TERMINATE_MESSAGE_SIZE   (72)
 
#define WR_BUILD_STR_LEN   64
 

Enumerations

enum  c2_cq_notification_type { C2_CQ_NOTIFICATION_TYPE_NONE = 1, C2_CQ_NOTIFICATION_TYPE_NEXT, C2_CQ_NOTIFICATION_TYPE_NEXT_SE }
 
enum  c2_setconfig_cmd { C2_CFG_ADD_ADDR = 1, C2_CFG_DEL_ADDR = 2, C2_CFG_ADD_ROUTE = 3, C2_CFG_DEL_ROUTE = 4 }
 
enum  c2_getconfig_cmd { C2_GETCONFIG_ROUTES = 1, C2_GETCONFIG_ADDRS }
 
enum  c2wr_ids {
  CCWR_RNIC_OPEN = 1, CCWR_RNIC_QUERY, CCWR_RNIC_SETCONFIG, CCWR_RNIC_GETCONFIG,
  CCWR_RNIC_CLOSE, CCWR_CQ_CREATE, CCWR_CQ_QUERY, CCWR_CQ_MODIFY,
  CCWR_CQ_DESTROY, CCWR_QP_CONNECT, CCWR_PD_ALLOC, CCWR_PD_DEALLOC,
  CCWR_SRQ_CREATE, CCWR_SRQ_QUERY, CCWR_SRQ_MODIFY, CCWR_SRQ_DESTROY,
  CCWR_QP_CREATE, CCWR_QP_QUERY, CCWR_QP_MODIFY, CCWR_QP_DESTROY,
  CCWR_NSMR_STAG_ALLOC, CCWR_NSMR_REGISTER, CCWR_NSMR_PBL, CCWR_STAG_DEALLOC,
  CCWR_NSMR_REREGISTER, CCWR_SMR_REGISTER, CCWR_MR_QUERY, CCWR_MW_ALLOC,
  CCWR_MW_QUERY, CCWR_EP_CREATE, CCWR_EP_GETOPT, CCWR_EP_SETOPT,
  CCWR_EP_DESTROY, CCWR_EP_BIND, CCWR_EP_CONNECT, CCWR_EP_LISTEN,
  CCWR_EP_SHUTDOWN, CCWR_EP_LISTEN_CREATE, CCWR_EP_LISTEN_DESTROY, CCWR_EP_QUERY,
  CCWR_CR_ACCEPT, CCWR_CR_REJECT, CCWR_CONSOLE, CCWR_TERM,
  CCWR_FLASH_INIT, CCWR_FLASH, CCWR_BUF_ALLOC, CCWR_BUF_FREE,
  CCWR_FLASH_WRITE, CCWR_INIT, CCWR_LAST, CCWR_SEND = 1,
  CCWR_SEND_INV, CCWR_SEND_SE, CCWR_SEND_SE_INV, CCWR_RDMA_WRITE,
  CCWR_RDMA_READ, CCWR_RDMA_READ_INV, CCWR_MW_BIND, CCWR_NSMR_FASTREG,
  CCWR_STAG_INVALIDATE, CCWR_RECV, CCWR_NOP, CCWR_UNIMPL
}
 
enum  c2_wr_type {
  C2_WR_TYPE_SEND = CCWR_SEND, C2_WR_TYPE_SEND_SE = CCWR_SEND_SE, C2_WR_TYPE_SEND_INV = CCWR_SEND_INV, C2_WR_TYPE_SEND_SE_INV = CCWR_SEND_SE_INV,
  C2_WR_TYPE_RDMA_WRITE = CCWR_RDMA_WRITE, C2_WR_TYPE_RDMA_READ = CCWR_RDMA_READ, C2_WR_TYPE_RDMA_READ_INV_STAG = CCWR_RDMA_READ_INV, C2_WR_TYPE_BIND_MW = CCWR_MW_BIND,
  C2_WR_TYPE_FASTREG_NSMR = CCWR_NSMR_FASTREG, C2_WR_TYPE_INV_STAG = CCWR_STAG_INVALIDATE, C2_WR_TYPE_RECV = CCWR_RECV, C2_WR_TYPE_NOP = CCWR_NOP
}
 
enum  c2_mm_flags {
  MEM_REMOTE = 0x0001, MEM_VA_BASED = 0x0002, MEM_PBL_COMPLETE = 0x0004, MEM_LOCAL_READ = 0x0008,
  MEM_LOCAL_WRITE = 0x0010, MEM_REMOTE_READ = 0x0020, MEM_REMOTE_WRITE = 0x0040, MEM_WINDOW_BIND = 0x0080,
  MEM_SHARED = 0x0100, MEM_STAG_VALID = 0x0200
}
 
enum  c2_acf {
  C2_ACF_LOCAL_READ = MEM_LOCAL_READ, C2_ACF_LOCAL_WRITE = MEM_LOCAL_WRITE, C2_ACF_REMOTE_READ = MEM_REMOTE_READ, C2_ACF_REMOTE_WRITE = MEM_REMOTE_WRITE,
  C2_ACF_WINDOW_BIND = MEM_WINDOW_BIND
}
 
enum  c2_rnic_flags {
  RNIC_IRD_STATIC = 0x0001, RNIC_ORD_STATIC = 0x0002, RNIC_QP_STATIC = 0x0004, RNIC_SRQ_SUPPORTED = 0x0008,
  RNIC_PBL_BLOCK_MODE = 0x0010, RNIC_SRQ_MODEL_ARRIVAL = 0x0020, RNIC_CQ_OVF_DETECTED = 0x0040, RNIC_PRIV_MODE = 0x0080
}
 
enum  c2wr_qp_flags {
  QP_RDMA_READ = 0x00000001, QP_RDMA_WRITE = 0x00000002, QP_MW_BIND = 0x00000004, QP_ZERO_STAG = 0x00000008,
  QP_REMOTE_TERMINATION = 0x00000010, QP_RDMA_READ_RESPONSE = 0x00000020
}
 
enum  c2_qp_state {
  C2_QP_STATE_IDLE = 0x01, C2_QP_STATE_CONNECTING = 0x02, C2_QP_STATE_RTS = 0x04, C2_QP_STATE_CLOSING = 0x08,
  C2_QP_STATE_TERMINATE = 0x10, C2_QP_STATE_ERROR = 0x20
}
 
enum  { SQ_SIGNALED = 0x01, SQ_READ_FENCE = 0x02, SQ_FENCE = 0x04 }
 
enum  c2_console_flags
 

Functions

struct c2wr_hdr __attribute__ ((packed))
 

Variables

__be32 wqe_count
 
u8 id
 
u8 result
 
u8 sge_count
 
u8 flags
 
u64 context
 
enum c2_rnic_flags __attribute__
 
struct c2wr_hdr hdr
 
u64 user_context
 
__be16 port_num
 
u32 rnic_handle
 
struct c2wr_rnic_open_req req
 
struct c2wr_rnic_open_rep rep
 
__be32 vendor_id
 
__be32 part_number
 
__be32 hw_version
 
__be32 fw_ver_major
 
__be32 fw_ver_minor
 
__be32 fw_ver_patch
 
char fw_ver_build_str [WR_BUILD_STR_LEN]
 
__be32 max_qps
 
__be32 max_qp_depth
 
u32 max_srq_depth
 
u32 max_send_sgl_depth
 
u32 max_rdma_sgl_depth
 
__be32 max_cqs
 
__be32 max_cq_depth
 
u32 max_cq_event_handlers
 
__be32 max_mrs
 
u32 max_pbl_depth
 
__be32 max_pds
 
__be32 max_global_ird
 
u32 max_global_ord
 
__be32 max_qp_ird
 
__be32 max_qp_ord
 
__be32 max_mws
 
u32 pbe_range_low
 
u32 pbe_range_high
 
u32 max_srqs
 
u32 page_size
 
u32 option
 
u64 reply_buf
 
u32 reply_buf_len
 
u32 count_len
 
u8 data [0]
 
__be64 shared_ht
 
__be64 msg_pool
 
__be32 msg_size
 
__be32 depth
 
__be32 mq_index
 
__be32 adapter_shared
 
u32 cq_handle
 
u32 new_depth
 
u64 new_msg_pool
 
u32 pd_id
 
u32 srq_depth
 
u32 srq_limit
 
u32 sgl_depth
 
u32 mq_start
 
u32 srq_handle
 
__be64 shared_sq_ht
 
__be64 shared_rq_ht
 
u32 sq_cq_handle
 
u32 rq_cq_handle
 
__be32 sq_depth
 
__be32 rq_depth
 
__be32 send_sgl_depth
 
__be32 recv_sgl_depth
 
__be32 rdma_write_sgl_depth
 
__be32 ord
 
__be32 ird
 
__be32 sq_msg_size
 
__be32 sq_mq_index
 
__be32 sq_mq_start
 
__be32 rq_msg_size
 
__be32 rq_mq_index
 
__be32 rq_mq_start
 
u32 qp_handle
 
u16 qp_state
 
u32 qp_id
 
u32 local_addr
 
u32 remote_addr
 
u16 local_port
 
u16 remote_port
 
u32 terminate_msg_length
 
u64 stream_msg
 
u32 stream_msg_length
 
__be32 next_qp_state
 
u32 llp_ep_handle
 
u16 pad
 
__be32 private_data_length
 
u8 private_data [0]
 
u32 pbl_depth
 
u32 stag_index
 
__be64 va
 
u8 stag_key
 
__be32 pbe_size
 
__be32 fbo
 
__be32 length
 
__be32 addrs_length
 
__be64 paddrs [0]
 
u32 pad1
 
u64 qp_user_context
 
u32 handle
 
__be32 bytes_rcvd
 
u32 stag
 
struct c2wr_user_hdr user_hdr
 
struct c2_sq_hdr sq_hdr
 
__be32 sge_len
 
__be32 remote_stag
 
__be64 remote_to
 
__be64 local_to
 
__be32 local_stag
 
u32 mw_stag_index
 
u32 mr_stag_index
 
struct c2wr_send_req send
 
struct c2wr_send_req send_se
 
struct c2wr_send_req send_inv
 
struct c2wr_send_req send_se_inv
 
struct c2wr_rdma_write_req rdma_write
 
struct c2wr_rdma_read_req rdma_read
 
struct c2wr_mw_bind_req mw_bind
 
struct c2wr_nsmr_fastreg_req nsmr_fastreg
 
struct c2wr_stag_invalidate_req stag_inv
 
struct c2_rq_hdr rq_hdr
 
__be32 resource_type
 
__be32 resource
 
struct c2wr_ae_hdr ae_hdr
 
__be32 laddr
 
__be32 raddr
 
__be16 lport
 
__be16 rport
 
u32 cr_handle
 
struct c2wr_ae_hdr ae_generic
 
struct
c2wr_ae_active_connect_results 
ae_active_connect_results
 
struct c2wr_ae_connection_request ae_connection_request
 
__be64 hint_count
 
__be64 q0_host_shared
 
__be64 q1_host_shared
 
__be64 q1_host_msg_pool
 
__be64 q2_host_shared
 
__be64 q2_host_msg_pool
 
u32 adapter_flash_buf_offset
 
u32 adapter_flash_len
 
u32 len
 
u32 status
 
u32 size
 
u32 offset
 
u32 type
 
__be32 backlog
 
u32 ep_handle
 
u8 command [0]
 
 CONS_REPLY_TRUNCATED = 0x00000001
 
union c2wr_rnic_open rnic_open
 
union c2wr_rnic_query rnic_query
 
union c2wr_rnic_getconfig rnic_getconfig
 
union c2wr_rnic_setconfig rnic_setconfig
 
union c2wr_rnic_close rnic_close
 
union c2wr_cq_create cq_create
 
union c2wr_cq_modify cq_modify
 
union c2wr_cq_destroy cq_destroy
 
union c2wr_pd_alloc pd_alloc
 
union c2wr_pd_dealloc pd_dealloc
 
union c2wr_srq_create srq_create
 
union c2wr_srq_destroy srq_destroy
 
union c2wr_qp_create qp_create
 
union c2wr_qp_query qp_query
 
union c2wr_qp_modify qp_modify
 
union c2wr_qp_destroy qp_destroy
 
struct c2wr_qp_connect qp_connect
 
union c2wr_nsmr_stag_alloc nsmr_stag_alloc
 
union c2wr_nsmr_register nsmr_register
 
union c2wr_nsmr_pbl nsmr_pbl
 
union c2wr_mr_query mr_query
 
union c2wr_mw_query mw_query
 
union c2wr_stag_dealloc stag_dealloc
 
union c2wr_sqwr sqwr
 
struct c2wr_rqwr rqwr
 
struct c2wr_ce ce
 
union c2wr_ae ae
 
union c2wr_init init
 
union c2wr_ep_listen_create ep_listen_create
 
union c2wr_ep_listen_destroy ep_listen_destroy
 
union c2wr_cr_accept cr_accept
 
union c2wr_cr_reject cr_reject
 
union c2wr_console console
 
union c2wr_flash_init flash_init
 
union c2wr_flash flash
 
union c2wr_buf_alloc buf_alloc
 
union c2wr_buf_free buf_free
 
union c2wr_flash_write flash_write
 

Macro Definition Documentation

#define C2_FLASH_IMG_BITFILE   1

Definition at line 238 of file c2_wr.h.

#define C2_FLASH_IMG_OPTION_ROM   2

Definition at line 239 of file c2_wr.h.

#define C2_FLASH_IMG_VPD   3

Definition at line 240 of file c2_wr.h.

#define C2_MAX_PRIVATE_DATA_SIZE   200

Definition at line 45 of file c2_wr.h.

#define C2_MAX_TERMINATE_MESSAGE_SIZE   (72)

Definition at line 254 of file c2_wr.h.

#define C2_QP_NO_ATTR_CHANGE   0xFFFFFFFF

Definition at line 40 of file c2_wr.h.

#define RDMA_SEND_OPCODE_FROM_WR_ID (   x)    (x+2)

Definition at line 162 of file c2_wr.h.

#define WR_BUILD_STR_LEN   64

Definition at line 259 of file c2_wr.h.

Enumeration Type Documentation

anonymous enum
Enumerator:
SQ_SIGNALED 
SQ_READ_FENCE 
SQ_FENCE 

Definition at line 961 of file c2_wr.h.

enum c2_acf
Enumerator:
C2_ACF_LOCAL_READ 
C2_ACF_LOCAL_WRITE 
C2_ACF_REMOTE_READ 
C2_ACF_REMOTE_WRITE 
C2_ACF_WINDOW_BIND 

Definition at line 227 of file c2_wr.h.

Definition at line 1406 of file c2_wr.h.

Enumerator:
C2_CQ_NOTIFICATION_TYPE_NONE 
C2_CQ_NOTIFICATION_TYPE_NEXT 
C2_CQ_NOTIFICATION_TYPE_NEXT_SE 

Definition at line 50 of file c2_wr.h.

Enumerator:
C2_GETCONFIG_ROUTES 
C2_GETCONFIG_ADDRS 

Definition at line 63 of file c2_wr.h.

Enumerator:
MEM_REMOTE 
MEM_VA_BASED 
MEM_PBL_COMPLETE 
MEM_LOCAL_READ 
MEM_LOCAL_WRITE 
MEM_REMOTE_READ 
MEM_REMOTE_WRITE 
MEM_WINDOW_BIND 
MEM_SHARED 
MEM_STAG_VALID 

Definition at line 210 of file c2_wr.h.

Enumerator:
C2_QP_STATE_IDLE 
C2_QP_STATE_CONNECTING 
C2_QP_STATE_RTS 
C2_QP_STATE_CLOSING 
C2_QP_STATE_TERMINATE 
C2_QP_STATE_ERROR 

Definition at line 937 of file c2_wr.h.

Enumerator:
RNIC_IRD_STATIC 
RNIC_ORD_STATIC 
RNIC_QP_STATIC 
RNIC_SRQ_SUPPORTED 
RNIC_PBL_BLOCK_MODE 
RNIC_SRQ_MODEL_ARRIVAL 
RNIC_CQ_OVF_DETECTED 
RNIC_PRIV_MODE 

Definition at line 305 of file c2_wr.h.

Enumerator:
C2_CFG_ADD_ADDR 
C2_CFG_DEL_ADDR 
C2_CFG_ADD_ROUTE 
C2_CFG_DEL_ROUTE 

Definition at line 56 of file c2_wr.h.

enum c2_wr_type
Enumerator:
C2_WR_TYPE_SEND 
C2_WR_TYPE_SEND_SE 
C2_WR_TYPE_SEND_INV 
C2_WR_TYPE_SEND_SE_INV 
C2_WR_TYPE_RDMA_WRITE 
C2_WR_TYPE_RDMA_READ 
C2_WR_TYPE_RDMA_READ_INV_STAG 
C2_WR_TYPE_BIND_MW 
C2_WR_TYPE_FASTREG_NSMR 
C2_WR_TYPE_INV_STAG 
C2_WR_TYPE_RECV 
C2_WR_TYPE_NOP 

Definition at line 167 of file c2_wr.h.

enum c2wr_ids
Enumerator:
CCWR_RNIC_OPEN 
CCWR_RNIC_QUERY 
CCWR_RNIC_SETCONFIG 
CCWR_RNIC_GETCONFIG 
CCWR_RNIC_CLOSE 
CCWR_CQ_CREATE 
CCWR_CQ_QUERY 
CCWR_CQ_MODIFY 
CCWR_CQ_DESTROY 
CCWR_QP_CONNECT 
CCWR_PD_ALLOC 
CCWR_PD_DEALLOC 
CCWR_SRQ_CREATE 
CCWR_SRQ_QUERY 
CCWR_SRQ_MODIFY 
CCWR_SRQ_DESTROY 
CCWR_QP_CREATE 
CCWR_QP_QUERY 
CCWR_QP_MODIFY 
CCWR_QP_DESTROY 
CCWR_NSMR_STAG_ALLOC 
CCWR_NSMR_REGISTER 
CCWR_NSMR_PBL 
CCWR_STAG_DEALLOC 
CCWR_NSMR_REREGISTER 
CCWR_SMR_REGISTER 
CCWR_MR_QUERY 
CCWR_MW_ALLOC 
CCWR_MW_QUERY 
CCWR_EP_CREATE 
CCWR_EP_GETOPT 
CCWR_EP_SETOPT 
CCWR_EP_DESTROY 
CCWR_EP_BIND 
CCWR_EP_CONNECT 
CCWR_EP_LISTEN 
CCWR_EP_SHUTDOWN 
CCWR_EP_LISTEN_CREATE 
CCWR_EP_LISTEN_DESTROY 
CCWR_EP_QUERY 
CCWR_CR_ACCEPT 
CCWR_CR_REJECT 
CCWR_CONSOLE 
CCWR_TERM 
CCWR_FLASH_INIT 
CCWR_FLASH 
CCWR_BUF_ALLOC 
CCWR_BUF_FREE 
CCWR_FLASH_WRITE 
CCWR_INIT 
CCWR_LAST 
CCWR_SEND 
CCWR_SEND_INV 
CCWR_SEND_SE 
CCWR_SEND_SE_INV 
CCWR_RDMA_WRITE 
CCWR_RDMA_READ 
CCWR_RDMA_READ_INV 
CCWR_MW_BIND 
CCWR_NSMR_FASTREG 
CCWR_STAG_INVALIDATE 
CCWR_RECV 
CCWR_NOP 
CCWR_UNIMPL 

Definition at line 71 of file c2_wr.h.

Enumerator:
QP_RDMA_READ 
QP_RDMA_WRITE 
QP_MW_BIND 
QP_ZERO_STAG 
QP_REMOTE_TERMINATION 
QP_RDMA_READ_RESPONSE 

Definition at line 576 of file c2_wr.h.

Function Documentation

struct c2wr_hdr __attribute__ ( (packed)  )
read

Definition at line 171 of file esd_usb2.c.

Variable Documentation

enum { ... } __attribute__
u32 adapter_flash_buf_offset

Definition at line 1193 of file c2_wr.h.

u32 adapter_flash_len

Definition at line 1194 of file c2_wr.h.

__be32 adapter_shared

Definition at line 460 of file c2_wr.h.

u32 addrs_length

Definition at line 787 of file c2_wr.h.

union c2wr_ae ae

Definition at line 1499 of file c2_wr.h.

struct c2wr_ae_active_connect_results ae_active_connect_results

Definition at line 1159 of file c2_wr.h.

struct c2wr_ae_connection_request ae_connection_request

Definition at line 1160 of file c2_wr.h.

struct c2wr_ae_hdr ae_generic

Definition at line 1158 of file c2_wr.h.

Definition at line 1134 of file c2_wr.h.

__be32 backlog

Definition at line 1290 of file c2_wr.h.

union c2wr_buf_alloc buf_alloc

Definition at line 1508 of file c2_wr.h.

union c2wr_buf_free buf_free

Definition at line 1509 of file c2_wr.h.

__be32 bytes_rcvd

Definition at line 959 of file c2_wr.h.

Definition at line 1498 of file c2_wr.h.

u8 command[0]

Definition at line 1405 of file c2_wr.h.

CONS_REPLY_TRUNCATED = 0x00000001

Definition at line 1409 of file c2_wr.h.

Definition at line 1505 of file c2_wr.h.

Definition at line 309 of file c2_wr.h.

u32 count_len

Definition at line 398 of file c2_wr.h.

union c2wr_cq_create cq_create

Definition at line 1478 of file c2_wr.h.

union c2wr_cq_destroy cq_destroy

Definition at line 1480 of file c2_wr.h.

u32 cq_handle

Definition at line 461 of file c2_wr.h.

union c2wr_cq_modify cq_modify

Definition at line 1479 of file c2_wr.h.

union c2wr_cr_accept cr_accept

Definition at line 1503 of file c2_wr.h.

u32 cr_handle

Definition at line 1153 of file c2_wr.h.

union c2wr_cr_reject cr_reject

Definition at line 1504 of file c2_wr.h.

u8 data[0]

Definition at line 416 of file c2_wr.h.

__be32 depth

Definition at line 457 of file c2_wr.h.

u32 ep_handle

Definition at line 1292 of file c2_wr.h.

union c2wr_ep_listen_create ep_listen_create

Definition at line 1501 of file c2_wr.h.

union c2wr_ep_listen_destroy ep_listen_destroy

Definition at line 1502 of file c2_wr.h.

u32 fbo

Definition at line 785 of file c2_wr.h.

u32 flags

Definition at line 307 of file c2_wr.h.

union c2wr_flash flash

Definition at line 1507 of file c2_wr.h.

union c2wr_flash_init flash_init

Definition at line 1506 of file c2_wr.h.

union c2wr_flash_write flash_write

Definition at line 1510 of file c2_wr.h.

char fw_ver_build_str[WR_BUILD_STR_LEN]

Definition at line 381 of file c2_wr.h.

__be32 fw_ver_major

Definition at line 378 of file c2_wr.h.

__be32 fw_ver_minor

Definition at line 379 of file c2_wr.h.

__be32 fw_ver_patch

Definition at line 380 of file c2_wr.h.

Definition at line 958 of file c2_wr.h.

Definition at line 322 of file c2_wr.h.

__be64 hint_count

Definition at line 1169 of file c2_wr.h.

__be32 hw_version

Definition at line 377 of file c2_wr.h.

u8 id

Definition at line 304 of file c2_wr.h.

union c2wr_init init

Definition at line 1500 of file c2_wr.h.

u32 ird

Definition at line 622 of file c2_wr.h.

Definition at line 1135 of file c2_wr.h.

u32 len

Definition at line 1205 of file c2_wr.h.

u32 length

Definition at line 786 of file c2_wr.h.

u32 llp_ep_handle

Definition at line 687 of file c2_wr.h.

u32 local_addr

Definition at line 671 of file c2_wr.h.

u16 local_port

Definition at line 673 of file c2_wr.h.

__be32 local_stag

Definition at line 1021 of file c2_wr.h.

__be64 local_to

Definition at line 1019 of file c2_wr.h.

__be16 lport

Definition at line 1137 of file c2_wr.h.

__be32 max_cq_depth

Definition at line 388 of file c2_wr.h.

u32 max_cq_event_handlers

Definition at line 389 of file c2_wr.h.

__be32 max_cqs

Definition at line 387 of file c2_wr.h.

__be32 max_global_ird

Definition at line 393 of file c2_wr.h.

u32 max_global_ord

Definition at line 394 of file c2_wr.h.

__be32 max_mrs

Definition at line 390 of file c2_wr.h.

__be32 max_mws

Definition at line 398 of file c2_wr.h.

u32 max_pbl_depth

Definition at line 391 of file c2_wr.h.

__be32 max_pds

Definition at line 392 of file c2_wr.h.

__be32 max_qp_depth

Definition at line 383 of file c2_wr.h.

__be32 max_qp_ird

Definition at line 395 of file c2_wr.h.

__be32 max_qp_ord

Definition at line 396 of file c2_wr.h.

__be32 max_qps

Definition at line 382 of file c2_wr.h.

u32 max_rdma_sgl_depth

Definition at line 386 of file c2_wr.h.

u32 max_send_sgl_depth

Definition at line 385 of file c2_wr.h.

u32 max_srq_depth

Definition at line 384 of file c2_wr.h.

u32 max_srqs

Definition at line 401 of file c2_wr.h.

u32 mq_index

Definition at line 459 of file c2_wr.h.

u32 mq_start

Definition at line 557 of file c2_wr.h.

union c2wr_mr_query mr_query

Definition at line 1493 of file c2_wr.h.

u32 mr_stag_index

Definition at line 1039 of file c2_wr.h.

__be64 msg_pool

Definition at line 454 of file c2_wr.h.

u32 msg_size

Definition at line 456 of file c2_wr.h.

Definition at line 1090 of file c2_wr.h.

union c2wr_mw_query mw_query

Definition at line 1494 of file c2_wr.h.

u32 mw_stag_index

Definition at line 1038 of file c2_wr.h.

u32 new_depth

Definition at line 474 of file c2_wr.h.

u64 new_msg_pool

Definition at line 475 of file c2_wr.h.

__be32 next_qp_state

Definition at line 682 of file c2_wr.h.

Definition at line 1091 of file c2_wr.h.

union c2wr_nsmr_pbl nsmr_pbl

Definition at line 1492 of file c2_wr.h.

union c2wr_nsmr_register nsmr_register

Definition at line 1491 of file c2_wr.h.

union c2wr_nsmr_stag_alloc nsmr_stag_alloc

Definition at line 1490 of file c2_wr.h.

Definition at line 1226 of file c2_wr.h.

Definition at line 392 of file c2_wr.h.

u32 ord

Definition at line 621 of file c2_wr.h.

u16 pad

Definition at line 735 of file c2_wr.h.

u32 pad1

Definition at line 893 of file c2_wr.h.

u64 paddrs

Definition at line 789 of file c2_wr.h.

u32 page_size

Definition at line 402 of file c2_wr.h.

__be32 part_number

Definition at line 376 of file c2_wr.h.

u32 pbe_range_high

Definition at line 400 of file c2_wr.h.

u32 pbe_range_low

Definition at line 399 of file c2_wr.h.

u32 pbe_size

Definition at line 784 of file c2_wr.h.

u32 pbl_depth

Definition at line 750 of file c2_wr.h.

union c2wr_pd_alloc pd_alloc

Definition at line 1481 of file c2_wr.h.

union c2wr_pd_dealloc pd_dealloc

Definition at line 1482 of file c2_wr.h.

u32 pd_id

Definition at line 506 of file c2_wr.h.

__be16 port_num

Definition at line 325 of file c2_wr.h.

u8 private_data[0]

Definition at line 737 of file c2_wr.h.

__be32 private_data_length

Definition at line 736 of file c2_wr.h.

__be64 q0_host_shared

Definition at line 1170 of file c2_wr.h.

__be64 q1_host_msg_pool

Definition at line 1172 of file c2_wr.h.

__be64 q1_host_shared

Definition at line 1171 of file c2_wr.h.

__be64 q2_host_msg_pool

Definition at line 1174 of file c2_wr.h.

__be64 q2_host_shared

Definition at line 1173 of file c2_wr.h.

struct c2wr_qp_connect qp_connect

Definition at line 1489 of file c2_wr.h.

union c2wr_qp_create qp_create

Definition at line 1485 of file c2_wr.h.

union c2wr_qp_destroy qp_destroy

Definition at line 1488 of file c2_wr.h.

u32 qp_handle

Definition at line 638 of file c2_wr.h.

u32 qp_id

Definition at line 670 of file c2_wr.h.

union c2wr_qp_modify qp_modify

Definition at line 1487 of file c2_wr.h.

union c2wr_qp_query qp_query

Definition at line 1486 of file c2_wr.h.

__be32 qp_state

Definition at line 668 of file c2_wr.h.

u64 qp_user_context

Definition at line 956 of file c2_wr.h.

__be32 raddr

Definition at line 1136 of file c2_wr.h.

Definition at line 1089 of file c2_wr.h.

Definition at line 1088 of file c2_wr.h.

u32 rdma_write_sgl_depth

Definition at line 620 of file c2_wr.h.

u32 recv_sgl_depth

Definition at line 619 of file c2_wr.h.

u32 remote_addr

Definition at line 672 of file c2_wr.h.

u16 remote_port

Definition at line 674 of file c2_wr.h.

__be32 remote_stag

Definition at line 993 of file c2_wr.h.

__be64 remote_to

Definition at line 1005 of file c2_wr.h.

Definition at line 333 of file c2_wr.h.

u64 reply_buf

Definition at line 393 of file c2_wr.h.

u32 reply_buf_len

Definition at line 394 of file c2_wr.h.

Definition at line 332 of file c2_wr.h.

Definition at line 1123 of file c2_wr.h.

Definition at line 1122 of file c2_wr.h.

u8 result

Definition at line 305 of file c2_wr.h.

union c2wr_rnic_close rnic_close

Definition at line 1477 of file c2_wr.h.

union c2wr_rnic_getconfig rnic_getconfig

Definition at line 1475 of file c2_wr.h.

u32 rnic_handle

Definition at line 328 of file c2_wr.h.

union c2wr_rnic_open rnic_open

Definition at line 1473 of file c2_wr.h.

union c2wr_rnic_query rnic_query

Definition at line 1474 of file c2_wr.h.

union c2wr_rnic_setconfig rnic_setconfig

Definition at line 1476 of file c2_wr.h.

__be16 rport

Definition at line 1138 of file c2_wr.h.

u32 rq_cq_handle

Definition at line 612 of file c2_wr.h.

u32 rq_depth

Definition at line 614 of file c2_wr.h.

struct c2_rq_hdr rq_hdr

Definition at line 1092 of file c2_wr.h.

u32 rq_mq_index

Definition at line 636 of file c2_wr.h.

u32 rq_mq_start

Definition at line 637 of file c2_wr.h.

u32 rq_msg_size

Definition at line 635 of file c2_wr.h.

Definition at line 1497 of file c2_wr.h.

Definition at line 1084 of file c2_wr.h.

Definition at line 1086 of file c2_wr.h.

Definition at line 1085 of file c2_wr.h.

struct c2wr_send_req send_se_inv

Definition at line 1087 of file c2_wr.h.

u32 send_sgl_depth

Definition at line 618 of file c2_wr.h.

u32 sge_count

Definition at line 306 of file c2_wr.h.

__be32 sge_len

Definition at line 992 of file c2_wr.h.

u32 sgl_depth

Definition at line 548 of file c2_wr.h.

u64 shared_ht

Definition at line 452 of file c2_wr.h.

__be64 shared_rq_ht

Definition at line 608 of file c2_wr.h.

__be64 shared_sq_ht

Definition at line 607 of file c2_wr.h.

u32 size

Definition at line 1221 of file c2_wr.h.

u32 sq_cq_handle

Definition at line 611 of file c2_wr.h.

u32 sq_depth

Definition at line 613 of file c2_wr.h.

struct c2_sq_hdr sq_hdr

Definition at line 991 of file c2_wr.h.

u32 sq_mq_index

Definition at line 633 of file c2_wr.h.

u32 sq_mq_start

Definition at line 634 of file c2_wr.h.

u32 sq_msg_size

Definition at line 632 of file c2_wr.h.

union c2wr_sqwr sqwr

Definition at line 1496 of file c2_wr.h.

union c2wr_srq_create srq_create

Definition at line 1483 of file c2_wr.h.

u32 srq_depth

Definition at line 546 of file c2_wr.h.

union c2wr_srq_destroy srq_destroy

Definition at line 1484 of file c2_wr.h.

u32 srq_handle

Definition at line 558 of file c2_wr.h.

u32 srq_limit

Definition at line 547 of file c2_wr.h.

u32 stag

Definition at line 960 of file c2_wr.h.

union c2wr_stag_dealloc stag_dealloc

Definition at line 1495 of file c2_wr.h.

u32 stag_index

Definition at line 756 of file c2_wr.h.

Definition at line 1092 of file c2_wr.h.

u8 stag_key

Definition at line 780 of file c2_wr.h.

Definition at line 1209 of file c2_wr.h.

u64 stream_msg

Definition at line 678 of file c2_wr.h.

u32 stream_msg_length

Definition at line 679 of file c2_wr.h.

u32 terminate_msg_length

Definition at line 675 of file c2_wr.h.

Definition at line 1259 of file c2_wr.h.

Definition at line 323 of file c2_wr.h.

Definition at line 974 of file c2_wr.h.

u64 va

Definition at line 777 of file c2_wr.h.

__be32 vendor_id

Definition at line 375 of file c2_wr.h.

__be32 wqe_count

Definition at line 299 of file c2_wr.h.