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

Go to the source code of this file.

Data Structures

struct  ocrdma_mbx_hdr
 
struct  ocrdma_mbx_rsp
 
struct  ocrdma_mqe_sge
 
struct  ocrdma_mqe_hdr
 
struct  ocrdma_mqe_emb_cmd
 
struct  ocrdma_mqe
 
struct  ocrdma_delete_q_req
 
struct  ocrdma_pa
 
struct  ocrdma_create_eq_req
 
struct  ocrdma_create_eq_rsp
 
struct  ocrdma_mcqe
 
struct  ocrdma_ae_mcqe
 
struct  ocrdma_ae_mpa_mcqe
 
struct  ocrdma_ae_qp_mcqe
 
struct  ocrdma_mbx_query_config
 
struct  ocrdma_fw_ver_rsp
 
struct  ocrdma_fw_conf_rsp
 
struct  ocrdma_create_cq_cmd
 
struct  ocrdma_create_cq
 
struct  ocrdma_create_cq_cmd_rsp
 
struct  ocrdma_create_cq_rsp
 
struct  ocrdma_create_mq_v0
 
struct  ocrdma_create_mq_v1
 
struct  ocrdma_create_mq_req
 
struct  ocrdma_create_mq_rsp
 
struct  ocrdma_destroy_cq
 
struct  ocrdma_destroy_cq_rsp
 
struct  ocrdma_create_qp_req
 
struct  ocrdma_create_qp_rsp
 
struct  ocrdma_destroy_qp
 
struct  ocrdma_destroy_qp_rsp
 
struct  ocrdma_qp_params
 
struct  ocrdma_modify_qp
 
struct  ocrdma_modify_qp_rsp
 
struct  ocrdma_query_qp
 
struct  ocrdma_query_qp_rsp
 
struct  ocrdma_create_srq
 
struct  ocrdma_create_srq_rsp
 
struct  ocrdma_modify_srq
 
struct  ocrdma_query_srq
 
struct  ocrdma_query_srq_rsp
 
struct  ocrdma_destroy_srq
 
struct  ocrdma_alloc_pd
 
struct  ocrdma_alloc_pd_rsp
 
struct  ocrdma_dealloc_pd
 
struct  ocrdma_dealloc_pd_rsp
 
struct  ocrdma_alloc_lkey
 
struct  ocrdma_alloc_lkey_rsp
 
struct  ocrdma_dealloc_lkey
 
struct  ocrdma_dealloc_lkey_rsp
 
struct  ocrdma_reg_nsmr
 
struct  ocrdma_reg_nsmr_cont
 
struct  ocrdma_pbe
 
struct  ocrdma_reg_nsmr_rsp
 
struct  ocrdma_reg_nsmr_cont_rsp
 
struct  ocrdma_alloc_mw
 
struct  ocrdma_alloc_mw_rsp
 
struct  ocrdma_attach_mcast
 
struct  ocrdma_attach_mcast_rsp
 
struct  ocrdma_detach_mcast
 
struct  ocrdma_detach_mcast_rsp
 
struct  ocrdma_create_ah_tbl
 
struct  ocrdma_create_ah_tbl_rsp
 
struct  ocrdma_delete_ah_tbl
 
struct  ocrdma_delete_ah_tbl_rsp
 
struct  ocrdma_eqe
 
struct  ocrdma_cqe
 
struct  ocrdma_sge
 
struct  ocrdma_hdr_wqe
 
struct  ocrdma_ewqe_ud_hdr
 
struct  ocrdma_eth_basic
 
struct  ocrdma_eth_vlan
 
struct  ocrdma_grh
 
struct  ocrdma_av
 

Macros

#define Bit(_b)   (1 << (_b))
 
#define OCRDMA_GEN1_FAMILY   0xB
 
#define OCRDMA_GEN2_FAMILY   0x2
 
#define OCRDMA_SUBSYS_ROCE   10
 
#define OCRDMA_SUBSYS_COMMON   1
 
#define OCRDMA_MAX_SGID   (8)
 
#define OCRDMA_MAX_QP   2048
 
#define OCRDMA_MAX_CQ   2048
 
#define OCRDMA_DB_CQ_RING_ID_MASK   0x3FF /* bits 0 - 9 */
 
#define OCRDMA_DB_CQ_RING_ID_EXT_MASK   0x0C00 /* bits 10-11 of qid at 12-11 */
 
#define OCRDMA_DB_CQ_RING_ID_EXT_MASK_SHIFT   0x1
 
#define OCRDMA_DB_CQ_NUM_POPPED_SHIFT   (16) /* bits 16 - 28 */
 
#define OCRDMA_DB_CQ_REARM_SHIFT   (29) /* bit 29 */
 
#define OCRDMA_DB_CQ_SOLICIT_SHIFT   (31) /* bit 31 */
 
#define OCRDMA_EQ_ID_MASK   0x1FF /* bits 0 - 8 */
 
#define OCRDMA_EQ_ID_EXT_MASK   0x3e00 /* bits 9-13 */
 
#define OCRDMA_EQ_ID_EXT_MASK_SHIFT   (2) /* qid bits 9-13 at 11-15 */
 
#define OCRDMA_EQ_CLR_SHIFT   (9) /* bit 9 */
 
#define OCRDMA_EQ_TYPE_SHIFT   (10) /* bit 10 */
 
#define OCRDMA_NUM_EQE_SHIFT   (16) /* bits 16 - 28 */
 
#define OCRDMA_REARM_SHIFT   (29) /* bit 29 */
 
#define OCRDMA_MQ_ID_MASK   0x7FF /* bits 0 - 10 */
 
#define OCRDMA_MQ_NUM_MQE_SHIFT   (16) /* bits 16 - 29 */
 
#define OCRDMA_MIN_HPAGE_SIZE   (4096)
 
#define OCRDMA_MIN_Q_PAGE_SIZE   (4096)
 
#define OCRDMA_MAX_Q_PAGES   (8)
 
#define OCRDMA_MAX_Q_PAGE_SIZE_CNT   (5)
 
#define OCRDMA_Q_PAGE_BASE_SIZE   (OCRDMA_MIN_Q_PAGE_SIZE * OCRDMA_MAX_Q_PAGES)
 
#define MAX_OCRDMA_QP_PAGES   (8)
 
#define OCRDMA_MAX_WQE_MEM_SIZE   (MAX_OCRDMA_QP_PAGES * OCRDMA_MIN_HQ_PAGE_SIZE)
 
#define OCRDMA_CREATE_CQ_MAX_PAGES   (4)
 
#define OCRDMA_DPP_CQE_SIZE   (4)
 
#define OCRDMA_GEN2_MAX_CQE   1024
 
#define OCRDMA_GEN2_CQ_PAGE_SIZE   4096
 
#define OCRDMA_GEN2_WQE_SIZE   256
 
#define OCRDMA_MAX_CQE   4095
 
#define OCRDMA_CQ_PAGE_SIZE   16384
 
#define OCRDMA_WQE_SIZE   128
 
#define OCRDMA_WQE_STRIDE   8
 
#define OCRDMA_WQE_ALIGN_BYTES   16
 
#define MAX_OCRDMA_SRQ_PAGES   MAX_OCRDMA_QP_PAGES
 
#define OCRDMA_EQ_LEN   4096
 
#define OCRDMA_MQ_CQ_LEN   256
 
#define OCRDMA_MQ_LEN   128
 
#define PAGE_SHIFT_4K   12
 
#define PAGE_SIZE_4K   (1 << PAGE_SHIFT_4K)
 
#define PAGES_4K_SPANNED(_address, size)
 
#define MAX_OCRDMA_EQ_PAGES   (8)
 
#define OCRDMA_EQ_MINOR_OTHER   (0x1)
 
#define OCRDMA_ASYNC_EVE_CODE   0x14
 
#define MAX_OCRDMA_IRD_PAGES   4
 
#define OCRDMA_QUERY_UP_QP_ID_SHIFT   0
 
#define OCRDMA_QUERY_UP_QP_ID_MASK   0xFFFFFF
 
#define MAX_OCRDMA_NSMR_PBL   (u32)22
 
#define MAX_OCRDMA_PBL_SIZE   65536
 
#define MAX_OCRDMA_PBL_PER_LKEY   32767
 
#define OCRDMA_AH_TBL_PAGES   8
 
#define is_cqe_valid(cq, cqe)
 
#define is_cqe_for_sq(cqe)   ((le32_to_cpu(cqe->flags_status_srcqpn) & OCRDMA_CQE_QTYPE) ? 0 : 1)
 
#define is_cqe_for_rq(cqe)   ((le32_to_cpu(cqe->flags_status_srcqpn) & OCRDMA_CQE_QTYPE) ? 1 : 0)
 
#define is_cqe_invalidated(cqe)
 
#define is_cqe_imm(cqe)   ((le32_to_cpu(cqe->flags_status_srcqpn) & OCRDMA_CQE_IMM) ? 1 : 0)
 
#define is_cqe_wr_imm(cqe)   ((le32_to_cpu(cqe->flags_status_srcqpn) & OCRDMA_CQE_WRITE_IMM) ? 1 : 0)
 
#define OCRDMA_ROCE_ETH_TYPE   0x8915
 
#define OCRDMA_AV_VALID   Bit(0)
 
#define OCRDMA_AV_VLAN_VALID   Bit(1)
 

Enumerations

enum  {
  OCRDMA_CMD_QUERY_CONFIG = 1, OCRDMA_CMD_ALLOC_PD, OCRDMA_CMD_DEALLOC_PD, OCRDMA_CMD_CREATE_AH_TBL,
  OCRDMA_CMD_DELETE_AH_TBL, OCRDMA_CMD_CREATE_QP, OCRDMA_CMD_QUERY_QP, OCRDMA_CMD_MODIFY_QP,
  OCRDMA_CMD_DELETE_QP, OCRDMA_CMD_RSVD1, OCRDMA_CMD_ALLOC_LKEY, OCRDMA_CMD_DEALLOC_LKEY,
  OCRDMA_CMD_REGISTER_NSMR, OCRDMA_CMD_REREGISTER_NSMR, OCRDMA_CMD_REGISTER_NSMR_CONT, OCRDMA_CMD_QUERY_NSMR,
  OCRDMA_CMD_ALLOC_MW, OCRDMA_CMD_QUERY_MW, OCRDMA_CMD_CREATE_SRQ, OCRDMA_CMD_QUERY_SRQ,
  OCRDMA_CMD_MODIFY_SRQ, OCRDMA_CMD_DELETE_SRQ, OCRDMA_CMD_ATTACH_MCAST, OCRDMA_CMD_DETACH_MCAST,
  OCRDMA_CMD_MAX
}
 
enum  {
  OCRDMA_CMD_CREATE_CQ = 12, OCRDMA_CMD_CREATE_EQ = 13, OCRDMA_CMD_CREATE_MQ = 21, OCRDMA_CMD_GET_FW_VER = 35,
  OCRDMA_CMD_DELETE_MQ = 53, OCRDMA_CMD_DELETE_CQ = 54, OCRDMA_CMD_DELETE_EQ = 55, OCRDMA_CMD_GET_FW_CONFIG = 58,
  OCRDMA_CMD_CREATE_MQ_EXT = 90
}
 
enum  { QTYPE_EQ = 1, QTYPE_CQ = 2, QTYPE_MCCQ = 3 }
 
enum  {
  OCRDMA_DB_RQ_OFFSET = 0xE0, OCRDMA_DB_GEN2_RQ1_OFFSET = 0x100, OCRDMA_DB_GEN2_RQ2_OFFSET = 0xC0, OCRDMA_DB_SQ_OFFSET = 0x60,
  OCRDMA_DB_GEN2_SQ_OFFSET = 0x1C0, OCRDMA_DB_SRQ_OFFSET = OCRDMA_DB_RQ_OFFSET, OCRDMA_DB_GEN2_SRQ_OFFSET = OCRDMA_DB_GEN2_RQ1_OFFSET, OCRDMA_DB_CQ_OFFSET = 0x120,
  OCRDMA_DB_EQ_OFFSET = OCRDMA_DB_CQ_OFFSET, OCRDMA_DB_MQ_OFFSET = 0x140
}
 
enum  { OCRDMA_MCH_OPCODE_SHIFT = 0, OCRDMA_MCH_OPCODE_MASK = 0xFF, OCRDMA_MCH_SUBSYS_SHIFT = 8, OCRDMA_MCH_SUBSYS_MASK = 0xFF00 }
 
enum  {
  OCRDMA_MBX_RSP_OPCODE_SHIFT = 0, OCRDMA_MBX_RSP_OPCODE_MASK = 0xFF, OCRDMA_MBX_RSP_SUBSYS_SHIFT = 8, OCRDMA_MBX_RSP_SUBSYS_MASK = 0xFF << OCRDMA_MBX_RSP_SUBSYS_SHIFT,
  OCRDMA_MBX_RSP_STATUS_SHIFT = 0, OCRDMA_MBX_RSP_STATUS_MASK = 0xFF, OCRDMA_MBX_RSP_ASTATUS_SHIFT = 8, OCRDMA_MBX_RSP_ASTATUS_MASK = 0xFF << OCRDMA_MBX_RSP_ASTATUS_SHIFT
}
 
enum  { OCRDMA_MQE_EMBEDDED = 1, OCRDMA_MQE_NONEMBEDDED = 0 }
 
enum  {
  OCRDMA_MQE_HDR_EMB_SHIFT = 0, OCRDMA_MQE_HDR_EMB_MASK = Bit(0), OCRDMA_MQE_HDR_SGE_CNT_SHIFT = 3, OCRDMA_MQE_HDR_SGE_CNT_MASK = 0x1F << OCRDMA_MQE_HDR_SGE_CNT_SHIFT,
  OCRDMA_MQE_HDR_SPECIAL_SHIFT = 24, OCRDMA_MQE_HDR_SPECIAL_MASK = 0xFF << OCRDMA_MQE_HDR_SPECIAL_SHIFT
}
 
enum  { OCRDMA_CREATE_EQ_VALID = Bit(29), OCRDMA_CREATE_EQ_CNT_SHIFT = 26, OCRDMA_CREATE_CQ_DELAY_SHIFT = 13 }
 
