From patchwork Mon Mar 25 14:45:47 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yishai Hadas X-Patchwork-Id: 10869423 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 240DD1708 for ; Mon, 25 Mar 2019 14:46:20 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0F6FB2939E for ; Mon, 25 Mar 2019 14:46:20 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 03BD5293F8; Mon, 25 Mar 2019 14:46:20 +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 9B1FC2939E for ; Mon, 25 Mar 2019 14:46:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726214AbfCYOqS (ORCPT ); Mon, 25 Mar 2019 10:46:18 -0400 Received: from mail-il-dmz.mellanox.com ([193.47.165.129]:59042 "EHLO mellanox.co.il" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725788AbfCYOqS (ORCPT ); Mon, 25 Mar 2019 10:46:18 -0400 Received: from Internal Mail-Server by MTLPINE1 (envelope-from yishaih@mellanox.com) with ESMTPS (AES256-SHA encrypted); 25 Mar 2019 16:46:16 +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 x2PEkGQT027247; Mon, 25 Mar 2019 16:46:16 +0200 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 x2PEkEpS014119; Mon, 25 Mar 2019 16:46:14 +0200 Received: (from yishaih@localhost) by vnc17.mtl.labs.mlnx (8.13.8/8.13.8/Submit) id x2PEk9Wq014092; Mon, 25 Mar 2019 16:46:09 +0200 From: Yishai Hadas To: linux-rdma@vger.kernel.org Cc: yishaih@mellanox.com, artemyko@mellanox.com, jgg@mellanox.com, majd@mellanox.com Subject: [PATCH rdma-core 0/4] mlx5: Add UMR builders over the DV API Date: Mon, 25 Mar 2019 16:45:47 +0200 Message-Id: <1553525151-14005-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 UMR (i.e. user memory registration) builders over the mlx5 DV API. It was implemented on top of the post_send refactoring series which was sent a week ago to the mailing list. The new builders enable an application to register an mkey with some device specific memory layouts and then use it as part of RDMA operations. The series includes detailed man pages to describe the expected usage of the API and it uses the DEVX API as part of its implementation. PR was sent: https://github.com/linux-rdma/rdma-core/pull/504 Yishai Hadas (4): mlx5: Expose DV APIs to create and destroy indirect mkey verbs: Introduce IBV_WR/WC_DRIVER opcodes mlx5: Introduce mlx5dv_wr_mr_interleaved post send builder mlx5: Introduce mlx5dv_wr_mr_list post send builder debian/ibverbs-providers.symbols | 2 + libibverbs/man/ibv_poll_cq.3 | 2 + libibverbs/man/ibv_post_send.3 | 2 + libibverbs/verbs.h | 2 + providers/mlx5/libmlx5.map | 2 + providers/mlx5/man/CMakeLists.txt | 2 + providers/mlx5/man/mlx5dv_create_mkey.3.md | 75 +++++++++ providers/mlx5/man/mlx5dv_create_qp.3.md | 12 ++ providers/mlx5/man/mlx5dv_wr_post.3.md | 55 +++++++ providers/mlx5/mlx5.h | 6 + providers/mlx5/mlx5_ifc.h | 89 +++++++++++ providers/mlx5/mlx5dv.h | 83 ++++++++++ providers/mlx5/qp.c | 245 ++++++++++++++++++++++++++++- providers/mlx5/verbs.c | 99 ++++++++++-- providers/rxe/rxe.c | 1 + 15 files changed, 661 insertions(+), 16 deletions(-) create mode 100644 providers/mlx5/man/mlx5dv_create_mkey.3.md