diff options
Diffstat (limited to 'drivers/infiniband/hw/ocrdma/ocrdma_sli.h')
-rw-r--r-- | drivers/infiniband/hw/ocrdma/ocrdma_sli.h | 20 |
1 files changed, 2 insertions, 18 deletions
diff --git a/drivers/infiniband/hw/ocrdma/ocrdma_sli.h b/drivers/infiniband/hw/ocrdma/ocrdma_sli.h index c75cbdfa87e7..cd0512f1fb5b 100644 --- a/drivers/infiniband/hw/ocrdma/ocrdma_sli.h +++ b/drivers/infiniband/hw/ocrdma/ocrdma_sli.h | |||
@@ -608,16 +608,8 @@ enum { | |||
608 | OCRDMA_CREATE_MQ_ASYNC_CQ_VALID = Bit(0) | 608 | OCRDMA_CREATE_MQ_ASYNC_CQ_VALID = Bit(0) |
609 | }; | 609 | }; |
610 | 610 | ||
611 | struct ocrdma_create_mq_v0 { | 611 | struct ocrdma_create_mq_req { |
612 | u32 pages; | 612 | struct ocrdma_mbx_hdr req; |
613 | u32 cqid_ringsize; | ||
614 | u32 valid; | ||
615 | u32 async_cqid_valid; | ||
616 | u32 rsvd; | ||
617 | struct ocrdma_pa pa[8]; | ||
618 | } __packed; | ||
619 | |||
620 | struct ocrdma_create_mq_v1 { | ||
621 | u32 cqid_pages; | 613 | u32 cqid_pages; |
622 | u32 async_event_bitmap; | 614 | u32 async_event_bitmap; |
623 | u32 async_cqid_ringsize; | 615 | u32 async_cqid_ringsize; |
@@ -627,14 +619,6 @@ struct ocrdma_create_mq_v1 { | |||
627 | struct ocrdma_pa pa[8]; | 619 | struct ocrdma_pa pa[8]; |
628 | } __packed; | 620 | } __packed; |
629 | 621 | ||
630 | struct ocrdma_create_mq_req { | ||
631 | struct ocrdma_mbx_hdr req; | ||
632 | union { | ||
633 | struct ocrdma_create_mq_v0 v0; | ||
634 | struct ocrdma_create_mq_v1 v1; | ||
635 | }; | ||
636 | } __packed; | ||
637 | |||
638 | struct ocrdma_create_mq_rsp { | 622 | struct ocrdma_create_mq_rsp { |
639 | struct ocrdma_mbx_rsp rsp; | 623 | struct ocrdma_mbx_rsp rsp; |
640 | u32 id; | 624 | u32 id; |