enum  {
  OCRDMA_MCQE_STATUS_SHIFT = 0, OCRDMA_MCQE_STATUS_MASK = 0xFFFF, OCRDMA_MCQE_ESTATUS_SHIFT = 16, OCRDMA_MCQE_ESTATUS_MASK = 0xFFFF << OCRDMA_MCQE_ESTATUS_SHIFT,
  OCRDMA_MCQE_CONS_SHIFT = 27, OCRDMA_MCQE_CONS_MASK = Bit(27), OCRDMA_MCQE_CMPL_SHIFT = 28, OCRDMA_MCQE_CMPL_MASK = Bit(28),
  OCRDMA_MCQE_AE_SHIFT = 30, OCRDMA_MCQE_AE_MASK = Bit(30), OCRDMA_MCQE_VALID_SHIFT = 31, OCRDMA_MCQE_VALID_MASK = Bit(31)
}
 
enum  {
  OCRDMA_AE_MCQE_QPVALID = Bit(31), OCRDMA_AE_MCQE_QPID_MASK = 0xFFFF, OCRDMA_AE_MCQE_CQVALID = Bit(31), OCRDMA_AE_MCQE_CQID_MASK = 0xFFFF,
  OCRDMA_AE_MCQE_VALID = Bit(31), OCRDMA_AE_MCQE_AE = Bit(30), OCRDMA_AE_MCQE_EVENT_TYPE_SHIFT = 16, OCRDMA_AE_MCQE_EVENT_TYPE_MASK,
  OCRDMA_AE_MCQE_EVENT_CODE_SHIFT = 8, OCRDMA_AE_MCQE_EVENT_CODE_MASK
}
 
enum  {
  OCRDMA_AE_MPA_MCQE_REQ_ID_SHIFT = 16, OCRDMA_AE_MPA_MCQE_REQ_ID_MASK, OCRDMA_AE_MPA_MCQE_EVENT_CODE_SHIFT = 8, OCRDMA_AE_MPA_MCQE_EVENT_CODE_MASK,
  OCRDMA_AE_MPA_MCQE_EVENT_TYPE_SHIFT = 16, OCRDMA_AE_MPA_MCQE_EVENT_TYPE_MASK, OCRDMA_AE_MPA_MCQE_EVENT_AE_SHIFT = 30, OCRDMA_AE_MPA_MCQE_EVENT_AE_MASK = Bit(30),
  OCRDMA_AE_MPA_MCQE_EVENT_VALID_SHIFT = 31, OCRDMA_AE_MPA_MCQE_EVENT_VALID_MASK = Bit(31)
}
 
enum  {
  OCRDMA_AE_QP_MCQE_NEW_QP_STATE_SHIFT = 0, OCRDMA_AE_QP_MCQE_NEW_QP_STATE_MASK = 0xFFFF, OCRDMA_AE_QP_MCQE_QP_ID_SHIFT = 16, OCRDMA_AE_QP_MCQE_QP_ID_MASK,
  OCRDMA_AE_QP_MCQE_EVENT_CODE_SHIFT = 8, OCRDMA_AE_QP_MCQE_EVENT_CODE_MASK, OCRDMA_AE_QP_MCQE_EVENT_TYPE_SHIFT = 16, OCRDMA_AE_QP_MCQE_EVENT_TYPE_MASK,
  OCRDMA_AE_QP_MCQE_EVENT_AE_SHIFT = 30, OCRDMA_AE_QP_MCQE_EVENT_AE_MASK = Bit(30), OCRDMA_AE_QP_MCQE_EVENT_VALID_SHIFT = 31, OCRDMA_AE_QP_MCQE_EVENT_VALID_MASK = Bit(31)
}
 
enum  OCRDMA_ASYNC_EVENT_TYPE {
  OCRDMA_CQ_ERROR = 0x00, OCRDMA_CQ_OVERRUN_ERROR = 0x01, OCRDMA_CQ_QPCAT_ERROR = 0x02, OCRDMA_QP_ACCESS_ERROR = 0x03,
  OCRDMA_QP_COMM_EST_EVENT = 0x04, OCRDMA_SQ_DRAINED_EVENT = 0x05, OCRDMA_DEVICE_FATAL_EVENT = 0x08, OCRDMA_SRQCAT_ERROR = 0x0E,
  OCRDMA_SRQ_LIMIT_EVENT = 0x0F, OCRDMA_QP_LAST_WQE_EVENT = 0x10
}
 
enum  {
  OCRDMA_MBX_QUERY_CFG_CQ_OVERFLOW_SHIFT = 2, OCRDMA_MBX_QUERY_CFG_CQ_OVERFLOW_MASK = Bit(2), OCRDMA_MBX_QUERY_CFG_SRQ_SUPPORTED_SHIFT = 3, OCRDMA_MBX_QUERY_CFG_SRQ_SUPPORTED_MASK = Bit(3),
  OCRDMA_MBX_QUERY_CFG_MAX_QP_SHIFT = 8, OCRDMA_MBX_QUERY_CFG_MAX_QP_MASK, OCRDMA_MBX_QUERY_CFG_MAX_PD_SHIFT = 16, OCRDMA_MBX_QUERY_CFG_MAX_PD_MASK,
  OCRDMA_MBX_QUERY_CFG_CA_ACK_DELAY_SHIFT = 8, OCRDMA_MBX_QUERY_CFG_CA_ACK_DELAY_MASK, OCRDMA_MBX_QUERY_CFG_MAX_SEND_SGE_SHIFT = 0, OCRDMA_MBX_QUERY_CFG_MAX_SEND_SGE_MASK = 0xFFFF,
  OCRDMA_MBX_QUERY_CFG_MAX_WRITE_SGE_SHIFT = 16, OCRDMA_MBX_QUERY_CFG_MAX_WRITE_SGE_MASK, OCRDMA_MBX_QUERY_CFG_MAX_ORD_PER_QP_SHIFT = 0, OCRDMA_MBX_QUERY_CFG_MAX_ORD_PER_QP_MASK = 0xFFFF,
  OCRDMA_MBX_QUERY_CFG_MAX_IRD_PER_QP_SHIFT = 16, OCRDMA_MBX_QUERY_CFG_MAX_IRD_PER_QP_MASK, OCRDMA_MBX_QUERY_CFG_MAX_WQE_SIZE_OFFSET = 24, OCRDMA_MBX_QUERY_CFG_MAX_WQE_SIZE_MASK,
  OCRDMA_MBX_QUERY_CFG_MAX_RQE_SIZE_OFFSET = 16, OCRDMA_MBX_QUERY_CFG_MAX_RQE_SIZE_MASK, OCRDMA_MBX_QUERY_CFG_MAX_DPP_CQES_OFFSET = 0, OCRDMA_MBX_QUERY_CFG_MAX_DPP_CQES_MASK,
  OCRDMA_MBX_QUERY_CFG_MAX_SRQ_OFFSET = 16, OCRDMA_MBX_QUERY_CFG_MAX_SRQ_MASK, OCRDMA_MBX_QUERY_CFG_MAX_RPIR_QPS_OFFSET = 0, OCRDMA_MBX_QUERY_CFG_MAX_RPIR_QPS_MASK,
  OCRDMA_MBX_QUERY_CFG_MAX_DPP_PDS_OFFSET = 16, OCRDMA_MBX_QUERY_CFG_MAX_DPP_PDS_MASK, OCRDMA_MBX_QUERY_CFG_MAX_DPP_CREDITS_OFFSET = 0, OCRDMA_MBX_QUERY_CFG_MAX_DPP_CREDITS_MASK,
  OCRDMA_MBX_QUERY_CFG_MAX_DPP_QPS_OFFSET = 0, OCRDMA_MBX_QUERY_CFG_MAX_DPP_QPS_MASK, OCRDMA_MBX_QUERY_CFG_MAX_WQES_PER_WQ_OFFSET = 16, OCRDMA_MBX_QUERY_CFG_MAX_WQES_PER_WQ_MASK,
  OCRDMA_MBX_QUERY_CFG_MAX_RQES_PER_RQ_OFFSET = 0, OCRDMA_MBX_QUERY_CFG_MAX_RQES_PER_RQ_MASK, OCRDMA_MBX_QUERY_CFG_MAX_CQ_OFFSET = 16, OCRDMA_MBX_QUERY_CFG_MAX_CQ_MASK,
  OCRDMA_MBX_QUERY_CFG_MAX_CQES_PER_CQ_OFFSET = 0, OCRDMA_MBX_QUERY_CFG_MAX_CQES_PER_CQ_MASK, OCRDMA_MBX_QUERY_CFG_MAX_SRQ_RQE_OFFSET = 16, OCRDMA_MBX_QUERY_CFG_MAX_SRQ_RQE_MASK,
  OCRDMA_MBX_QUERY_CFG_MAX_SRQ_SGE_OFFSET = 0, OCRDMA_MBX_QUERY_CFG_MAX_SRQ_SGE_MASK
}
 
enum  { OCRDMA_FN_MODE_RDMA = 0x4 }
 
enum  {
  OCRDMA_CREATE_CQ_VER2 = 2, OCRDMA_CREATE_CQ_PAGE_CNT_MASK = 0xFFFF, OCRDMA_CREATE_CQ_PAGE_SIZE_SHIFT = 16, OCRDMA_CREATE_CQ_PAGE_SIZE_MASK = 0xFF,
  OCRDMA_CREATE_CQ_COALESCWM_SHIFT = 12, OCRDMA_CREATE_CQ_COALESCWM_MASK = Bit(13) | Bit(12), OCRDMA_CREATE_CQ_FLAGS_NODELAY = Bit(14), OCRDMA_CREATE_CQ_FLAGS_AUTO_VALID = Bit(15),
  OCRDMA_CREATE_CQ_EQ_ID_MASK = 0xFFFF, OCRDMA_CREATE_CQ_CQE_COUNT_MASK = 0xFFFF
}
 
enum  {
  OCRDMA_CREATE_CQ_VER0 = 0, OCRDMA_CREATE_CQ_DPP = 1, OCRDMA_CREATE_CQ_TYPE_SHIFT = 24, OCRDMA_CREATE_CQ_EQID_SHIFT = 22,
  OCRDMA_CREATE_CQ_CNT_SHIFT = 27, OCRDMA_CREATE_CQ_FLAGS_VALID = Bit(29), OCRDMA_CREATE_CQ_FLAGS_EVENTABLE = Bit(31), OCRDMA_CREATE_CQ_DEF_FLAGS
}
 
enum  { OCRDMA_CREATE_CQ_RSP_CQ_ID_MASK = 0xFFFF }
 
enum  {
  OCRDMA_CREATE_MQ_V0_CQ_ID_SHIFT = 22, OCRDMA_CREATE_MQ_CQ_ID_SHIFT = 16, OCRDMA_CREATE_MQ_RING_SIZE_SHIFT = 16, OCRDMA_CREATE_MQ_VALID = Bit(31),
  OCRDMA_CREATE_MQ_ASYNC_CQ_VALID = Bit(0)
}
 
enum  { OCRDMA_DESTROY_CQ_QID_SHIFT = 0, OCRDMA_DESTROY_CQ_QID_MASK = 0xFFFF, OCRDMA_DESTROY_CQ_QID_BYPASS_FLUSH_SHIFT = 16, OCRDMA_DESTROY_CQ_QID_BYPASS_FLUSH_MASK }
 
enum  { OCRDMA_QPT_GSI = 1, OCRDMA_QPT_RC = 2, OCRDMA_QPT_UD = 4 }
 
enum  {
  OCRDMA_CREATE_QP_REQ_PD_ID_SHIFT = 0, OCRDMA_CREATE_QP_REQ_PD_ID_MASK = 0xFFFF, OCRDMA_CREATE_QP_REQ_SQ_PAGE_SIZE_SHIFT = 16, OCRDMA_CREATE_QP_REQ_RQ_PAGE_SIZE_SHIFT = 19,
  OCRDMA_CREATE_QP_REQ_QPT_SHIFT = 29, OCRDMA_CREATE_QP_REQ_QPT_MASK = Bit(31) | Bit(30) | Bit(29), OCRDMA_CREATE_QP_REQ_MAX_RQE_SHIFT = 0, OCRDMA_CREATE_QP_REQ_MAX_RQE_MASK = 0xFFFF,
  OCRDMA_CREATE_QP_REQ_MAX_WQE_SHIFT = 16, OCRDMA_CREATE_QP_REQ_MAX_WQE_MASK, OCRDMA_CREATE_QP_REQ_MAX_SGE_WRITE_SHIFT = 0, OCRDMA_CREATE_QP_REQ_MAX_SGE_WRITE_MASK = 0xFFFF,
  OCRDMA_CREATE_QP_REQ_MAX_SGE_SEND_SHIFT = 16, OCRDMA_CREATE_QP_REQ_MAX_SGE_SEND_MASK, OCRDMA_CREATE_QP_REQ_FMR_EN_SHIFT = 0, OCRDMA_CREATE_QP_REQ_FMR_EN_MASK = Bit(0),
  OCRDMA_CREATE_QP_REQ_ZERO_LKEYEN_SHIFT = 1, OCRDMA_CREATE_QP_REQ_ZERO_LKEYEN_MASK = Bit(1), OCRDMA_CREATE_QP_REQ_BIND_MEMWIN_SHIFT = 2, OCRDMA_CREATE_QP_REQ_BIND_MEMWIN_MASK = Bit(2),
  OCRDMA_CREATE_QP_REQ_INB_WREN_SHIFT = 3, OCRDMA_CREATE_QP_REQ_INB_WREN_MASK = Bit(3), OCRDMA_CREATE_QP_REQ_INB_RDEN_SHIFT = 4, OCRDMA_CREATE_QP_REQ_INB_RDEN_MASK = Bit(4),
  OCRDMA_CREATE_QP_REQ_USE_SRQ_SHIFT = 5, OCRDMA_CREATE_QP_REQ_USE_SRQ_MASK = Bit(5), OCRDMA_CREATE_QP_REQ_ENABLE_RPIR_SHIFT = 6, OCRDMA_CREATE_QP_REQ_ENABLE_RPIR_MASK = Bit(6),
  OCRDMA_CREATE_QP_REQ_ENABLE_DPP_SHIFT = 7, OCRDMA_CREATE_QP_REQ_ENABLE_DPP_MASK = Bit(7), OCRDMA_CREATE_QP_REQ_ENABLE_DPP_CQ_SHIFT = 8, OCRDMA_CREATE_QP_REQ_ENABLE_DPP_CQ_MASK = Bit(8),
  OCRDMA_CREATE_QP_REQ_MAX_SGE_RECV_SHIFT = 16, OCRDMA_CREATE_QP_REQ_MAX_SGE_RECV_MASK, OCRDMA_CREATE_QP_REQ_MAX_IRD_SHIFT = 0, OCRDMA_CREATE_QP_REQ_MAX_IRD_MASK = 0xFFFF,
  OCRDMA_CREATE_QP_REQ_MAX_ORD_SHIFT = 16, OCRDMA_CREATE_QP_REQ_MAX_ORD_MASK, OCRDMA_CREATE_QP_REQ_NUM_RQ_PAGES_SHIFT = 0, OCRDMA_CREATE_QP_REQ_NUM_RQ_PAGES_MASK = 0xFFFF,
  OCRDMA_CREATE_QP_REQ_NUM_WQ_PAGES_SHIFT = 16, OCRDMA_CREATE_QP_REQ_NUM_WQ_PAGES_MASK, OCRDMA_CREATE_QP_REQ_RQE_SIZE_SHIFT = 0, OCRDMA_CREATE_QP_REQ_RQE_SIZE_MASK = 0xFFFF,
  OCRDMA_CREATE_QP_REQ_WQE_SIZE_SHIFT = 16, OCRDMA_CREATE_QP_REQ_WQE_SIZE_MASK, OCRDMA_CREATE_QP_REQ_RQ_CQID_SHIFT = 0, OCRDMA_CREATE_QP_REQ_RQ_CQID_MASK = 0xFFFF,
  OCRDMA_CREATE_QP_REQ_WQ_CQID_SHIFT = 16, OCRDMA_CREATE_QP_REQ_WQ_CQID_MASK, OCRDMA_CREATE_QP_REQ_DPP_CQPID_SHIFT = 0, OCRDMA_CREATE_QP_REQ_DPP_CQPID_MASK = 0xFFFF,
  OCRDMA_CREATE_QP_REQ_DPP_CREDIT_SHIFT = 16, OCRDMA_CREATE_QP_REQ_DPP_CREDIT_MASK
}
 
