From patchwork Mon Jul 9 15:52:08 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yishai Hadas X-Patchwork-Id: 10515053 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 A072E604D4 for ; Mon, 9 Jul 2018 15:52:43 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8EDCC28C79 for ; Mon, 9 Jul 2018 15:52:43 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 836D128D49; Mon, 9 Jul 2018 15:52:43 +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=-7.9 required=2.0 tests=BAYES_00, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI,UNPARSEABLE_RELAY 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 2A09828D43 for ; Mon, 9 Jul 2018 15:52:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933925AbeGIPwj (ORCPT ); Mon, 9 Jul 2018 11:52:39 -0400 Received: from mail-il-dmz.mellanox.com ([193.47.165.129]:42489 "EHLO mellanox.co.il" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S933928AbeGIPwg (ORCPT ); Mon, 9 Jul 2018 11:52:36 -0400 Received: from Internal Mail-Server by MTLPINE1 (envelope-from yishaih@mellanox.com) with ESMTPS (AES256-SHA encrypted); 9 Jul 2018 18:55:27 +0300 Received: from vnc17.mtl.labs.mlnx (vnc17.mtl.labs.mlnx [10.7.2.17]) by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id w69FqVXr007074; Mon, 9 Jul 2018 18:52:31 +0300 Received: from vnc17.mtl.labs.mlnx (vnc17.mtl.labs.mlnx [127.0.0.1]) by vnc17.mtl.labs.mlnx (8.13.8/8.13.8) with ESMTP id w69FqVBC019304; Mon, 9 Jul 2018 18:52:31 +0300 Received: (from yishaih@localhost) by vnc17.mtl.labs.mlnx (8.13.8/8.13.8/Submit) id w69FqVYg019302; Mon, 9 Jul 2018 18:52:31 +0300 From: Yishai Hadas To: linux-rdma@vger.kernel.org Cc: yishaih@mellanox.com, majd@mellanox.com, jgg@mellanox.com Subject: [PATCH rdma-core 2/4] verbs: Expose execute ioctl to providers and update related version Date: Mon, 9 Jul 2018 18:52:08 +0300 Message-Id: <1531151530-19188-3-git-send-email-yishaih@mellanox.com> X-Mailer: git-send-email 1.8.2.3 In-Reply-To: <1531151530-19188-1-git-send-email-yishaih@mellanox.com> References: <1531151530-19188-1-git-send-email-yishaih@mellanox.com> 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 Providers can implement DV only verbs, expose execute ioctl so they won't need to call libibverbs. Signed-off-by: Yishai Hadas --- CMakeLists.txt | 2 +- debian/control | 2 +- debian/libibverbs1.symbols | 2 +- libibverbs/libibverbs.map.in | 1 + 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ab78d76..a2f6441 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -60,7 +60,7 @@ set(PACKAGE_NAME "RDMA") set(PACKAGE_VERSION "20.0") # When this is changed the values in these files need changing too: # debian/libibverbs1.symbols -set(IBVERBS_PABI_VERSION "19") +set(IBVERBS_PABI_VERSION "20") set(IBVERBS_PROVIDER_SUFFIX "-rdmav${IBVERBS_PABI_VERSION}.so") #------------------------- diff --git a/debian/control b/debian/control index 26bd5b5..9f04bea 100644 --- a/debian/control +++ b/debian/control @@ -149,7 +149,7 @@ Section: libs Pre-Depends: ${misc:Pre-Depends} Depends: adduser, ${misc:Depends}, ${shlibs:Depends} Recommends: ibverbs-providers -Breaks: ibverbs-providers (<< 19~) +Breaks: ibverbs-providers (<< 20~) Description: Library for direct userspace use of RDMA (InfiniBand/iWARP) libibverbs is a library that allows userspace processes to use RDMA "verbs" as described in the InfiniBand Architecture Specification and diff --git a/debian/libibverbs1.symbols b/debian/libibverbs1.symbols index c86e6bb..c76649e 100644 --- a/debian/libibverbs1.symbols +++ b/debian/libibverbs1.symbols @@ -1,7 +1,7 @@ libibverbs.so.1 libibverbs1 #MINVER# IBVERBS_1.0@IBVERBS_1.0 1.1.6 IBVERBS_1.1@IBVERBS_1.1 1.1.6 - (symver)IBVERBS_PRIVATE_19 19 + (symver)IBVERBS_PRIVATE_20 20 ibv_ack_async_event@IBVERBS_1.0 1.1.6 ibv_ack_async_event@IBVERBS_1.1 1.1.6 ibv_ack_cq_events@IBVERBS_1.0 1.1.6 diff --git a/libibverbs/libibverbs.map.in b/libibverbs/libibverbs.map.in index 8cd8751..9236dda 100644 --- a/libibverbs/libibverbs.map.in +++ b/libibverbs/libibverbs.map.in @@ -115,6 +115,7 @@ IBVERBS_PRIVATE_@IBVERBS_PABI_VERSION@ { /* These historical symbols are now private to libibverbs */ __ioctl_final_num_attrs; _verbs_init_and_alloc_context; + execute_ioctl; ibv_cmd_alloc_dm; ibv_cmd_alloc_mw; ibv_cmd_alloc_pd;