From patchwork Wed Oct 10 16:56:27 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yishai Hadas X-Patchwork-Id: 10634895 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 C852B3CF1 for ; Wed, 10 Oct 2018 17:14:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B40A329A86 for ; Wed, 10 Oct 2018 17:14:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A7AA329F92; Wed, 10 Oct 2018 17:14:01 +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 3AE8F29A86 for ; Wed, 10 Oct 2018 17:14:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726568AbeJKAhE (ORCPT ); Wed, 10 Oct 2018 20:37:04 -0400 Received: from mail-il-dmz.mellanox.com ([193.47.165.129]:59775 "EHLO mellanox.co.il" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726515AbeJKAhE (ORCPT ); Wed, 10 Oct 2018 20:37:04 -0400 Received: from Internal Mail-Server by MTLPINE1 (envelope-from yishaih@mellanox.com) with ESMTPS (AES256-SHA encrypted); 10 Oct 2018 19:01:36 +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 w9AGukjw005867; Wed, 10 Oct 2018 19:56:46 +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 w9AGukkG031294; Wed, 10 Oct 2018 19:56:46 +0300 Received: (from yishaih@localhost) by vnc17.mtl.labs.mlnx (8.13.8/8.13.8/Submit) id w9AGukjF031293; Wed, 10 Oct 2018 19:56:46 +0300 From: Yishai Hadas To: linux-rdma@vger.kernel.org Cc: yishaih@mellanox.com, Alexr@mellanox.com, jgg@mellanox.com, majd@mellanox.com Subject: [PATCH rdma-core 0/3] mlx5: Introduce DEVX APIs Date: Wed, 10 Oct 2018 19:56:27 +0300 Message-Id: <1539190590-31186-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 introduces the initial DEVX APIs for mlx5 driver, it enables to create a devx object and query/modify/destroy it. In addition, the general DEVX command and the umem APIs are added as well. The matching kernel size was already merged. PR was sent: https://github.com/linux-rdma/rdma-core/pull/397 Yishai Hadas (3): mlx5: Introduce DEVX object and its DV APIs mlx5: Add DV DEVX APIs to reg/dereg user memory mlx5: Add support for DEVX object as a flow destination debian/ibverbs-providers.symbols | 7 ++ providers/mlx5/libmlx5.map | 7 ++ providers/mlx5/man/CMakeLists.txt | 9 ++ providers/mlx5/man/mlx5dv_devx_obj_create.3.md | 74 +++++++++++ providers/mlx5/man/mlx5dv_devx_umem_reg.3.md | 58 +++++++++ providers/mlx5/mlx5.h | 11 ++ providers/mlx5/mlx5dv.h | 23 ++++ providers/mlx5/verbs.c | 164 ++++++++++++++++++++++++- 8 files changed, 352 insertions(+), 1 deletion(-) create mode 100644 providers/mlx5/man/mlx5dv_devx_obj_create.3.md create mode 100644 providers/mlx5/man/mlx5dv_devx_umem_reg.3.md