enum  { OCRDMA_CREATE_QP_REQ_DPP_CREDIT_LIMIT = 16, OCRDMA_CREATE_QP_RSP_DPP_PAGE_SHIFT = 1 }
 
enum  ocrdma_qp_flags {
  OCRDMA_QP_MW_BIND = 1, OCRDMA_QP_LKEY0 = (1 << 1), OCRDMA_QP_FAST_REG = (1 << 2), OCRDMA_QP_INB_RD = (1 << 6),
  OCRDMA_QP_INB_WR = (1 << 7)
}
 
enum  ocrdma_qp_state {
  OCRDMA_QPS_RST = 0, OCRDMA_QPS_INIT = 1, OCRDMA_QPS_RTR = 2, OCRDMA_QPS_RTS = 3,
  OCRDMA_QPS_SQE = 4, OCRDMA_QPS_SQ_DRAINING = 5, OCRDMA_QPS_ERR = 6, OCRDMA_QPS_SQD = 7
}
 
enum  {
  OCRDMA_CREATE_QP_RSP_QP_ID_SHIFT = 0, OCRDMA_CREATE_QP_RSP_QP_ID_MASK = 0xFFFF, OCRDMA_CREATE_QP_RSP_MAX_RQE_SHIFT = 0, OCRDMA_CREATE_QP_RSP_MAX_RQE_MASK = 0xFFFF,
  OCRDMA_CREATE_QP_RSP_MAX_WQE_SHIFT = 16, OCRDMA_CREATE_QP_RSP_MAX_WQE_MASK, OCRDMA_CREATE_QP_RSP_MAX_SGE_WRITE_SHIFT = 0, OCRDMA_CREATE_QP_RSP_MAX_SGE_WRITE_MASK = 0xFFFF,
  OCRDMA_CREATE_QP_RSP_MAX_SGE_SEND_SHIFT = 16, OCRDMA_CREATE_QP_RSP_MAX_SGE_SEND_MASK, OCRDMA_CREATE_QP_RSP_MAX_SGE_RECV_SHIFT = 16, OCRDMA_CREATE_QP_RSP_MAX_SGE_RECV_MASK,
  OCRDMA_CREATE_QP_RSP_MAX_IRD_SHIFT = 0, OCRDMA_CREATE_QP_RSP_MAX_IRD_MASK = 0xFFFF, OCRDMA_CREATE_QP_RSP_MAX_ORD_SHIFT = 16, OCRDMA_CREATE_QP_RSP_MAX_ORD_MASK,
  OCRDMA_CREATE_QP_RSP_RQ_ID_SHIFT = 0, OCRDMA_CREATE_QP_RSP_RQ_ID_MASK = 0xFFFF, OCRDMA_CREATE_QP_RSP_SQ_ID_SHIFT = 16, OCRDMA_CREATE_QP_RSP_SQ_ID_MASK,
  OCRDMA_CREATE_QP_RSP_DPP_ENABLED_MASK = Bit(0), OCRDMA_CREATE_QP_RSP_DPP_PAGE_OFFSET_SHIFT = 1, OCRDMA_CREATE_QP_RSP_DPP_PAGE_OFFSET_MASK, OCRDMA_CREATE_QP_RSP_DPP_CREDITS_SHIFT = 16,
  OCRDMA_CREATE_QP_RSP_DPP_CREDITS_MASK
}
 
enum  {
  OCRDMA_MODIFY_QP_ID_SHIFT = 0, OCRDMA_MODIFY_QP_ID_MASK = 0xFFFF, OCRDMA_QP_PARA_QPS_VALID = Bit(0), OCRDMA_QP_PARA_SQD_ASYNC_VALID = Bit(1),
  OCRDMA_QP_PARA_PKEY_VALID = Bit(2), OCRDMA_QP_PARA_QKEY_VALID = Bit(3), OCRDMA_QP_PARA_PMTU_VALID = Bit(4), OCRDMA_QP_PARA_ACK_TO_VALID = Bit(5),
  OCRDMA_QP_PARA_RETRY_CNT_VALID = Bit(6), OCRDMA_QP_PARA_RRC_VALID = Bit(7), OCRDMA_QP_PARA_RQPSN_VALID = Bit(8), OCRDMA_QP_PARA_MAX_IRD_VALID = Bit(9),
  OCRDMA_QP_PARA_MAX_ORD_VALID = Bit(10), OCRDMA_QP_PARA_RNT_VALID = Bit(11), OCRDMA_QP_PARA_SQPSN_VALID = Bit(12), OCRDMA_QP_PARA_DST_QPN_VALID = Bit(13),
  OCRDMA_QP_PARA_MAX_WQE_VALID = Bit(14), OCRDMA_QP_PARA_MAX_RQE_VALID = Bit(15), OCRDMA_QP_PARA_SGE_SEND_VALID = Bit(16), OCRDMA_QP_PARA_SGE_RECV_VALID = Bit(17),
  OCRDMA_QP_PARA_SGE_WR_VALID = Bit(18), OCRDMA_QP_PARA_INB_RDEN_VALID = Bit(19), OCRDMA_QP_PARA_INB_WREN_VALID = Bit(20), OCRDMA_QP_PARA_FLOW_LBL_VALID = Bit(21),
  OCRDMA_QP_PARA_BIND_EN_VALID = Bit(22), OCRDMA_QP_PARA_ZLKEY_EN_VALID = Bit(23), OCRDMA_QP_PARA_FMR_EN_VALID = Bit(24), OCRDMA_QP_PARA_INBAT_EN_VALID = Bit(25),
  OCRDMA_QP_PARA_VLAN_EN_VALID = Bit(26), OCRDMA_MODIFY_QP_FLAGS_RD = Bit(0), OCRDMA_MODIFY_QP_FLAGS_WR = Bit(1), OCRDMA_MODIFY_QP_FLAGS_SEND = Bit(2),
  OCRDMA_MODIFY_QP_FLAGS_ATOMIC = Bit(3)
}
 
enum  {
  OCRDMA_QP_PARAMS_SRQ_ID_SHIFT = 0, OCRDMA_QP_PARAMS_SRQ_ID_MASK = 0xFFFF, OCRDMA_QP_PARAMS_MAX_RQE_SHIFT = 0, OCRDMA_QP_PARAMS_MAX_RQE_MASK = 0xFFFF,
  OCRDMA_QP_PARAMS_MAX_WQE_SHIFT = 16, OCRDMA_QP_PARAMS_MAX_WQE_MASK, OCRDMA_QP_PARAMS_MAX_SGE_WRITE_SHIFT = 0, OCRDMA_QP_PARAMS_MAX_SGE_WRITE_MASK = 0xFFFF,
  OCRDMA_QP_PARAMS_MAX_SGE_SEND_SHIFT = 16, OCRDMA_QP_PARAMS_MAX_SGE_SEND_MASK, OCRDMA_QP_PARAMS_FLAGS_FMR_EN = Bit(0), OCRDMA_QP_PARAMS_FLAGS_LKEY_0_EN = Bit(1),
  OCRDMA_QP_PARAMS_FLAGS_BIND_MW_EN = Bit(2), OCRDMA_QP_PARAMS_FLAGS_INBWR_EN = Bit(3), OCRDMA_QP_PARAMS_FLAGS_INBRD_EN = Bit(4), OCRDMA_QP_PARAMS_STATE_SHIFT = 5,
  OCRDMA_QP_PARAMS_STATE_MASK = Bit(5) | Bit(6) | Bit(7), OCRDMA_QP_PARAMS_FLAGS_SQD_ASYNC = Bit(8), OCRDMA_QP_PARAMS_FLAGS_INB_ATEN = Bit(9), OCRDMA_QP_PARAMS_MAX_SGE_RECV_SHIFT = 16,
  OCRDMA_QP_PARAMS_MAX_SGE_RECV_MASK, OCRDMA_QP_PARAMS_MAX_IRD_SHIFT = 0, OCRDMA_QP_PARAMS_MAX_IRD_MASK = 0xFFFF, OCRDMA_QP_PARAMS_MAX_ORD_SHIFT = 16,
  OCRDMA_QP_PARAMS_MAX_ORD_MASK, OCRDMA_QP_PARAMS_RQ_CQID_SHIFT = 0, OCRDMA_QP_PARAMS_RQ_CQID_MASK = 0xFFFF, OCRDMA_QP_PARAMS_WQ_CQID_SHIFT = 16,
  OCRDMA_QP_PARAMS_WQ_CQID_MASK, OCRDMA_QP_PARAMS_RQ_PSN_SHIFT = 0, OCRDMA_QP_PARAMS_RQ_PSN_MASK = 0xFFFFFF, OCRDMA_QP_PARAMS_HOP_LMT_SHIFT = 24,
  OCRDMA_QP_PARAMS_HOP_LMT_MASK, OCRDMA_QP_PARAMS_SQ_PSN_SHIFT = 0, OCRDMA_QP_PARAMS_SQ_PSN_MASK = 0xFFFFFF, OCRDMA_QP_PARAMS_TCLASS_SHIFT = 24,
  OCRDMA_QP_PARAMS_TCLASS_MASK, OCRDMA_QP_PARAMS_DEST_QPN_SHIFT = 0, OCRDMA_QP_PARAMS_DEST_QPN_MASK = 0xFFFFFF, OCRDMA_QP_PARAMS_RNR_RETRY_CNT_SHIFT = 24,
  OCRDMA_QP_PARAMS_RNR_RETRY_CNT_MASK, OCRDMA_QP_PARAMS_ACK_TIMEOUT_SHIFT = 27, OCRDMA_QP_PARAMS_ACK_TIMEOUT_MASK, OCRDMA_QP_PARAMS_PKEY_IDNEX_SHIFT = 0,
  OCRDMA_QP_PARAMS_PKEY_INDEX_MASK = 0xFFFF, OCRDMA_QP_PARAMS_PATH_MTU_SHIFT = 18, OCRDMA_QP_PARAMS_PATH_MTU_MASK, OCRDMA_QP_PARAMS_FLOW_LABEL_SHIFT = 0,
  OCRDMA_QP_PARAMS_FLOW_LABEL_MASK = 0xFFFFF, OCRDMA_QP_PARAMS_SL_SHIFT = 20, OCRDMA_QP_PARAMS_SL_MASK, OCRDMA_QP_PARAMS_RETRY_CNT_SHIFT = 24,
  OCRDMA_QP_PARAMS_RETRY_CNT_MASK, OCRDMA_QP_PARAMS_RNR_NAK_TIMER_SHIFT = 27, OCRDMA_QP_PARAMS_RNR_NAK_TIMER_MASK, OCRDMA_QP_PARAMS_DMAC_B4_TO_B5_SHIFT = 0,
  OCRDMA_QP_PARAMS_DMAC_B4_TO_B5_MASK = 0xFFFF, OCRDMA_QP_PARAMS_VLAN_SHIFT = 16, OCRDMA_QP_PARAMS_VLAN_MASK
}
 
enum  {
  OCRDMA_MODIFY_QP_RSP_MAX_RQE_SHIFT = 0, OCRDMA_MODIFY_QP_RSP_MAX_RQE_MASK = 0xFFFF, OCRDMA_MODIFY_QP_RSP_MAX_WQE_SHIFT = 16, OCRDMA_MODIFY_QP_RSP_MAX_WQE_MASK,
  OCRDMA_MODIFY_QP_RSP_MAX_IRD_SHIFT = 0, OCRDMA_MODIFY_QP_RSP_MAX_IRD_MASK = 0xFFFF, OCRDMA_MODIFY_QP_RSP_MAX_ORD_SHIFT = 16, OCRDMA_MODIFY_QP_RSP_MAX_ORD_MASK
}
 
