aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/ocrdma/ocrdma_sli.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/infiniband/hw/ocrdma/ocrdma_sli.h')
-rw-r--r--drivers/infiniband/hw/ocrdma/ocrdma_sli.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/infiniband/hw/ocrdma/ocrdma_sli.h b/drivers/infiniband/hw/ocrdma/ocrdma_sli.h
index 6e048b7283c4..96c9ee602ba4 100644
--- a/drivers/infiniband/hw/ocrdma/ocrdma_sli.h
+++ b/drivers/infiniband/hw/ocrdma/ocrdma_sli.h
@@ -152,11 +152,10 @@ enum {
152#define OCRDMA_MIN_Q_PAGE_SIZE (4096) 152#define OCRDMA_MIN_Q_PAGE_SIZE (4096)
153#define OCRDMA_MAX_Q_PAGES (8) 153#define OCRDMA_MAX_Q_PAGES (8)
154 154
155#define OCRDMA_SLI_ASIC_ID_OFFSET 0x9C 155#define OCRDMA_SLI_ASIC_ID_OFFSET 0x9C
156#define OCRDMA_SLI_ASIC_REV_MASK 0x000000FF 156#define OCRDMA_SLI_ASIC_REV_MASK 0x000000FF
157#define OCRDMA_SLI_ASIC_GEN_NUM_MASK 0x0000FF00 157#define OCRDMA_SLI_ASIC_GEN_NUM_MASK 0x0000FF00
158#define OCRDMA_SLI_ASIC_GEN_NUM_SHIFT 0x08 158#define OCRDMA_SLI_ASIC_GEN_NUM_SHIFT 0x08
159
160/* 159/*
161# 0: 4K Bytes 160# 0: 4K Bytes
162# 1: 8K Bytes 161# 1: 8K Bytes
@@ -633,7 +632,7 @@ enum {
633 632
634enum { 633enum {
635 OCRDMA_CREATE_CQ_VER2 = 2, 634 OCRDMA_CREATE_CQ_VER2 = 2,
636 OCRDMA_CREATE_CQ_VER3 = 3, 635 OCRDMA_CREATE_CQ_VER3 = 3,
637 636
638 OCRDMA_CREATE_CQ_PAGE_CNT_MASK = 0xFFFF, 637 OCRDMA_CREATE_CQ_PAGE_CNT_MASK = 0xFFFF,
639 OCRDMA_CREATE_CQ_PAGE_SIZE_SHIFT = 16, 638 OCRDMA_CREATE_CQ_PAGE_SIZE_SHIFT = 16,
@@ -1093,6 +1092,7 @@ enum {
1093 OCRDMA_MODIFY_QP_RSP_MAX_ORD_MASK = 0xFFFF << 1092 OCRDMA_MODIFY_QP_RSP_MAX_ORD_MASK = 0xFFFF <<
1094 OCRDMA_MODIFY_QP_RSP_MAX_ORD_SHIFT 1093 OCRDMA_MODIFY_QP_RSP_MAX_ORD_SHIFT
1095}; 1094};
1095
1096struct ocrdma_modify_qp_rsp { 1096struct ocrdma_modify_qp_rsp {
1097 struct ocrdma_mqe_hdr hdr; 1097 struct ocrdma_mqe_hdr hdr;
1098 struct ocrdma_mbx_rsp rsp; 1098 struct ocrdma_mbx_rsp rsp;
@@ -1105,8 +1105,8 @@ struct ocrdma_query_qp {
1105 struct ocrdma_mqe_hdr hdr; 1105 struct ocrdma_mqe_hdr hdr;
1106 struct ocrdma_mbx_hdr req; 1106 struct ocrdma_mbx_hdr req;
1107 1107
1108#define OCRDMA_QUERY_UP_QP_ID_SHIFT 0 1108#define OCRDMA_QUERY_UP_QP_ID_SHIFT 0
1109#define OCRDMA_QUERY_UP_QP_ID_MASK 0xFFFFFF 1109#define OCRDMA_QUERY_UP_QP_ID_MASK 0xFFFFFF
1110 u32 qp_id; 1110 u32 qp_id;
1111}; 1111};
1112 1112