From patchwork Mon Sep 17 15:17:09 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yishai Hadas X-Patchwork-Id: 10602931 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 7F23013AD for ; Mon, 17 Sep 2018 15:17:38 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6F8C32A09B for ; Mon, 17 Sep 2018 15:17:38 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6257E2A0A7; Mon, 17 Sep 2018 15:17:38 +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 DBE5D2A099 for ; Mon, 17 Sep 2018 15:17:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728735AbeIQUpX (ORCPT ); Mon, 17 Sep 2018 16:45:23 -0400 Received: from mail-il-dmz.mellanox.com ([193.47.165.129]:44282 "EHLO mellanox.co.il" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728718AbeIQUpX (ORCPT ); Mon, 17 Sep 2018 16:45:23 -0400 Received: from Internal Mail-Server by MTLPINE1 (envelope-from yishaih@mellanox.com) with ESMTPS (AES256-SHA encrypted); 17 Sep 2018 17:21:51 +0200 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 w8HFHU84018608; Mon, 17 Sep 2018 18:17:30 +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 w8HFHUb1021531; Mon, 17 Sep 2018 18:17:30 +0300 Received: (from yishaih@localhost) by vnc17.mtl.labs.mlnx (8.13.8/8.13.8/Submit) id w8HFHT5j021530; Mon, 17 Sep 2018 18:17:29 +0300 From: Yishai Hadas To: linux-rdma@vger.kernel.org Cc: yishaih@mellanox.com, jgg@mellanox.com, majd@mellanox.com Subject: [PATCH rdma-core 0/2] Enable allocating a context with vendor data Date: Mon, 17 Sep 2018 18:17:09 +0300 Message-Id: <1537197431-21441-1-git-send-email-yishaih@mellanox.com> X-Mailer: git-send-email 1.8.2.3 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 This series extends 'verbs_device_ops' to get vendor data as part of alloc_context. This functionality is used by mlx5 driver to allocate a DEVX context. PR was sent: https://github.com/linux-rdma/rdma-core/pull/380 Yishai Hadas (2): Extend verbs_device_ops to get vendor attr as part of alloc_context mlx5: Enable allocating a DEVX context debian/ibverbs-providers.symbols | 1 + libibverbs/device.c | 13 ++++--- libibverbs/driver.h | 5 ++- libibverbs/libibverbs.map.in | 1 + providers/bnxt_re/main.c | 6 +++- providers/cxgb3/iwch.c | 6 +++- providers/cxgb4/dev.c | 6 +++- providers/hfi1verbs/hfiverbs.c | 6 +++- providers/hns/hns_roce_u.c | 6 +++- providers/i40iw/i40iw_umain.c | 6 +++- providers/ipathverbs/ipathverbs.c | 6 +++- providers/mlx4/mlx4.c | 6 +++- providers/mlx5/libmlx5.map | 1 + providers/mlx5/man/CMakeLists.txt | 1 + providers/mlx5/man/mlx5dv_open_device.3.md | 57 ++++++++++++++++++++++++++++++ providers/mlx5/mlx5.c | 25 ++++++++++++- providers/mlx5/mlx5dv.h | 12 +++++++ providers/mthca/mthca.c | 6 +++- providers/nes/nes_umain.c | 6 +++- providers/ocrdma/ocrdma_main.c | 6 +++- providers/qedr/qelr_main.c | 6 +++- providers/rxe/rxe.c | 6 +++- providers/vmw_pvrdma/pvrdma_main.c | 6 +++- 23 files changed, 180 insertions(+), 20 deletions(-) create mode 100644 providers/mlx5/man/mlx5dv_open_device.3.md