diff mbox series

[rdma-core] verbs: Fix MODIFY_QP and OPEN_QP kabi definitions

Message ID 20181026190351.GA2246@ziepe.ca (mailing list archive)
State Accepted
Headers show
Series [rdma-core] verbs: Fix MODIFY_QP and OPEN_QP kabi definitions | expand

Commit Message

Jason Gunthorpe Oct. 26, 2018, 7:03 p.m. UTC
The kernel implementation of MODIFY_QP does not write any data and
OPEN_QP returns a create_qp_resp.

This has no effect on the generated code as nothing uses these definitions
at this time.

Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
---
 libibverbs/kern-abi.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Jason Gunthorpe Nov. 7, 2018, 8:14 p.m. UTC | #1
On Fri, Oct 26, 2018 at 07:03:58PM +0000, Jason Gunthorpe wrote:
> The kernel implementation of MODIFY_QP does not write any data and
> OPEN_QP returns a create_qp_resp.
> 
> This has no effect on the generated code as nothing uses these definitions
> at this time.
> 
> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
> ---
>  libibverbs/kern-abi.h | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Applied thanks

Jason
diff mbox series

Patch

diff --git a/libibverbs/kern-abi.h b/libibverbs/kern-abi.h
index 782bb6c2d22b63..8c07b8d2731adb 100644
--- a/libibverbs/kern-abi.h
+++ b/libibverbs/kern-abi.h
@@ -191,9 +191,9 @@  DECLARE_CMD(IB_USER_VERBS_CMD_DESTROY_QP, ibv_destroy_qp, ib_uverbs_destroy_qp);
 DECLARE_CMD(IB_USER_VERBS_CMD_DESTROY_SRQ, ibv_destroy_srq, ib_uverbs_destroy_srq);
 DECLARE_CMDX(IB_USER_VERBS_CMD_DETACH_MCAST, ibv_detach_mcast, ib_uverbs_detach_mcast, empty);
 DECLARE_CMD(IB_USER_VERBS_CMD_GET_CONTEXT, ibv_get_context, ib_uverbs_get_context);
-DECLARE_CMD(IB_USER_VERBS_CMD_MODIFY_QP, ibv_modify_qp, ib_uverbs_modify_qp);
+DECLARE_CMDX(IB_USER_VERBS_CMD_MODIFY_QP, ibv_modify_qp, ib_uverbs_modify_qp, empty);
 DECLARE_CMDX(IB_USER_VERBS_CMD_MODIFY_SRQ, ibv_modify_srq, ib_uverbs_modify_srq, empty);
-DECLARE_CMDX(IB_USER_VERBS_CMD_OPEN_QP, ibv_open_qp, ib_uverbs_open_qp, empty);
+DECLARE_CMDX(IB_USER_VERBS_CMD_OPEN_QP, ibv_open_qp, ib_uverbs_open_qp, ib_uverbs_create_qp_resp);
 DECLARE_CMD(IB_USER_VERBS_CMD_OPEN_XRCD, ibv_open_xrcd, ib_uverbs_open_xrcd);
 DECLARE_CMD(IB_USER_VERBS_CMD_POLL_CQ, ibv_poll_cq, ib_uverbs_poll_cq);
 DECLARE_CMD(IB_USER_VERBS_CMD_POST_RECV, ibv_post_recv, ib_uverbs_post_recv);