enum  {
  OCRDMA_CREATE_SRQ_PD_ID_SHIFT = 0, OCRDMA_CREATE_SRQ_PD_ID_MASK = 0xFFFF, OCRDMA_CREATE_SRQ_PG_SZ_SHIFT = 16, OCRDMA_CREATE_SRQ_PG_SZ_MASK,
  OCRDMA_CREATE_SRQ_MAX_RQE_SHIFT = 0, OCRDMA_CREATE_SRQ_MAX_SGE_RECV_SHIFT = 16, OCRDMA_CREATE_SRQ_MAX_SGE_RECV_MASK, OCRDMA_CREATE_SRQ_RQE_SIZE_SHIFT = 0,
  OCRDMA_CREATE_SRQ_RQE_SIZE_MASK = 0xFFFF, OCRDMA_CREATE_SRQ_NUM_RQ_PAGES_SHIFT = 16, OCRDMA_CREATE_SRQ_NUM_RQ_PAGES_MASK
}
 
enum  {
  OCRDMA_CREATE_SRQ_RSP_SRQ_ID_SHIFT = 0, OCRDMA_CREATE_SRQ_RSP_SRQ_ID_MASK = 0xFFFFFF, OCRDMA_CREATE_SRQ_RSP_MAX_RQE_ALLOCATED_SHIFT = 0, OCRDMA_CREATE_SRQ_RSP_MAX_RQE_ALLOCATED_MASK = 0xFFFF,
  OCRDMA_CREATE_SRQ_RSP_MAX_SGE_RECV_ALLOCATED_SHIFT = 16, OCRDMA_CREATE_SRQ_RSP_MAX_SGE_RECV_ALLOCATED_MASK
}
 
enum  {
  OCRDMA_MODIFY_SRQ_ID_SHIFT = 0, OCRDMA_MODIFY_SRQ_ID_MASK = 0xFFFFFF, OCRDMA_MODIFY_SRQ_MAX_RQE_SHIFT = 0, OCRDMA_MODIFY_SRQ_MAX_RQE_MASK = 0xFFFF,
  OCRDMA_MODIFY_SRQ_LIMIT_SHIFT = 16, OCRDMA_MODIFY_SRQ__LIMIT_MASK
}
 
enum  { OCRDMA_QUERY_SRQ_ID_SHIFT = 0, OCRDMA_QUERY_SRQ_ID_MASK = 0xFFFFFF }
 
enum  {
  OCRDMA_QUERY_SRQ_RSP_PD_ID_SHIFT = 0, OCRDMA_QUERY_SRQ_RSP_PD_ID_MASK = 0xFFFF, OCRDMA_QUERY_SRQ_RSP_MAX_RQE_SHIFT = 16, OCRDMA_QUERY_SRQ_RSP_MAX_RQE_MASK,
  OCRDMA_QUERY_SRQ_RSP_MAX_SGE_RECV_SHIFT = 0, OCRDMA_QUERY_SRQ_RSP_MAX_SGE_RECV_MASK = 0xFFFF, OCRDMA_QUERY_SRQ_RSP_SRQ_LIMIT_SHIFT = 16, OCRDMA_QUERY_SRQ_RSP_SRQ_LIMIT_MASK
}
 
enum  { OCRDMA_DESTROY_SRQ_ID_SHIFT = 0, OCRDMA_DESTROY_SRQ_ID_MASK = 0xFFFFFF }
 
enum  { OCRDMA_ALLOC_PD_ENABLE_DPP = BIT(16), OCRDMA_PD_MAX_DPP_ENABLED_QP = 8, OCRDMA_DPP_PAGE_SIZE = 4096 }
 
enum  { OCRDMA_ALLOC_PD_RSP_DPP = Bit(16), OCRDMA_ALLOC_PD_RSP_DPP_PAGE_SHIFT = 20, OCRDMA_ALLOC_PD_RSP_PDID_MASK = 0xFFFF }
 
enum  { OCRDMA_ADDR_CHECK_ENABLE = 1, OCRDMA_ADDR_CHECK_DISABLE = 0 }
 
enum  {
  OCRDMA_ALLOC_LKEY_PD_ID_SHIFT = 0, OCRDMA_ALLOC_LKEY_PD_ID_MASK = 0xFFFF, OCRDMA_ALLOC_LKEY_ADDR_CHECK_SHIFT = 0, OCRDMA_ALLOC_LKEY_ADDR_CHECK_MASK = Bit(0),
  OCRDMA_ALLOC_LKEY_FMR_SHIFT = 1, OCRDMA_ALLOC_LKEY_FMR_MASK = Bit(1), OCRDMA_ALLOC_LKEY_REMOTE_INV_SHIFT = 2, OCRDMA_ALLOC_LKEY_REMOTE_INV_MASK = Bit(2),
  OCRDMA_ALLOC_LKEY_REMOTE_WR_SHIFT = 3, OCRDMA_ALLOC_LKEY_REMOTE_WR_MASK = Bit(3), OCRDMA_ALLOC_LKEY_REMOTE_RD_SHIFT = 4, OCRDMA_ALLOC_LKEY_REMOTE_RD_MASK = Bit(4),
  OCRDMA_ALLOC_LKEY_LOCAL_WR_SHIFT = 5, OCRDMA_ALLOC_LKEY_LOCAL_WR_MASK = Bit(5), OCRDMA_ALLOC_LKEY_REMOTE_ATOMIC_MASK = Bit(6), OCRDMA_ALLOC_LKEY_REMOTE_ATOMIC_SHIFT = 6,
  OCRDMA_ALLOC_LKEY_PBL_SIZE_SHIFT = 16, OCRDMA_ALLOC_LKEY_PBL_SIZE_MASK
}
 
enum  {
  OCRDMA_REG_NSMR_LRKEY_INDEX_SHIFT = 0, OCRDMA_REG_NSMR_LRKEY_INDEX_MASK = 0xFFFFFF, OCRDMA_REG_NSMR_LRKEY_SHIFT = 24, OCRDMA_REG_NSMR_LRKEY_MASK,
  OCRDMA_REG_NSMR_PD_ID_SHIFT = 0, OCRDMA_REG_NSMR_PD_ID_MASK = 0xFFFF, OCRDMA_REG_NSMR_NUM_PBL_SHIFT = 16, OCRDMA_REG_NSMR_NUM_PBL_MASK,
  OCRDMA_REG_NSMR_PBE_SIZE_SHIFT = 0, OCRDMA_REG_NSMR_PBE_SIZE_MASK = 0xFFFF, OCRDMA_REG_NSMR_HPAGE_SIZE_SHIFT = 16, OCRDMA_REG_NSMR_HPAGE_SIZE_MASK,
  OCRDMA_REG_NSMR_BIND_MEMWIN_SHIFT = 24, OCRDMA_REG_NSMR_BIND_MEMWIN_MASK = Bit(24), OCRDMA_REG_NSMR_ZB_SHIFT = 25, OCRDMA_REG_NSMR_ZB_SHIFT_MASK = Bit(25),
  OCRDMA_REG_NSMR_REMOTE_INV_SHIFT = 26, OCRDMA_REG_NSMR_REMOTE_INV_MASK = Bit(26), OCRDMA_REG_NSMR_REMOTE_WR_SHIFT = 27, OCRDMA_REG_NSMR_REMOTE_WR_MASK = Bit(27),
  OCRDMA_REG_NSMR_REMOTE_RD_SHIFT = 28, OCRDMA_REG_NSMR_REMOTE_RD_MASK = Bit(28), OCRDMA_REG_NSMR_LOCAL_WR_SHIFT = 29, OCRDMA_REG_NSMR_LOCAL_WR_MASK = Bit(29),
  OCRDMA_REG_NSMR_REMOTE_ATOMIC_SHIFT = 30, OCRDMA_REG_NSMR_REMOTE_ATOMIC_MASK = Bit(30), OCRDMA_REG_NSMR_LAST_SHIFT = 31, OCRDMA_REG_NSMR_LAST_MASK = Bit(31)
}
 
enum  {
  OCRDMA_REG_NSMR_CONT_PBL_SHIFT = 0, OCRDMA_REG_NSMR_CONT_PBL_SHIFT_MASK = 0xFFFF, OCRDMA_REG_NSMR_CONT_NUM_PBL_SHIFT = 16, OCRDMA_REG_NSMR_CONT_NUM_PBL_MASK,
  OCRDMA_REG_NSMR_CONT_LAST_SHIFT = 31, OCRDMA_REG_NSMR_CONT_LAST_MASK = Bit(31)
}
 
enum  { OCRDMA_REG_NSMR_RSP_NUM_PBL_SHIFT = 16, OCRDMA_REG_NSMR_RSP_NUM_PBL_MASK = 0xFFFF0000 }
 
enum  {
  OCRDMA_REG_NSMR_CONT_RSP_LRKEY_INDEX_SHIFT = 0, OCRDMA_REG_NSMR_CONT_RSP_LRKEY_INDEX_MASK = 0xFFFFFF, OCRDMA_REG_NSMR_CONT_RSP_LRKEY_SHIFT = 24, OCRDMA_REG_NSMR_CONT_RSP_LRKEY_MASK,
  OCRDMA_REG_NSMR_CONT_RSP_NUM_PBL_SHIFT = 16, OCRDMA_REG_NSMR_CONT_RSP_NUM_PBL_MASK
}
 
enum  { OCRDMA_ALLOC_MW_PD_ID_SHIFT = 0, OCRDMA_ALLOC_MW_PD_ID_MASK = 0xFFFF }
 
enum  { OCRDMA_ALLOC_MW_RSP_LRKEY_INDEX_SHIFT = 0, OCRDMA_ALLOC_MW_RSP_LRKEY_INDEX_MASK = 0xFFFFFF }
 
enum  {
  OCRDMA_CREATE_AH_NUM_PAGES_SHIFT = 19, OCRDMA_CREATE_AH_NUM_PAGES_MASK, OCRDMA_CREATE_AH_PAGE_SIZE_SHIFT = 16, OCRDMA_CREATE_AH_PAGE_SIZE_MASK,
  OCRDMA_CREATE_AH_ENTRY_SIZE_SHIFT = 23, OCRDMA_CREATE_AH_ENTRY_SIZE_MASK
}
 
enum  {
  OCRDMA_EQE_VALID_SHIFT = 0, OCRDMA_EQE_VALID_MASK = Bit(0), OCRDMA_EQE_FOR_CQE_MASK = 0xFFFE, OCRDMA_EQE_RESOURCE_ID_SHIFT = 16,
  OCRDMA_EQE_RESOURCE_ID_MASK
}
 
enum  OCRDMA_CQE_STATUS {
  OCRDMA_CQE_SUCCESS = 0, OCRDMA_CQE_LOC_LEN_ERR, OCRDMA_CQE_LOC_QP_OP_ERR, OCRDMA_CQE_LOC_EEC_OP_ERR,
  OCRDMA_CQE_LOC_PROT_ERR, OCRDMA_CQE_WR_FLUSH_ERR, OCRDMA_CQE_MW_BIND_ERR, OCRDMA_CQE_BAD_RESP_ERR,
  OCRDMA_CQE_LOC_ACCESS_ERR, OCRDMA_CQE_REM_INV_REQ_ERR, OCRDMA_CQE_REM_ACCESS_ERR, OCRDMA_CQE_REM_OP_ERR,
  OCRDMA_CQE_RETRY_EXC_ERR, OCRDMA_CQE_RNR_RETRY_EXC_ERR, OCRDMA_CQE_LOC_RDD_VIOL_ERR, OCRDMA_CQE_REM_INV_RD_REQ_ERR,
  OCRDMA_CQE_REM_ABORT_ERR, OCRDMA_CQE_INV_EECN_ERR, OCRDMA_CQE_INV_EEC_STATE_ERR, OCRDMA_CQE_FATAL_ERR,
  OCRDMA_CQE_RESP_TIMEOUT_ERR, OCRDMA_CQE_GENERAL_ERR
}
 
enum  {
  OCRDMA_CQE_WQEIDX_SHIFT = 0, OCRDMA_CQE_WQEIDX_MASK = 0xFFFF, OCRDMA_CQE_UD_XFER_LEN_SHIFT = 16, OCRDMA_CQE_PKEY_SHIFT = 0,
  OCRDMA_CQE_PKEY_MASK = 0xFFFF, OCRDMA_CQE_QPN_SHIFT = 0, OCRDMA_CQE_QPN_MASK = 0x0000FFFF, OCRDMA_CQE_BUFTAG_SHIFT = 16,
  OCRDMA_CQE_BUFTAG_MASK = 0xFFFF << OCRDMA_CQE_BUFTAG_SHIFT, OCRDMA_CQE_UD_STATUS_SHIFT = 24, OCRDMA_CQE_UD_STATUS_MASK = 0x7 << OCRDMA_CQE_UD_STATUS_SHIFT, OCRDMA_CQE_STATUS_SHIFT = 16,
  OCRDMA_CQE_STATUS_MASK = 0xFF << OCRDMA_CQE_STATUS_SHIFT, OCRDMA_CQE_VALID = Bit(31), OCRDMA_CQE_INVALIDATE = Bit(30), OCRDMA_CQE_QTYPE = Bit(29),
  OCRDMA_CQE_IMM = Bit(28), OCRDMA_CQE_WRITE_IMM = Bit(27), OCRDMA_CQE_QTYPE_SQ = 0, OCRDMA_CQE_QTYPE_RQ = 1,
  OCRDMA_CQE_SRCQP_MASK = 0xFFFFFF
}
 
enum  {
  OCRDMA_FLAG_SIG = 0x1, OCRDMA_FLAG_INV = 0x2, OCRDMA_FLAG_FENCE_L = 0x4, OCRDMA_FLAG_FENCE_R = 0x8,
  OCRDMA_FLAG_SOLICIT = 0x10, OCRDMA_FLAG_IMM = 0x20, OCRDMA_LKEY_FLAG_LOCAL_WR = 0x1, OCRDMA_LKEY_FLAG_REMOTE_RD = 0x2,
  OCRDMA_LKEY_FLAG_REMOTE_WR = 0x4, OCRDMA_LKEY_FLAG_VATO = 0x8
}
 
enum  OCRDMA_WQE_OPCODE {
  OCRDMA_WRITE = 0x06, OCRDMA_READ = 0x0C, OCRDMA_RESV0 = 0x02, OCRDMA_SEND = 0x00,
  OCRDMA_CMP_SWP = 0x14, OCRDMA_BIND_MW = 0x10, OCRDMA_RESV1 = 0x0A, OCRDMA_LKEY_INV = 0x15,
  OCRDMA_FETCH_ADD = 0x13, OCRDMA_POST_RQ = 0x12
}
 
