From patchwork Thu Jan 11 22:13:36 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jason Gunthorpe X-Patchwork-Id: 10158769 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 3433C601A1 for ; Thu, 11 Jan 2018 22:14:07 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 253E32850D for ; Thu, 11 Jan 2018 22:14:07 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 19E31285C6; Thu, 11 Jan 2018 22:14:07 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9340E2850D for ; Thu, 11 Jan 2018 22:14:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933357AbeAKWOF (ORCPT ); Thu, 11 Jan 2018 17:14:05 -0500 Received: from mail-wr0-f196.google.com ([209.85.128.196]:45277 "EHLO mail-wr0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933167AbeAKWNz (ORCPT ); Thu, 11 Jan 2018 17:13:55 -0500 Received: by mail-wr0-f196.google.com with SMTP id 16so3625771wry.12 for ; Thu, 11 Jan 2018 14:13:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ziepe.ca; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=niBKKXfDQUF/9YcSt8QQvkwcpPEO84PWQi2bcUjKaMg=; b=DGqUZhjRlspgEtWHOLtFvBI+Fy/k2lxsir3zhc6qLRF1fUHu/+aNXq9Rqy4axSDBpD JLah0CsZmYInqBXWCyWejydXeTTHXEWZeoYIzUhMksKwy+9XKCoKubj1+49QDp5XXdWn FEHMJolYyZcQgW7rflnjZB2+mQoet9RKw2lnFVUmMN/vwB8VWzpRxsgrTWyvHnQNy0BZ vmcZOrjx74E6N0dlbD4k/F23QXmDgLPYJjYBTMrlnkfPzg///94l9T0Pc85A3SonhitN 15OAmr/H/JT/cjt8DNDmH7KThNqnOiRdwunTfVwDzhYiYFt0j8YOzwtzqVW1RiAB+BQk JWuQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=niBKKXfDQUF/9YcSt8QQvkwcpPEO84PWQi2bcUjKaMg=; b=o63oQ5A+6Hq42ZHTIPxzUom7uBP5fTs5niRUjz9yjZC1lN3aP59ayKvfHCw6i3cuHm z946J6tLtiNXOWQB3mt/cEkz4mfHBrVMmpAo54JPfcuv4e9O3+easS6eyS2gn0f7ZDiw VBgfR39SgUyn9mYDQLtPNccalUlLn9Ux8EMYOGisdxBdeFMDesL00QGrPiNLarx2rADh Xjj8IIujgnwgsC3sf10Xd6KcojMj21649/rkdi0TjUXdFxF8nTIWd2iy08cvf+UdWj9n Zwv/jEaEMu0T3yfNt+8BbmmU3NyBUvFN2DOUO3oJRD7wQs2F4u9vHJrWBUSJ42lJTmlL XssA== X-Gm-Message-State: AKwxytcoKFXkrrLuYmEEUpidi5y1uMPFpH+cug1kEo7bse6Is4T9XkMo Fr2X5QbJxfxJY20StK0Z7xizCAQlndc= X-Google-Smtp-Source: ACJfBosysrvnNTLhhKVaWckWfRcQgQaqNDqNZ6sQg/pImYcGi77hucof6J/HiPBvp0fECmyCkErLOw== X-Received: by 10.223.160.120 with SMTP id l53mr6356130wrl.59.1515708833711; Thu, 11 Jan 2018 14:13:53 -0800 (PST) Received: from ziepe.ca (S010614cc2056d97f.ed.shawcable.net. [70.74.179.152]) by smtp.gmail.com with ESMTPSA id t51sm274472wrc.21.2018.01.11.14.13.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 11 Jan 2018 14:13:50 -0800 (PST) Received: from jgg by mlx.ziepe.ca with local (Exim 4.86_2) (envelope-from ) id 1eZl6Z-0000K9-4D; Thu, 11 Jan 2018 15:13:47 -0700 From: Jason Gunthorpe To: linux-rdma@vger.kernel.org Cc: Jason Gunthorpe Subject: [PATCH rdma-core 13/17] verbs: Use kernel uapi header for IBV_CREATE_QP_EX_KERNEL_MASK_IND_TABLE Date: Thu, 11 Jan 2018 15:13:36 -0700 Message-Id: <20180111221340.965-14-jgg@ziepe.ca> X-Mailer: git-send-email 2.15.1 In-Reply-To: <20180111221340.965-1-jgg@ziepe.ca> References: <20180111221340.965-1-jgg@ziepe.ca> Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Jason Gunthorpe Kernel calls it IB_UVERBS_CREATE_QP_MASK_IND_TABLE Signed-off-by: Jason Gunthorpe --- libibverbs/cmd.c | 2 +- libibverbs/kern-abi.h | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/libibverbs/cmd.c b/libibverbs/cmd.c index 99e94233f320d1..dfa3fe6e113e98 100644 --- a/libibverbs/cmd.c +++ b/libibverbs/cmd.c @@ -1014,7 +1014,7 @@ int ibv_cmd_create_qp_ex2(struct ibv_context *context, sizeof(cmd->ind_tbl_handle)) return EINVAL; cmd->ind_tbl_handle = qp_attr->rwq_ind_tbl->ind_tbl_handle; - cmd->comp_mask = IBV_CREATE_QP_EX_KERNEL_MASK_IND_TABLE; + cmd->comp_mask = IB_UVERBS_CREATE_QP_MASK_IND_TABLE; } err = write(context->cmd_fd, cmd, cmd_size); diff --git a/libibverbs/kern-abi.h b/libibverbs/kern-abi.h index 6284d0e45e9784..277d968f0bcc2c 100644 --- a/libibverbs/kern-abi.h +++ b/libibverbs/kern-abi.h @@ -318,11 +318,6 @@ struct ibv_open_qp { __u64 driver_data[0]; }; - -enum ibv_create_qp_ex_kernel_mask { - IBV_CREATE_QP_EX_KERNEL_MASK_IND_TABLE = 1 << 0, -}; - struct ibv_create_qp_ex { struct ex_hdr hdr; struct ibv_create_qp_common base;