diff options
Diffstat (limited to 'drivers/infiniband/hw/ocrdma')
-rw-r--r-- | drivers/infiniband/hw/ocrdma/ocrdma_hw.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/infiniband/hw/ocrdma/ocrdma_hw.c b/drivers/infiniband/hw/ocrdma/ocrdma_hw.c index acf5441857ac..4ed8235d2d36 100644 --- a/drivers/infiniband/hw/ocrdma/ocrdma_hw.c +++ b/drivers/infiniband/hw/ocrdma/ocrdma_hw.c | |||
@@ -2393,7 +2393,7 @@ int ocrdma_mbx_modify_srq(struct ocrdma_srq *srq, struct ib_srq_attr *srq_attr) | |||
2393 | struct ocrdma_pd *pd = srq->pd; | 2393 | struct ocrdma_pd *pd = srq->pd; |
2394 | struct ocrdma_dev *dev = get_ocrdma_dev(pd->ibpd.device); | 2394 | struct ocrdma_dev *dev = get_ocrdma_dev(pd->ibpd.device); |
2395 | 2395 | ||
2396 | cmd = ocrdma_init_emb_mqe(OCRDMA_CMD_CREATE_SRQ, sizeof(*cmd)); | 2396 | cmd = ocrdma_init_emb_mqe(OCRDMA_CMD_MODIFY_SRQ, sizeof(*cmd)); |
2397 | if (!cmd) | 2397 | if (!cmd) |
2398 | return status; | 2398 | return status; |
2399 | cmd->id = srq->id; | 2399 | cmd->id = srq->id; |
@@ -2410,7 +2410,7 @@ int ocrdma_mbx_query_srq(struct ocrdma_srq *srq, struct ib_srq_attr *srq_attr) | |||
2410 | struct ocrdma_query_srq *cmd; | 2410 | struct ocrdma_query_srq *cmd; |
2411 | struct ocrdma_dev *dev = get_ocrdma_dev(srq->ibsrq.device); | 2411 | struct ocrdma_dev *dev = get_ocrdma_dev(srq->ibsrq.device); |
2412 | 2412 | ||
2413 | cmd = ocrdma_init_emb_mqe(OCRDMA_CMD_CREATE_SRQ, sizeof(*cmd)); | 2413 | cmd = ocrdma_init_emb_mqe(OCRDMA_CMD_QUERY_SRQ, sizeof(*cmd)); |
2414 | if (!cmd) | 2414 | if (!cmd) |
2415 | return status; | 2415 | return status; |
2416 | cmd->id = srq->rq.dbid; | 2416 | cmd->id = srq->rq.dbid; |