enum  { OCRDMA_TYPE_INLINE = 0x0, OCRDMA_TYPE_LKEY = 0x1 }
 
enum  {
  OCRDMA_WQE_OPCODE_SHIFT = 0, OCRDMA_WQE_OPCODE_MASK = 0x0000001F, OCRDMA_WQE_FLAGS_SHIFT = 5, OCRDMA_WQE_TYPE_SHIFT = 16,
  OCRDMA_WQE_TYPE_MASK = 0x00030000, OCRDMA_WQE_SIZE_SHIFT = 18, OCRDMA_WQE_SIZE_MASK = 0xFF, OCRDMA_WQE_NXT_WQE_SIZE_SHIFT = 25,
  OCRDMA_WQE_LKEY_FLAGS_SHIFT = 0, OCRDMA_WQE_LKEY_FLAGS_MASK = 0xF
}
 

Variables

struct ocrdma_mbx_hdr __packed
 

Macro Definition Documentation

#define Bit (   _b)    (1 << (_b))

Definition at line 31 of file ocrdma_sli.h.

#define is_cqe_for_rq (   cqe)    ((le32_to_cpu(cqe->flags_status_srcqpn) & OCRDMA_CQE_QTYPE) ? 1 : 0)

Definition at line 1558 of file ocrdma_sli.h.

#define is_cqe_for_sq (   cqe)    ((le32_to_cpu(cqe->flags_status_srcqpn) & OCRDMA_CQE_QTYPE) ? 0 : 1)

Definition at line 1556 of file ocrdma_sli.h.

#define is_cqe_imm (   cqe)    ((le32_to_cpu(cqe->flags_status_srcqpn) & OCRDMA_CQE_IMM) ? 1 : 0)

Definition at line 1563 of file ocrdma_sli.h.

#define is_cqe_invalidated (   cqe)
Value:
((le32_to_cpu(cqe->flags_status_srcqpn) & OCRDMA_CQE_INVALIDATE) ? \
1 : 0)

Definition at line 1560 of file ocrdma_sli.h.

#define is_cqe_valid (   cq,
  cqe 
)
Value:
(((le32_to_cpu(cqe->flags_status_srcqpn) & OCRDMA_CQE_VALID)\
== cq->phase) ? 1 : 0)

Definition at line 1553 of file ocrdma_sli.h.

#define is_cqe_wr_imm (   cqe)    ((le32_to_cpu(cqe->flags_status_srcqpn) & OCRDMA_CQE_WRITE_IMM) ? 1 : 0)

Definition at line 1565 of file ocrdma_sli.h.

#define MAX_OCRDMA_EQ_PAGES   (8)

Definition at line 269 of file ocrdma_sli.h.

#define MAX_OCRDMA_IRD_PAGES   4

Definition at line 747 of file ocrdma_sli.h.

#define MAX_OCRDMA_NSMR_PBL   (u32)22

Definition at line 1248 of file ocrdma_sli.h.

#define MAX_OCRDMA_PBL_PER_LKEY   32767

Definition at line 1250 of file ocrdma_sli.h.

#define MAX_OCRDMA_PBL_SIZE   65536

Definition at line 1249 of file ocrdma_sli.h.

#define MAX_OCRDMA_QP_PAGES   (8)

Definition at line 150 of file ocrdma_sli.h.

#define MAX_OCRDMA_SRQ_PAGES   MAX_OCRDMA_QP_PAGES

Definition at line 165 of file ocrdma_sli.h.

#define OCRDMA_AH_TBL_PAGES   8

Definition at line 1429 of file ocrdma_sli.h.

#define OCRDMA_ASYNC_EVE_CODE   0x14

Definition at line 387 of file ocrdma_sli.h.

#define OCRDMA_AV_VALID   Bit(0)

Definition at line 1666 of file ocrdma_sli.h.

#define OCRDMA_AV_VLAN_VALID   Bit(1)

Definition at line 1667 of file ocrdma_sli.h.

#define OCRDMA_CQ_PAGE_SIZE   16384

Definition at line 160 of file ocrdma_sli.h.

#define OCRDMA_CREATE_CQ_MAX_PAGES   (4)

Definition at line 153 of file ocrdma_sli.h.

#define OCRDMA_DB_CQ_NUM_POPPED_SHIFT   (16) /* bits 16 - 28 */

Definition at line 112 of file ocrdma_sli.h.

#define OCRDMA_DB_CQ_REARM_SHIFT   (29) /* bit 29 */

Definition at line 114 of file ocrdma_sli.h.

#define OCRDMA_DB_CQ_RING_ID_EXT_MASK   0x0C00 /* bits 10-11 of qid at 12-11 */

Definition at line 109 of file ocrdma_sli.h.

#define OCRDMA_DB_CQ_RING_ID_EXT_MASK_SHIFT   0x1

Definition at line 111 of file ocrdma_sli.h.

#define OCRDMA_DB_CQ_RING_ID_MASK   0x3FF /* bits 0 - 9 */

Definition at line 108 of file ocrdma_sli.h.

#define OCRDMA_DB_CQ_SOLICIT_SHIFT   (31) /* bit 31 */

Definition at line 116 of file ocrdma_sli.h.

#define OCRDMA_DPP_CQE_SIZE   (4)

Definition at line 154 of file ocrdma_sli.h.

#define OCRDMA_EQ_CLR_SHIFT   (9) /* bit 9 */

Definition at line 123 of file ocrdma_sli.h.

#define OCRDMA_EQ_ID_EXT_MASK   0x3e00 /* bits 9-13 */

Definition at line 119 of file ocrdma_sli.h.

#define OCRDMA_EQ_ID_EXT_MASK_SHIFT   (2) /* qid bits 9-13 at 11-15 */

Definition at line 120 of file ocrdma_sli.h.

#define OCRDMA_EQ_ID_MASK   0x1FF /* bits 0 - 8 */

Definition at line 118 of file ocrdma_sli.h.

#define OCRDMA_EQ_LEN   4096

Definition at line 247 of file ocrdma_sli.h.

#define OCRDMA_EQ_MINOR_OTHER   (0x1)

Definition at line 291 of file ocrdma_sli.h.

#define OCRDMA_EQ_TYPE_SHIFT   (10) /* bit 10 */

Definition at line 125 of file ocrdma_sli.h.

#define OCRDMA_GEN1_FAMILY   0xB

Definition at line 33 of file ocrdma_sli.h.

#define OCRDMA_GEN2_CQ_PAGE_SIZE   4096

Definition at line 157 of file ocrdma_sli.h.

#define OCRDMA_GEN2_FAMILY   0x2

Definition at line 34 of file ocrdma_sli.h.

#define OCRDMA_GEN2_MAX_CQE   1024

Definition at line 156 of file ocrdma_sli.h.

#define OCRDMA_GEN2_WQE_SIZE   256

Definition at line 158 of file ocrdma_sli.h.

#define OCRDMA_MAX_CQ   2048

Definition at line 93 of file ocrdma_sli.h.

#define OCRDMA_MAX_CQE   4095

Definition at line 159 of file ocrdma_sli.h.

#define OCRDMA_MAX_Q_PAGE_SIZE_CNT   (5)

Definition at line 147 of file ocrdma_sli.h.

#define OCRDMA_MAX_Q_PAGES   (8)

Definition at line 138 of file ocrdma_sli.h.

#define OCRDMA_MAX_QP   2048

Definition at line 92 of file ocrdma_sli.h.

#define OCRDMA_MAX_SGID   (8)

Definition at line 90 of file ocrdma_sli.h.

#define OCRDMA_MAX_WQE_MEM_SIZE   (MAX_OCRDMA_QP_PAGES * OCRDMA_MIN_HQ_PAGE_SIZE)

Definition at line 151 of file ocrdma_sli.h.

#define OCRDMA_MIN_HPAGE_SIZE   (4096)

Definition at line 135 of file ocrdma_sli.h.

#define OCRDMA_MIN_Q_PAGE_SIZE   (4096)

Definition at line 137 of file ocrdma_sli.h.

#define OCRDMA_MQ_CQ_LEN   256

Definition at line 248 of file ocrdma_sli.h.

#define OCRDMA_MQ_ID_MASK   0x7FF /* bits 0 - 10 */

Definition at line 131 of file ocrdma_sli.h.

#define OCRDMA_MQ_LEN   128

Definition at line 249 of file ocrdma_sli.h.

#define OCRDMA_MQ_NUM_MQE_SHIFT   (16) /* bits 16 - 29 */

Definition at line 133 of file ocrdma_sli.h.

#define OCRDMA_NUM_EQE_SHIFT   (16) /* bits 16 - 28 */

Definition at line 127 of file ocrdma_sli.h.

#define OCRDMA_Q_PAGE_BASE_SIZE   (OCRDMA_MIN_Q_PAGE_SIZE * OCRDMA_MAX_Q_PAGES)

Definition at line 148 of file ocrdma_sli.h.

#define OCRDMA_QUERY_UP_QP_ID_MASK   0xFFFFFF

Definition at line 1033 of file ocrdma_sli.h.

#define OCRDMA_QUERY_UP_QP_ID_SHIFT   0

Definition at line 1032 of file ocrdma_sli.h.

#define OCRDMA_REARM_SHIFT   (29) /* bit 29 */

Definition at line 129 of file ocrdma_sli.h.

#define OCRDMA_ROCE_ETH_TYPE   0x8915

Definition at line 1654 of file ocrdma_sli.h.

#define OCRDMA_SUBSYS_COMMON   1

Definition at line 71 of file ocrdma_sli.h.

#define OCRDMA_SUBSYS_ROCE   10

Definition at line 36 of file ocrdma_sli.h.

#define OCRDMA_WQE_ALIGN_BYTES   16

Definition at line 163 of file ocrdma_sli.h.

#define OCRDMA_WQE_SIZE   128

Definition at line 161 of file ocrdma_sli.h.

#define OCRDMA_WQE_STRIDE   8

Definition at line 162 of file ocrdma_sli.h.

#define PAGE_SHIFT_4K   12

Definition at line 251 of file ocrdma_sli.h.

#define PAGE_SIZE_4K   (1 << PAGE_SHIFT_4K)

Definition at line 252 of file ocrdma_sli.h.

