From: <bgottumukka-laKkSmNT4hbQT0dZR+AlfA@public.gmane.org>
To: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Cc: roland-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org,
Naresh Gottumukkala
<bgottumukkala-laKkSmNT4hbQT0dZR+AlfA@public.gmane.org>
Subject: [PATCH 14/14] RDMA/ocrdma: Fix passing wrong opcode to modify_srq.
Date: Mon, 26 Aug 2013 15:27:51 +0530 [thread overview]
Message-ID: <ef68ed35-e4ac-493c-b2a3-13f8d7685086@CMEXHTCAS1.ad.emulex.com> (raw)
In-Reply-To: <1377511071-16967-1-git-send-email-bgottumukka-laKkSmNT4hbQT0dZR+AlfA@public.gmane.org>
From: Naresh Gottumukkala <bgottumukkala-laKkSmNT4hbQT0dZR+AlfA@public.gmane.org>
Fix passing wrong opcode to ocrdma_modify_srq and query SRQ.
Signed-off-by: Naresh Gottumukkala <bgottumukkala-laKkSmNT4hbQT0dZR+AlfA@public.gmane.org>
---
drivers/infiniband/hw/ocrdma/ocrdma_hw.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/infiniband/hw/ocrdma/ocrdma_hw.c b/drivers/infiniband/hw/ocrdma/ocrdma_hw.c
index acf5441..4ed8235 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)
struct ocrdma_pd *pd = srq->pd;
struct ocrdma_dev *dev = get_ocrdma_dev(pd->ibpd.device);
- cmd = ocrdma_init_emb_mqe(OCRDMA_CMD_CREATE_SRQ, sizeof(*cmd));
+ cmd = ocrdma_init_emb_mqe(OCRDMA_CMD_MODIFY_SRQ, sizeof(*cmd));
if (!cmd)
return status;
cmd->id = srq->id;
@@ -2410,7 +2410,7 @@ int ocrdma_mbx_query_srq(struct ocrdma_srq *srq, struct ib_srq_attr *srq_attr)
struct ocrdma_query_srq *cmd;
struct ocrdma_dev *dev = get_ocrdma_dev(srq->ibsrq.device);
- cmd = ocrdma_init_emb_mqe(OCRDMA_CMD_CREATE_SRQ, sizeof(*cmd));
+ cmd = ocrdma_init_emb_mqe(OCRDMA_CMD_QUERY_SRQ, sizeof(*cmd));
if (!cmd)
return status;
cmd->id = srq->rq.dbid;
--
1.8.2.3
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
prev parent reply other threads:[~2013-08-26 9:57 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1377511071-16967-1-git-send-email-bgottumukka@emulex.com>
[not found] ` <1377511071-16967-1-git-send-email-bgottumukka-laKkSmNT4hbQT0dZR+AlfA@public.gmane.org>
2013-08-26 9:57 ` [PATCH 02/14] RDMA/ocrdma: Add support for FRMR bgottumukka-laKkSmNT4hbQT0dZR+AlfA
[not found] ` <2eee7e35-504e-4f2a-a364-527e90669108-3RiH6ntJJkP8BX6JNMqfyFjyZtpTMMwT@public.gmane.org>
2013-08-26 10:08 ` Bart Van Assche
[not found] ` <6470282467066849AFF7BC0EABE2518C25FE5057@CMEXMB1.ad.emulex.com>
[not found] ` <6470282467066849AFF7BC0EABE2518C25FE5057-DWYeeINJQrxExQ8dmkPuX0M9+F4ksjoh@public.gmane.org>
2013-08-27 18:29 ` Bart Van Assche
[not found] ` <521CEFF4.9010706-HInyCGIudOg@public.gmane.org>
2013-08-28 6:10 ` Roland Dreier
2013-08-26 9:57 ` [PATCH 03/14] RDMA/ocrdma: Removed the mtu check based eth mtu bgottumukka-laKkSmNT4hbQT0dZR+AlfA
2013-08-26 9:57 ` [PATCH 04/14] RDMA/ocrdma: Fix to work with even single msix vector bgottumukka-laKkSmNT4hbQT0dZR+AlfA
2013-08-26 9:57 ` [PATCH 05/14] RDMA/ocrdma: For ERX2 irrespective of Qid, num_posted offset is 24 bgottumukka-laKkSmNT4hbQT0dZR+AlfA
2013-08-26 9:57 ` [PATCH 06/14] RDMA/ocrdma: FRMA code cleanup bgottumukka-laKkSmNT4hbQT0dZR+AlfA
2013-08-26 9:57 ` [PATCH 07/14] RDMA/ocrdma: Dont use PD 0 for usepace CQ DB bgottumukka-laKkSmNT4hbQT0dZR+AlfA
2013-08-26 9:57 ` [PATCH 08/14] RDMA/ocrdma: Add support for reg_phys_mr bgottumukka-laKkSmNT4hbQT0dZR+AlfA
2013-08-26 9:57 ` [PATCH 09/14] RDMA/ocrdma: Increate STAG array size bgottumukka-laKkSmNT4hbQT0dZR+AlfA
2013-08-26 9:57 ` [PATCH 10/14] RDMA/ocrdma: Fix for displaying proper link speed bgottumukka-laKkSmNT4hbQT0dZR+AlfA
2013-08-26 9:57 ` [PATCH 11/14] RDMA/ocrdma: Consider multiple SGES in case of DPP bgottumukka-laKkSmNT4hbQT0dZR+AlfA
2013-08-26 9:57 ` [PATCH 12/14] RDMA/ocrdma: Added ABI versioning support bgottumukka-laKkSmNT4hbQT0dZR+AlfA
2013-08-26 9:57 ` [PATCH 13/14] RDMA/ocrdma: Fill PVID in UMC case bgottumukka-laKkSmNT4hbQT0dZR+AlfA
2013-08-26 9:57 ` bgottumukka-laKkSmNT4hbQT0dZR+AlfA [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ef68ed35-e4ac-493c-b2a3-13f8d7685086@CMEXHTCAS1.ad.emulex.com \
--to=bgottumukka-lakksmnt4hbqt0dzr+alfa@public.gmane.org \
--cc=bgottumukkala-laKkSmNT4hbQT0dZR+AlfA@public.gmane.org \
--cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=roland-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox