diff options
Diffstat (limited to 'drivers/infiniband/hw/ocrdma/ocrdma_sli.h')
-rw-r--r-- | drivers/infiniband/hw/ocrdma/ocrdma_sli.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/ocrdma/ocrdma_sli.h b/drivers/infiniband/hw/ocrdma/ocrdma_sli.h index 6ba9939868a3..801883aa4145 100644 --- a/drivers/infiniband/hw/ocrdma/ocrdma_sli.h +++ b/drivers/infiniband/hw/ocrdma/ocrdma_sli.h | |||
@@ -89,6 +89,7 @@ enum { | |||
89 | OCRDMA_CMD_CREATE_MQ = 21, | 89 | OCRDMA_CMD_CREATE_MQ = 21, |
90 | OCRDMA_CMD_GET_CTRL_ATTRIBUTES = 32, | 90 | OCRDMA_CMD_GET_CTRL_ATTRIBUTES = 32, |
91 | OCRDMA_CMD_GET_FW_VER = 35, | 91 | OCRDMA_CMD_GET_FW_VER = 35, |
92 | OCRDMA_CMD_MODIFY_EQ_DELAY = 41, | ||
92 | OCRDMA_CMD_DELETE_MQ = 53, | 93 | OCRDMA_CMD_DELETE_MQ = 53, |
93 | OCRDMA_CMD_DELETE_CQ = 54, | 94 | OCRDMA_CMD_DELETE_CQ = 54, |
94 | OCRDMA_CMD_DELETE_EQ = 55, | 95 | OCRDMA_CMD_DELETE_EQ = 55, |
@@ -316,6 +317,29 @@ struct ocrdma_create_eq_rsp { | |||
316 | 317 | ||
317 | #define OCRDMA_EQ_MINOR_OTHER 0x1 | 318 | #define OCRDMA_EQ_MINOR_OTHER 0x1 |
318 | 319 | ||
320 | struct ocrmda_set_eqd { | ||
321 | u32 eq_id; | ||
322 | u32 phase; | ||
323 | u32 delay_multiplier; | ||
324 | }; | ||
325 | |||
326 | struct ocrdma_modify_eqd_cmd { | ||
327 | struct ocrdma_mbx_hdr req; | ||
328 | u32 num_eq; | ||
329 | struct ocrmda_set_eqd set_eqd[8]; | ||
330 | } __packed; | ||
331 | |||
332 | struct ocrdma_modify_eqd_req { | ||
333 | struct ocrdma_mqe_hdr hdr; | ||
334 | struct ocrdma_modify_eqd_cmd cmd; | ||
335 | }; | ||
336 | |||
337 | |||
338 | struct ocrdma_modify_eq_delay_rsp { | ||
339 | struct ocrdma_mbx_rsp hdr; | ||
340 | u32 rsvd0; | ||
341 | } __packed; | ||
342 | |||
319 | enum { | 343 | enum { |
320 | OCRDMA_MCQE_STATUS_SHIFT = 0, | 344 | OCRDMA_MCQE_STATUS_SHIFT = 0, |
321 | OCRDMA_MCQE_STATUS_MASK = 0xFFFF, | 345 | OCRDMA_MCQE_STATUS_MASK = 0xFFFF, |