#define PAGES_4K_SPANNED (   _address,
  size 
)
Value:
((u32)((((size_t)(_address) & (PAGE_SIZE_4K - 1)) + \

Definition at line 255 of file ocrdma_sli.h.

Enumeration Type Documentation

anonymous enum
Enumerator:
OCRDMA_CMD_QUERY_CONFIG 
OCRDMA_CMD_ALLOC_PD 
OCRDMA_CMD_DEALLOC_PD 
OCRDMA_CMD_CREATE_AH_TBL 
OCRDMA_CMD_DELETE_AH_TBL 
OCRDMA_CMD_CREATE_QP 
OCRDMA_CMD_QUERY_QP 
OCRDMA_CMD_MODIFY_QP 
OCRDMA_CMD_DELETE_QP 
OCRDMA_CMD_RSVD1 
OCRDMA_CMD_ALLOC_LKEY 
OCRDMA_CMD_DEALLOC_LKEY 
OCRDMA_CMD_REGISTER_NSMR 
OCRDMA_CMD_REREGISTER_NSMR 
OCRDMA_CMD_REGISTER_NSMR_CONT 
OCRDMA_CMD_QUERY_NSMR 
OCRDMA_CMD_ALLOC_MW 
OCRDMA_CMD_QUERY_MW 
OCRDMA_CMD_CREATE_SRQ 
OCRDMA_CMD_QUERY_SRQ 
OCRDMA_CMD_MODIFY_SRQ 
OCRDMA_CMD_DELETE_SRQ 
OCRDMA_CMD_ATTACH_MCAST 
OCRDMA_CMD_DETACH_MCAST 
OCRDMA_CMD_MAX 

Definition at line 37 of file ocrdma_sli.h.

anonymous enum
Enumerator:
OCRDMA_CMD_CREATE_CQ 
OCRDMA_CMD_CREATE_EQ 
OCRDMA_CMD_CREATE_MQ 
OCRDMA_CMD_GET_FW_VER 
OCRDMA_CMD_DELETE_MQ 
OCRDMA_CMD_DELETE_CQ 
OCRDMA_CMD_DELETE_EQ 
OCRDMA_CMD_GET_FW_CONFIG 
OCRDMA_CMD_CREATE_MQ_EXT 

Definition at line 72 of file ocrdma_sli.h.

anonymous enum
Enumerator:
QTYPE_EQ 
QTYPE_CQ 
QTYPE_MCCQ 

Definition at line 84 of file ocrdma_sli.h.

anonymous enum
Enumerator:
OCRDMA_DB_RQ_OFFSET 
OCRDMA_DB_GEN2_RQ1_OFFSET 
OCRDMA_DB_GEN2_RQ2_OFFSET 
OCRDMA_DB_SQ_OFFSET 
OCRDMA_DB_GEN2_SQ_OFFSET 
OCRDMA_DB_SRQ_OFFSET 
OCRDMA_DB_GEN2_SRQ_OFFSET 
OCRDMA_DB_CQ_OFFSET 
OCRDMA_DB_EQ_OFFSET 
OCRDMA_DB_MQ_OFFSET 

Definition at line 95 of file ocrdma_sli.h.

anonymous enum
Enumerator:
OCRDMA_MCH_OPCODE_SHIFT 
OCRDMA_MCH_OPCODE_MASK 
OCRDMA_MCH_SUBSYS_SHIFT 
OCRDMA_MCH_SUBSYS_MASK 

Definition at line 167 of file ocrdma_sli.h.

anonymous enum
Enumerator:
OCRDMA_MBX_RSP_OPCODE_SHIFT 
OCRDMA_MBX_RSP_OPCODE_MASK 
OCRDMA_MBX_RSP_SUBSYS_SHIFT 
OCRDMA_MBX_RSP_SUBSYS_MASK 
OCRDMA_MBX_RSP_STATUS_SHIFT 
OCRDMA_MBX_RSP_STATUS_MASK 
OCRDMA_MBX_RSP_ASTATUS_SHIFT 
OCRDMA_MBX_RSP_ASTATUS_MASK 

Definition at line 182 of file ocrdma_sli.h.

anonymous enum
Enumerator:
OCRDMA_MQE_EMBEDDED 
OCRDMA_MQE_NONEMBEDDED 

Definition at line 202 of file ocrdma_sli.h.

anonymous enum
Enumerator:
OCRDMA_MQE_HDR_EMB_SHIFT 
OCRDMA_MQE_HDR_EMB_MASK 
OCRDMA_MQE_HDR_SGE_CNT_SHIFT 
OCRDMA_MQE_HDR_SGE_CNT_MASK 
OCRDMA_MQE_HDR_SPECIAL_SHIFT 
OCRDMA_MQE_HDR_SPECIAL_MASK 

Definition at line 213 of file ocrdma_sli.h.

anonymous enum
Enumerator:
OCRDMA_CREATE_EQ_VALID 
OCRDMA_CREATE_EQ_CNT_SHIFT 
OCRDMA_CREATE_CQ_DELAY_SHIFT 

Definition at line 280 of file ocrdma_sli.h.

anonymous enum
Enumerator:
OCRDMA_MCQE_STATUS_SHIFT 
OCRDMA_MCQE_STATUS_MASK 
OCRDMA_MCQE_ESTATUS_SHIFT 
OCRDMA_MCQE_ESTATUS_MASK 
OCRDMA_MCQE_CONS_SHIFT 
OCRDMA_MCQE_CONS_MASK 
OCRDMA_MCQE_CMPL_SHIFT 
OCRDMA_MCQE_CMPL_MASK 
OCRDMA_MCQE_AE_SHIFT 
OCRDMA_MCQE_AE_MASK 
OCRDMA_MCQE_VALID_SHIFT 
OCRDMA_MCQE_VALID_MASK 

Definition at line 293 of file ocrdma_sli.h.

anonymous enum
Enumerator:
OCRDMA_AE_MCQE_QPVALID 
OCRDMA_AE_MCQE_QPID_MASK 
OCRDMA_AE_MCQE_CQVALID 
OCRDMA_AE_MCQE_CQID_MASK 
OCRDMA_AE_MCQE_VALID 
OCRDMA_AE_MCQE_AE 
OCRDMA_AE_MCQE_EVENT_TYPE_SHIFT 
OCRDMA_AE_MCQE_EVENT_TYPE_MASK 
OCRDMA_AE_MCQE_EVENT_CODE_SHIFT 
OCRDMA_AE_MCQE_EVENT_CODE_MASK 

Definition at line 315 of file ocrdma_sli.h.

anonymous enum
Enumerator:
OCRDMA_AE_MPA_MCQE_REQ_ID_SHIFT 
OCRDMA_AE_MPA_MCQE_REQ_ID_MASK 
OCRDMA_AE_MPA_MCQE_EVENT_CODE_SHIFT 
OCRDMA_AE_MPA_MCQE_EVENT_CODE_MASK 
OCRDMA_AE_MPA_MCQE_EVENT_TYPE_SHIFT 
OCRDMA_AE_MPA_MCQE_EVENT_TYPE_MASK 
OCRDMA_AE_MPA_MCQE_EVENT_AE_SHIFT 
OCRDMA_AE_MPA_MCQE_EVENT_AE_MASK 
OCRDMA_AE_MPA_MCQE_EVENT_VALID_SHIFT 
OCRDMA_AE_MPA_MCQE_EVENT_VALID_MASK 

Definition at line 337 of file ocrdma_sli.h.

anonymous enum
Enumerator:
OCRDMA_AE_QP_MCQE_NEW_QP_STATE_SHIFT 
OCRDMA_AE_QP_MCQE_NEW_QP_STATE_MASK 
OCRDMA_AE_QP_MCQE_QP_ID_SHIFT 
OCRDMA_AE_QP_MCQE_QP_ID_MASK 
OCRDMA_AE_QP_MCQE_EVENT_CODE_SHIFT 
OCRDMA_AE_QP_MCQE_EVENT_CODE_MASK 
OCRDMA_AE_QP_MCQE_EVENT_TYPE_SHIFT 
OCRDMA_AE_QP_MCQE_EVENT_TYPE_MASK 
OCRDMA_AE_QP_MCQE_EVENT_AE_SHIFT 
OCRDMA_AE_QP_MCQE_EVENT_AE_MASK 
OCRDMA_AE_QP_MCQE_EVENT_VALID_SHIFT 
OCRDMA_AE_QP_MCQE_EVENT_VALID_MASK 

Definition at line 361 of file ocrdma_sli.h.

anonymous enum
Enumerator:
OCRDMA_MBX_QUERY_CFG_CQ_OVERFLOW_SHIFT 
OCRDMA_MBX_QUERY_CFG_CQ_OVERFLOW_MASK 
OCRDMA_MBX_QUERY_CFG_SRQ_SUPPORTED_SHIFT 
OCRDMA_MBX_QUERY_CFG_SRQ_SUPPORTED_MASK 
OCRDMA_MBX_QUERY_CFG_MAX_QP_SHIFT 
OCRDMA_MBX_QUERY_CFG_MAX_QP_MASK 
OCRDMA_MBX_QUERY_CFG_MAX_PD_SHIFT 
OCRDMA_MBX_QUERY_CFG_MAX_PD_MASK 
OCRDMA_MBX_QUERY_CFG_CA_ACK_DELAY_SHIFT 
OCRDMA_MBX_QUERY_CFG_CA_ACK_DELAY_MASK 
OCRDMA_MBX_QUERY_CFG_MAX_SEND_SGE_SHIFT 
OCRDMA_MBX_QUERY_CFG_MAX_SEND_SGE_MASK 
OCRDMA_MBX_QUERY_CFG_MAX_WRITE_SGE_SHIFT 
OCRDMA_MBX_QUERY_CFG_MAX_WRITE_SGE_MASK 
OCRDMA_MBX_QUERY_CFG_MAX_ORD_PER_QP_SHIFT 
OCRDMA_MBX_QUERY_CFG_MAX_ORD_PER_QP_MASK 
OCRDMA_MBX_QUERY_CFG_MAX_IRD_PER_QP_SHIFT 
OCRDMA_MBX_QUERY_CFG_MAX_IRD_PER_QP_MASK 
OCRDMA_MBX_QUERY_CFG_MAX_WQE_SIZE_OFFSET 
OCRDMA_MBX_QUERY_CFG_MAX_WQE_SIZE_MASK 
OCRDMA_MBX_QUERY_CFG_MAX_RQE_SIZE_OFFSET 
OCRDMA_MBX_QUERY_CFG_MAX_RQE_SIZE_MASK 
OCRDMA_MBX_QUERY_CFG_MAX_DPP_CQES_OFFSET 
OCRDMA_MBX_QUERY_CFG_MAX_DPP_CQES_MASK 
OCRDMA_MBX_QUERY_CFG_MAX_SRQ_OFFSET 
OCRDMA_MBX_QUERY_CFG_MAX_SRQ_MASK 
OCRDMA_MBX_QUERY_CFG_MAX_RPIR_QPS_OFFSET 
OCRDMA_MBX_QUERY_CFG_MAX_RPIR_QPS_MASK 
OCRDMA_MBX_QUERY_CFG_MAX_DPP_PDS_OFFSET 
OCRDMA_MBX_QUERY_CFG_MAX_DPP_PDS_MASK 
OCRDMA_MBX_QUERY_CFG_MAX_DPP_CREDITS_OFFSET 
OCRDMA_MBX_QUERY_CFG_MAX_DPP_CREDITS_MASK 
OCRDMA_MBX_QUERY_CFG_MAX_DPP_QPS_OFFSET 
OCRDMA_MBX_QUERY_CFG_MAX_DPP_QPS_MASK 
OCRDMA_MBX_QUERY_CFG_MAX_WQES_PER_WQ_OFFSET 
OCRDMA_MBX_QUERY_CFG_MAX_WQES_PER_WQ_MASK 
OCRDMA_MBX_QUERY_CFG_MAX_RQES_PER_RQ_OFFSET 
OCRDMA_MBX_QUERY_CFG_MAX_RQES_PER_RQ_MASK 
OCRDMA_MBX_QUERY_CFG_MAX_CQ_OFFSET 
OCRDMA_MBX_QUERY_CFG_MAX_CQ_MASK 
OCRDMA_MBX_QUERY_CFG_MAX_CQES_PER_CQ_OFFSET 
OCRDMA_MBX_QUERY_CFG_MAX_CQES_PER_CQ_MASK 
OCRDMA_MBX_QUERY_CFG_MAX_SRQ_RQE_OFFSET 
OCRDMA_MBX_QUERY_CFG_MAX_SRQ_RQE_MASK 
OCRDMA_MBX_QUERY_CFG_MAX_SRQ_SGE_OFFSET 
OCRDMA_MBX_QUERY_CFG_MAX_SRQ_SGE_MASK 

Definition at line 403 of file ocrdma_sli.h.

anonymous enum
Enumerator:
OCRDMA_FN_MODE_RDMA 

Definition at line 540 of file ocrdma_sli.h.

anonymous enum
Enumerator:
OCRDMA_CREATE_CQ_VER2 
OCRDMA_CREATE_CQ_PAGE_CNT_MASK 
OCRDMA_CREATE_CQ_PAGE_SIZE_SHIFT 
OCRDMA_CREATE_CQ_PAGE_SIZE_MASK 
OCRDMA_CREATE_CQ_COALESCWM_SHIFT 
OCRDMA_CREATE_CQ_COALESCWM_MASK 
OCRDMA_CREATE_CQ_FLAGS_NODELAY 
OCRDMA_CREATE_CQ_FLAGS_AUTO_VALID 
OCRDMA_CREATE_CQ_EQ_ID_MASK 
OCRDMA_CREATE_CQ_CQE_COUNT_MASK 

Definition at line 544 of file ocrdma_sli.h.

anonymous enum
Enumerator:
OCRDMA_CREATE_CQ_VER0 
OCRDMA_CREATE_CQ_DPP 
OCRDMA_CREATE_CQ_TYPE_SHIFT 
OCRDMA_CREATE_CQ_EQID_SHIFT 
OCRDMA_CREATE_CQ_CNT_SHIFT 
OCRDMA_CREATE_CQ_FLAGS_VALID 
OCRDMA_CREATE_CQ_FLAGS_EVENTABLE 
OCRDMA_CREATE_CQ_DEF_FLAGS 

Definition at line 560 of file ocrdma_sli.h.

anonymous enum
Enumerator:
OCRDMA_CREATE_CQ_RSP_CQ_ID_MASK 

Definition at line 589 of file ocrdma_sli.h.

anonymous enum
Enumerator:
OCRDMA_CREATE_MQ_V0_CQ_ID_SHIFT 
OCRDMA_CREATE_MQ_CQ_ID_SHIFT 
OCRDMA_CREATE_MQ_RING_SIZE_SHIFT 
OCRDMA_CREATE_MQ_VALID 
OCRDMA_CREATE_MQ_ASYNC_CQ_VALID 

Definition at line 603 of file ocrdma_sli.h.

anonymous enum
Enumerator:
OCRDMA_DESTROY_CQ_QID_SHIFT 
OCRDMA_DESTROY_CQ_QID_MASK 
OCRDMA_DESTROY_CQ_QID_BYPASS_FLUSH_SHIFT 
OCRDMA_DESTROY_CQ_QID_BYPASS_FLUSH_MASK 

Definition at line 643 of file ocrdma_sli.h.

anonymous enum
Enumerator:
OCRDMA_QPT_GSI 
OCRDMA_QPT_RC 
OCRDMA_QPT_UD 

Definition at line 663 of file ocrdma_sli.h.

anonymous enum
Enumerator:
OCRDMA_CREATE_QP_REQ_PD_ID_SHIFT 
OCRDMA_CREATE_QP_REQ_PD_ID_MASK 
OCRDMA_CREATE_QP_REQ_SQ_PAGE_SIZE_SHIFT 
OCRDMA_CREATE_QP_REQ_RQ_PAGE_SIZE_SHIFT 
OCRDMA_CREATE_QP_REQ_QPT_SHIFT 
OCRDMA_CREATE_QP_REQ_QPT_MASK 
OCRDMA_CREATE_QP_REQ_MAX_RQE_SHIFT 
OCRDMA_CREATE_QP_REQ_MAX_RQE_MASK 
OCRDMA_CREATE_QP_REQ_MAX_WQE_SHIFT 
OCRDMA_CREATE_QP_REQ_MAX_WQE_MASK 
OCRDMA_CREATE_QP_REQ_MAX_SGE_WRITE_SHIFT 
OCRDMA_CREATE_QP_REQ_MAX_SGE_WRITE_MASK 
OCRDMA_CREATE_QP_REQ_MAX_SGE_SEND_SHIFT 
OCRDMA_CREATE_QP_REQ_MAX_SGE_SEND_MASK 
OCRDMA_CREATE_QP_REQ_FMR_EN_SHIFT 
OCRDMA_CREATE_QP_REQ_FMR_EN_MASK 
OCRDMA_CREATE_QP_REQ_ZERO_LKEYEN_SHIFT 
OCRDMA_CREATE_QP_REQ_ZERO_LKEYEN_MASK 
OCRDMA_CREATE_QP_REQ_BIND_MEMWIN_SHIFT 
OCRDMA_CREATE_QP_REQ_BIND_MEMWIN_MASK 
OCRDMA_CREATE_QP_REQ_INB_WREN_SHIFT 
OCRDMA_CREATE_QP_REQ_INB_WREN_MASK 
OCRDMA_CREATE_QP_REQ_INB_RDEN_SHIFT 
OCRDMA_CREATE_QP_REQ_INB_RDEN_MASK 
OCRDMA_CREATE_QP_REQ_USE_SRQ_SHIFT 
OCRDMA_CREATE_QP_REQ_USE_SRQ_MASK 
OCRDMA_CREATE_QP_REQ_ENABLE_RPIR_SHIFT 
OCRDMA_CREATE_QP_REQ_ENABLE_RPIR_MASK 
OCRDMA_CREATE_QP_REQ_ENABLE_DPP_SHIFT 
OCRDMA_CREATE_QP_REQ_ENABLE_DPP_MASK 
OCRDMA_CREATE_QP_REQ_ENABLE_DPP_CQ_SHIFT 
OCRDMA_CREATE_QP_REQ_ENABLE_DPP_CQ_MASK 
OCRDMA_CREATE_QP_REQ_MAX_SGE_RECV_SHIFT 
OCRDMA_CREATE_QP_REQ_MAX_SGE_RECV_MASK 
OCRDMA_CREATE_QP_REQ_MAX_IRD_SHIFT 
OCRDMA_CREATE_QP_REQ_MAX_IRD_MASK 
OCRDMA_CREATE_QP_REQ_MAX_ORD_SHIFT 
OCRDMA_CREATE_QP_REQ_MAX_ORD_MASK 
OCRDMA_CREATE_QP_REQ_NUM_RQ_PAGES_SHIFT 
OCRDMA_CREATE_QP_REQ_NUM_RQ_PAGES_MASK 
OCRDMA_CREATE_QP_REQ_NUM_WQ_PAGES_SHIFT 
OCRDMA_CREATE_QP_REQ_NUM_WQ_PAGES_MASK 
OCRDMA_CREATE_QP_REQ_RQE_SIZE_SHIFT 
OCRDMA_CREATE_QP_REQ_RQE_SIZE_MASK 
OCRDMA_CREATE_QP_REQ_WQE_SIZE_SHIFT 
OCRDMA_CREATE_QP_REQ_WQE_SIZE_MASK 
OCRDMA_CREATE_QP_REQ_RQ_CQID_SHIFT 
OCRDMA_CREATE_QP_REQ_RQ_CQID_MASK 
OCRDMA_CREATE_QP_REQ_WQ_CQID_SHIFT 
OCRDMA_CREATE_QP_REQ_WQ_CQID_MASK 
OCRDMA_CREATE_QP_REQ_DPP_CQPID_SHIFT 
OCRDMA_CREATE_QP_REQ_DPP_CQPID_MASK 
OCRDMA_CREATE_QP_REQ_DPP_CREDIT_SHIFT 
OCRDMA_CREATE_QP_REQ_DPP_CREDIT_MASK 

Definition at line 669 of file ocrdma_sli.h.

anonymous enum
Enumerator:
OCRDMA_CREATE_QP_REQ_DPP_CREDIT_LIMIT 
OCRDMA_CREATE_QP_RSP_DPP_PAGE_SHIFT 

Definition at line 742 of file ocrdma_sli.h.

anonymous enum
Enumerator:
OCRDMA_CREATE_QP_RSP_QP_ID_SHIFT 
OCRDMA_CREATE_QP_RSP_QP_ID_MASK 
OCRDMA_CREATE_QP_RSP_MAX_RQE_SHIFT 
OCRDMA_CREATE_QP_RSP_MAX_RQE_MASK 
OCRDMA_CREATE_QP_RSP_MAX_WQE_SHIFT 
OCRDMA_CREATE_QP_RSP_MAX_WQE_MASK 
OCRDMA_CREATE_QP_RSP_MAX_SGE_WRITE_SHIFT 
OCRDMA_CREATE_QP_RSP_MAX_SGE_WRITE_MASK 
OCRDMA_CREATE_QP_RSP_MAX_SGE_SEND_SHIFT 
OCRDMA_CREATE_QP_RSP_MAX_SGE_SEND_MASK 
OCRDMA_CREATE_QP_RSP_MAX_SGE_RECV_SHIFT 
OCRDMA_CREATE_QP_RSP_MAX_SGE_RECV_MASK 
OCRDMA_CREATE_QP_RSP_MAX_IRD_SHIFT 
OCRDMA_CREATE_QP_RSP_MAX_IRD_MASK 
OCRDMA_CREATE_QP_RSP_MAX_ORD_SHIFT 
OCRDMA_CREATE_QP_RSP_MAX_ORD_MASK 
OCRDMA_CREATE_QP_RSP_RQ_ID_SHIFT 
OCRDMA_CREATE_QP_RSP_RQ_ID_MASK 
OCRDMA_CREATE_QP_RSP_SQ_ID_SHIFT 
OCRDMA_CREATE_QP_RSP_SQ_ID_MASK 
OCRDMA_CREATE_QP_RSP_DPP_ENABLED_MASK 
OCRDMA_CREATE_QP_RSP_DPP_PAGE_OFFSET_SHIFT 
OCRDMA_CREATE_QP_RSP_DPP_PAGE_OFFSET_MASK 
OCRDMA_CREATE_QP_RSP_DPP_CREDITS_SHIFT 
OCRDMA_CREATE_QP_RSP_DPP_CREDITS_MASK 

Definition at line 787 of file ocrdma_sli.h.

anonymous enum
Enumerator:
OCRDMA_MODIFY_QP_ID_SHIFT 
OCRDMA_MODIFY_QP_ID_MASK 
OCRDMA_QP_PARA_QPS_VALID 
OCRDMA_QP_PARA_SQD_ASYNC_VALID 
OCRDMA_QP_PARA_PKEY_VALID 
OCRDMA_QP_PARA_QKEY_VALID 
OCRDMA_QP_PARA_PMTU_VALID 
OCRDMA_QP_PARA_ACK_TO_VALID 
OCRDMA_QP_PARA_RETRY_CNT_VALID 
OCRDMA_QP_PARA_RRC_VALID 
OCRDMA_QP_PARA_RQPSN_VALID 
OCRDMA_QP_PARA_MAX_IRD_VALID 
OCRDMA_QP_PARA_MAX_ORD_VALID 
OCRDMA_QP_PARA_RNT_VALID 
OCRDMA_QP_PARA_SQPSN_VALID 
OCRDMA_QP_PARA_DST_QPN_VALID 
OCRDMA_QP_PARA_MAX_WQE_VALID 
OCRDMA_QP_PARA_MAX_RQE_VALID 
OCRDMA_QP_PARA_SGE_SEND_VALID 
OCRDMA_QP_PARA_SGE_RECV_VALID 
OCRDMA_QP_PARA_SGE_WR_VALID 
OCRDMA_QP_PARA_INB_RDEN_VALID 
OCRDMA_QP_PARA_INB_WREN_VALID 
OCRDMA_QP_PARA_FLOW_LBL_VALID 
OCRDMA_QP_PARA_BIND_EN_VALID 
OCRDMA_QP_PARA_ZLKEY_EN_VALID 
OCRDMA_QP_PARA_FMR_EN_VALID 
OCRDMA_QP_PARA_INBAT_EN_VALID 
OCRDMA_QP_PARA_VLAN_EN_VALID 
OCRDMA_MODIFY_QP_FLAGS_RD 
OCRDMA_MODIFY_QP_FLAGS_WR 
OCRDMA_MODIFY_QP_FLAGS_SEND 
OCRDMA_MODIFY_QP_FLAGS_ATOMIC 

Definition at line 852 of file ocrdma_sli.h.

anonymous enum
Enumerator:
OCRDMA_QP_PARAMS_SRQ_ID_SHIFT 
OCRDMA_QP_PARAMS_SRQ_ID_MASK 
OCRDMA_QP_PARAMS_MAX_RQE_SHIFT 
OCRDMA_QP_PARAMS_MAX_RQE_MASK 
OCRDMA_QP_PARAMS_MAX_WQE_SHIFT 
OCRDMA_QP_PARAMS_MAX_WQE_MASK 
OCRDMA_QP_PARAMS_MAX_SGE_WRITE_SHIFT 
OCRDMA_QP_PARAMS_MAX_SGE_WRITE_MASK 
OCRDMA_QP_PARAMS_MAX_SGE_SEND_SHIFT 
OCRDMA_QP_PARAMS_MAX_SGE_SEND_MASK 
OCRDMA_QP_PARAMS_FLAGS_FMR_EN 
OCRDMA_QP_PARAMS_FLAGS_LKEY_0_EN 
OCRDMA_QP_PARAMS_FLAGS_BIND_MW_EN 
OCRDMA_QP_PARAMS_FLAGS_INBWR_EN 
OCRDMA_QP_PARAMS_FLAGS_INBRD_EN 
OCRDMA_QP_PARAMS_STATE_SHIFT 
OCRDMA_QP_PARAMS_STATE_MASK 
OCRDMA_QP_PARAMS_FLAGS_SQD_ASYNC 
OCRDMA_QP_PARAMS_FLAGS_INB_ATEN 
OCRDMA_QP_PARAMS_MAX_SGE_RECV_SHIFT 
OCRDMA_QP_PARAMS_MAX_SGE_RECV_MASK 
OCRDMA_QP_PARAMS_MAX_IRD_SHIFT 
OCRDMA_QP_PARAMS_MAX_IRD_MASK 
OCRDMA_QP_PARAMS_MAX_ORD_SHIFT 
OCRDMA_QP_PARAMS_MAX_ORD_MASK 
OCRDMA_QP_PARAMS_RQ_CQID_SHIFT 
OCRDMA_QP_PARAMS_RQ_CQID_MASK 
OCRDMA_QP_PARAMS_WQ_CQID_SHIFT 
OCRDMA_QP_PARAMS_WQ_CQID_MASK 
OCRDMA_QP_PARAMS_RQ_PSN_SHIFT 
OCRDMA_QP_PARAMS_RQ_PSN_MASK 
OCRDMA_QP_PARAMS_HOP_LMT_SHIFT 
OCRDMA_QP_PARAMS_HOP_LMT_MASK 
OCRDMA_QP_PARAMS_SQ_PSN_SHIFT 
OCRDMA_QP_PARAMS_SQ_PSN_MASK 
OCRDMA_QP_PARAMS_TCLASS_SHIFT 
OCRDMA_QP_PARAMS_TCLASS_MASK 
OCRDMA_QP_PARAMS_DEST_QPN_SHIFT 
OCRDMA_QP_PARAMS_DEST_QPN_MASK 
OCRDMA_QP_PARAMS_RNR_RETRY_CNT_SHIFT 
OCRDMA_QP_PARAMS_RNR_RETRY_CNT_MASK 
OCRDMA_QP_PARAMS_ACK_TIMEOUT_SHIFT 
OCRDMA_QP_PARAMS_ACK_TIMEOUT_MASK 
OCRDMA_QP_PARAMS_PKEY_IDNEX_SHIFT 
OCRDMA_QP_PARAMS_PKEY_INDEX_MASK 
OCRDMA_QP_PARAMS_PATH_MTU_SHIFT 
OCRDMA_QP_PARAMS_PATH_MTU_MASK 
OCRDMA_QP_PARAMS_FLOW_LABEL_SHIFT 
OCRDMA_QP_PARAMS_FLOW_LABEL_MASK 
OCRDMA_QP_PARAMS_SL_SHIFT 
OCRDMA_QP_PARAMS_SL_MASK 
OCRDMA_QP_PARAMS_RETRY_CNT_SHIFT 
OCRDMA_QP_PARAMS_RETRY_CNT_MASK 
OCRDMA_QP_PARAMS_RNR_NAK_TIMER_SHIFT 
OCRDMA_QP_PARAMS_RNR_NAK_TIMER_MASK 
OCRDMA_QP_PARAMS_DMAC_B4_TO_B5_SHIFT 
OCRDMA_QP_PARAMS_DMAC_B4_TO_B5_MASK 
OCRDMA_QP_PARAMS_VLAN_SHIFT 
OCRDMA_QP_PARAMS_VLAN_MASK 

Definition at line 890 of file ocrdma_sli.h.

anonymous enum
Enumerator:
OCRDMA_MODIFY_QP_RSP_MAX_RQE_SHIFT 
OCRDMA_MODIFY_QP_RSP_MAX_RQE_MASK 
OCRDMA_MODIFY_QP_RSP_MAX_WQE_SHIFT 
OCRDMA_MODIFY_QP_RSP_MAX_WQE_MASK 
OCRDMA_MODIFY_QP_RSP_MAX_IRD_SHIFT 
OCRDMA_MODIFY_QP_RSP_MAX_IRD_MASK 
OCRDMA_MODIFY_QP_RSP_MAX_ORD_SHIFT 
OCRDMA_MODIFY_QP_RSP_MAX_ORD_MASK 

Definition at line 1007 of file ocrdma_sli.h.

anonymous enum
Enumerator:
OCRDMA_CREATE_SRQ_PD_ID_SHIFT 
OCRDMA_CREATE_SRQ_PD_ID_MASK 
OCRDMA_CREATE_SRQ_PG_SZ_SHIFT 
OCRDMA_CREATE_SRQ_PG_SZ_MASK 
OCRDMA_CREATE_SRQ_MAX_RQE_SHIFT 
OCRDMA_CREATE_SRQ_MAX_SGE_RECV_SHIFT 
OCRDMA_CREATE_SRQ_MAX_SGE_RECV_MASK 
OCRDMA_CREATE_SRQ_RQE_SIZE_SHIFT 
OCRDMA_CREATE_SRQ_RQE_SIZE_MASK 
OCRDMA_CREATE_SRQ_NUM_RQ_PAGES_SHIFT 
OCRDMA_CREATE_SRQ_NUM_RQ_PAGES_MASK 

Definition at line 1043 of file ocrdma_sli.h.

anonymous enum
Enumerator:
OCRDMA_CREATE_SRQ_RSP_SRQ_ID_SHIFT 
OCRDMA_CREATE_SRQ_RSP_SRQ_ID_MASK 
OCRDMA_CREATE_SRQ_RSP_MAX_RQE_ALLOCATED_SHIFT 
OCRDMA_CREATE_SRQ_RSP_MAX_RQE_ALLOCATED_MASK 
OCRDMA_CREATE_SRQ_RSP_MAX_SGE_RECV_ALLOCATED_SHIFT 
OCRDMA_CREATE_SRQ_RSP_MAX_SGE_RECV_ALLOCATED_MASK 

Definition at line 1072 of file ocrdma_sli.h.

anonymous enum
Enumerator:
OCRDMA_MODIFY_SRQ_ID_SHIFT 
OCRDMA_MODIFY_SRQ_ID_MASK 
OCRDMA_MODIFY_SRQ_MAX_RQE_SHIFT 
OCRDMA_MODIFY_SRQ_MAX_RQE_MASK 
OCRDMA_MODIFY_SRQ_LIMIT_SHIFT 
OCRDMA_MODIFY_SRQ__LIMIT_MASK 

Definition at line 1091 of file ocrdma_sli.h.

anonymous enum
Enumerator:
OCRDMA_QUERY_SRQ_ID_SHIFT 
OCRDMA_QUERY_SRQ_ID_MASK 

Definition at line 1110 of file ocrdma_sli.h.

anonymous enum
Enumerator:
OCRDMA_QUERY_SRQ_RSP_PD_ID_SHIFT 
OCRDMA_QUERY_SRQ_RSP_PD_ID_MASK 
OCRDMA_QUERY_SRQ_RSP_MAX_RQE_SHIFT 
OCRDMA_QUERY_SRQ_RSP_MAX_RQE_MASK 
OCRDMA_QUERY_SRQ_RSP_MAX_SGE_RECV_SHIFT 
OCRDMA_QUERY_SRQ_RSP_MAX_SGE_RECV_MASK 
OCRDMA_QUERY_SRQ_RSP_SRQ_LIMIT_SHIFT 
OCRDMA_QUERY_SRQ_RSP_SRQ_LIMIT_MASK 

Definition at line 1122 of file ocrdma_sli.h.

anonymous enum
Enumerator:
OCRDMA_DESTROY_SRQ_ID_SHIFT 
OCRDMA_DESTROY_SRQ_ID_MASK 

Definition at line 1144 of file ocrdma_sli.h.

anonymous enum
Enumerator:
OCRDMA_ALLOC_PD_ENABLE_DPP 
OCRDMA_PD_MAX_DPP_ENABLED_QP 
OCRDMA_DPP_PAGE_SIZE 

Definition at line 1156 of file ocrdma_sli.h.

anonymous enum
Enumerator:
OCRDMA_ALLOC_PD_RSP_DPP 
OCRDMA_ALLOC_PD_RSP_DPP_PAGE_SHIFT 
OCRDMA_ALLOC_PD_RSP_PDID_MASK 

Definition at line 1168 of file ocrdma_sli.h.

anonymous enum
Enumerator:
OCRDMA_ADDR_CHECK_ENABLE 
OCRDMA_ADDR_CHECK_DISABLE 

Definition at line 1191 of file ocrdma_sli.h.

anonymous enum
Enumerator:
OCRDMA_ALLOC_LKEY_PD_ID_SHIFT 
OCRDMA_ALLOC_LKEY_PD_ID_MASK 
OCRDMA_ALLOC_LKEY_ADDR_CHECK_SHIFT 
OCRDMA_ALLOC_LKEY_ADDR_CHECK_MASK 
OCRDMA_ALLOC_LKEY_FMR_SHIFT 
OCRDMA_ALLOC_LKEY_FMR_MASK 
OCRDMA_ALLOC_LKEY_REMOTE_INV_SHIFT 
OCRDMA_ALLOC_LKEY_REMOTE_INV_MASK 
OCRDMA_ALLOC_LKEY_REMOTE_WR_SHIFT 
OCRDMA_ALLOC_LKEY_REMOTE_WR_MASK 
OCRDMA_ALLOC_LKEY_REMOTE_RD_SHIFT 
OCRDMA_ALLOC_LKEY_REMOTE_RD_MASK 
OCRDMA_ALLOC_LKEY_LOCAL_WR_SHIFT 
OCRDMA_ALLOC_LKEY_LOCAL_WR_MASK 
OCRDMA_ALLOC_LKEY_REMOTE_ATOMIC_MASK 
OCRDMA_ALLOC_LKEY_REMOTE_ATOMIC_SHIFT 
OCRDMA_ALLOC_LKEY_PBL_SIZE_SHIFT 
OCRDMA_ALLOC_LKEY_PBL_SIZE_MASK 

Definition at line 1196 of file ocrdma_sli.h.

anonymous enum
Enumerator:
OCRDMA_REG_NSMR_LRKEY_INDEX_SHIFT 
OCRDMA_REG_NSMR_LRKEY_INDEX_MASK 
OCRDMA_REG_NSMR_LRKEY_SHIFT 
OCRDMA_REG_NSMR_LRKEY_MASK 
OCRDMA_REG_NSMR_PD_ID_SHIFT 
OCRDMA_REG_NSMR_PD_ID_MASK 
OCRDMA_REG_NSMR_NUM_PBL_SHIFT 
OCRDMA_REG_NSMR_NUM_PBL_MASK 
OCRDMA_REG_NSMR_PBE_SIZE_SHIFT 
OCRDMA_REG_NSMR_PBE_SIZE_MASK 
OCRDMA_REG_NSMR_HPAGE_SIZE_SHIFT 
OCRDMA_REG_NSMR_HPAGE_SIZE_MASK 
OCRDMA_REG_NSMR_BIND_MEMWIN_SHIFT 
OCRDMA_REG_NSMR_BIND_MEMWIN_MASK 
OCRDMA_REG_NSMR_ZB_SHIFT 
OCRDMA_REG_NSMR_ZB_SHIFT_MASK 
OCRDMA_REG_NSMR_REMOTE_INV_SHIFT 
OCRDMA_REG_NSMR_REMOTE_INV_MASK 
OCRDMA_REG_NSMR_REMOTE_WR_SHIFT 
OCRDMA_REG_NSMR_REMOTE_WR_MASK 
OCRDMA_REG_NSMR_REMOTE_RD_SHIFT 
OCRDMA_REG_NSMR_REMOTE_RD_MASK 
OCRDMA_REG_NSMR_LOCAL_WR_SHIFT 
OCRDMA_REG_NSMR_LOCAL_WR_MASK 
OCRDMA_REG_NSMR_REMOTE_ATOMIC_SHIFT 
OCRDMA_REG_NSMR_REMOTE_ATOMIC_MASK 
OCRDMA_REG_NSMR_LAST_SHIFT 
OCRDMA_REG_NSMR_LAST_MASK 

Definition at line 1252 of file ocrdma_sli.h.

anonymous enum
Enumerator:
OCRDMA_REG_NSMR_CONT_PBL_SHIFT 
OCRDMA_REG_NSMR_CONT_PBL_SHIFT_MASK 
OCRDMA_REG_NSMR_CONT_NUM_PBL_SHIFT 
OCRDMA_REG_NSMR_CONT_NUM_PBL_MASK 
OCRDMA_REG_NSMR_CONT_LAST_SHIFT 
OCRDMA_REG_NSMR_CONT_LAST_MASK 

Definition at line 1304 of file ocrdma_sli.h.

anonymous enum
Enumerator:
OCRDMA_REG_NSMR_RSP_NUM_PBL_SHIFT 
OCRDMA_REG_NSMR_RSP_NUM_PBL_MASK 

Definition at line 1331 of file ocrdma_sli.h.

anonymous enum
Enumerator:
OCRDMA_REG_NSMR_CONT_RSP_LRKEY_INDEX_SHIFT 
OCRDMA_REG_NSMR_CONT_RSP_LRKEY_INDEX_MASK 
OCRDMA_REG_NSMR_CONT_RSP_LRKEY_SHIFT 
OCRDMA_REG_NSMR_CONT_RSP_LRKEY_MASK 
OCRDMA_REG_NSMR_CONT_RSP_NUM_PBL_SHIFT 
OCRDMA_REG_NSMR_CONT_RSP_NUM_PBL_MASK 

Definition at line 1343 of file ocrdma_sli.h.

anonymous enum
Enumerator:
OCRDMA_ALLOC_MW_PD_ID_SHIFT 
OCRDMA_ALLOC_MW_PD_ID_MASK 

Definition at line 1363 of file ocrdma_sli.h.

anonymous enum
Enumerator:
OCRDMA_ALLOC_MW_RSP_LRKEY_INDEX_SHIFT 
OCRDMA_ALLOC_MW_RSP_LRKEY_INDEX_MASK 

Definition at line 1375 of file ocrdma_sli.h.

anonymous enum
Enumerator:
OCRDMA_CREATE_AH_NUM_PAGES_SHIFT 
OCRDMA_CREATE_AH_NUM_PAGES_MASK 
OCRDMA_CREATE_AH_PAGE_SIZE_SHIFT 
OCRDMA_CREATE_AH_PAGE_SIZE_MASK 
OCRDMA_CREATE_AH_ENTRY_SIZE_SHIFT 
OCRDMA_CREATE_AH_ENTRY_SIZE_MASK 

Definition at line 1415 of file ocrdma_sli.h.

anonymous enum
Enumerator:
OCRDMA_EQE_VALID_SHIFT 
OCRDMA_EQE_VALID_MASK 
OCRDMA_EQE_FOR_CQE_MASK 
OCRDMA_EQE_RESOURCE_ID_SHIFT 
OCRDMA_EQE_RESOURCE_ID_MASK 

Definition at line 1456 of file ocrdma_sli.h.

anonymous enum
Enumerator:
OCRDMA_CQE_WQEIDX_SHIFT 
OCRDMA_CQE_WQEIDX_MASK 
OCRDMA_CQE_UD_XFER_LEN_SHIFT 
OCRDMA_CQE_PKEY_SHIFT 
OCRDMA_CQE_PKEY_MASK 
OCRDMA_CQE_QPN_SHIFT 
OCRDMA_CQE_QPN_MASK 
OCRDMA_CQE_BUFTAG_SHIFT 
OCRDMA_CQE_BUFTAG_MASK 
OCRDMA_CQE_UD_STATUS_SHIFT 
OCRDMA_CQE_UD_STATUS_MASK 
OCRDMA_CQE_STATUS_SHIFT 
OCRDMA_CQE_STATUS_MASK 
OCRDMA_CQE_VALID 
OCRDMA_CQE_INVALIDATE 
OCRDMA_CQE_QTYPE 
OCRDMA_CQE_IMM 
OCRDMA_CQE_WRITE_IMM 
OCRDMA_CQE_QTYPE_SQ 
OCRDMA_CQE_QTYPE_RQ 
OCRDMA_CQE_SRCQP_MASK 

Definition at line 1494 of file ocrdma_sli.h.

anonymous enum
Enumerator:
OCRDMA_FLAG_SIG 
OCRDMA_FLAG_INV 
OCRDMA_FLAG_FENCE_L 
OCRDMA_FLAG_FENCE_R 
OCRDMA_FLAG_SOLICIT 
OCRDMA_FLAG_IMM 
OCRDMA_LKEY_FLAG_LOCAL_WR 
OCRDMA_LKEY_FLAG_REMOTE_RD 
OCRDMA_LKEY_FLAG_REMOTE_WR 
OCRDMA_LKEY_FLAG_VATO 

Definition at line 1575 of file ocrdma_sli.h.

anonymous enum
Enumerator:
OCRDMA_TYPE_INLINE 
OCRDMA_TYPE_LKEY 

Definition at line 1603 of file ocrdma_sli.h.

anonymous enum
Enumerator:
OCRDMA_WQE_OPCODE_SHIFT 
OCRDMA_WQE_OPCODE_MASK 
OCRDMA_WQE_FLAGS_SHIFT 
OCRDMA_WQE_TYPE_SHIFT 
OCRDMA_WQE_TYPE_MASK 
OCRDMA_WQE_SIZE_SHIFT 
OCRDMA_WQE_SIZE_MASK 
OCRDMA_WQE_NXT_WQE_SIZE_SHIFT 
OCRDMA_WQE_LKEY_FLAGS_SHIFT 
OCRDMA_WQE_LKEY_FLAGS_MASK 

Definition at line 1608 of file ocrdma_sli.h.

Enumerator:
OCRDMA_CQ_ERROR 
OCRDMA_CQ_OVERRUN_ERROR 
OCRDMA_CQ_QPCAT_ERROR 
OCRDMA_QP_ACCESS_ERROR 
OCRDMA_QP_COMM_EST_EVENT 
OCRDMA_SQ_DRAINED_EVENT 
OCRDMA_DEVICE_FATAL_EVENT 
OCRDMA_SRQCAT_ERROR 
OCRDMA_SRQ_LIMIT_EVENT 
OCRDMA_QP_LAST_WQE_EVENT 

Definition at line 389 of file ocrdma_sli.h.

Enumerator:
OCRDMA_CQE_SUCCESS 
OCRDMA_CQE_LOC_LEN_ERR 
OCRDMA_CQE_LOC_QP_OP_ERR 
OCRDMA_CQE_LOC_EEC_OP_ERR 
OCRDMA_CQE_LOC_PROT_ERR 
OCRDMA_CQE_WR_FLUSH_ERR 
OCRDMA_CQE_MW_BIND_ERR 
OCRDMA_CQE_BAD_RESP_ERR 
OCRDMA_CQE_LOC_ACCESS_ERR 
OCRDMA_CQE_REM_INV_REQ_ERR 
OCRDMA_CQE_REM_ACCESS_ERR 
OCRDMA_CQE_REM_OP_ERR 
OCRDMA_CQE_RETRY_EXC_ERR 
OCRDMA_CQE_RNR_RETRY_EXC_ERR 
OCRDMA_CQE_LOC_RDD_VIOL_ERR 
OCRDMA_CQE_REM_INV_RD_REQ_ERR 
OCRDMA_CQE_REM_ABORT_ERR 
OCRDMA_CQE_INV_EECN_ERR 
OCRDMA_CQE_INV_EEC_STATE_ERR 
OCRDMA_CQE_FATAL_ERR 
OCRDMA_CQE_RESP_TIMEOUT_ERR 
OCRDMA_CQE_GENERAL_ERR 

Definition at line 1469 of file ocrdma_sli.h.

Enumerator:
OCRDMA_QP_MW_BIND 
OCRDMA_QP_LKEY0 
OCRDMA_QP_FAST_REG 
OCRDMA_QP_INB_RD 
OCRDMA_QP_INB_WR 

Definition at line 749 of file ocrdma_sli.h.

Enumerator:
OCRDMA_QPS_RST 
OCRDMA_QPS_INIT 
OCRDMA_QPS_RTR 
OCRDMA_QPS_RTS 
OCRDMA_QPS_SQE 
OCRDMA_QPS_SQ_DRAINING 
OCRDMA_QPS_ERR 
OCRDMA_QPS_SQD 

Definition at line 757 of file ocrdma_sli.h.

Enumerator:
OCRDMA_WRITE 
OCRDMA_READ 
OCRDMA_RESV0 
OCRDMA_SEND 
OCRDMA_CMP_SWP 
OCRDMA_BIND_MW 
OCRDMA_RESV1 
OCRDMA_LKEY_INV 
OCRDMA_FETCH_ADD 
OCRDMA_POST_RQ 

Definition at line 1590 of file ocrdma_sli.h.

Variable Documentation