From patchwork Tue Oct 9 15:41:32 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yishai Hadas X-Patchwork-Id: 10632897 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 682AB15E2 for ; Tue, 9 Oct 2018 15:42:36 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 64CB22902C for ; Tue, 9 Oct 2018 15:42:36 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5913C29069; Tue, 9 Oct 2018 15:42:36 +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 F40E62902C for ; Tue, 9 Oct 2018 15:42:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726496AbeJIXAF (ORCPT ); Tue, 9 Oct 2018 19:00:05 -0400 Received: from mail-il-dmz.mellanox.com ([193.47.165.129]:58875 "EHLO mellanox.co.il" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726434AbeJIXAF (ORCPT ); Tue, 9 Oct 2018 19:00:05 -0400 Received: from Internal Mail-Server by MTLPINE1 (envelope-from yishaih@mellanox.com) with ESMTPS (AES256-SHA encrypted); 9 Oct 2018 17:46:41 +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 w99FfqHd015320; Tue, 9 Oct 2018 18:41:52 +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 w99Ffpu6011438; Tue, 9 Oct 2018 18:41:51 +0300 Received: (from yishaih@localhost) by vnc17.mtl.labs.mlnx (8.13.8/8.13.8/Submit) id w99Ffp8Q011431; Tue, 9 Oct 2018 18:41:51 +0300 From: Yishai Hadas To: linux-rdma@vger.kernel.org Cc: yishaih@mellanox.com, markb@mellanox.com, jgg@mellanox.com, majd@mellanox.com Subject: [PATCH rdma-core 0/3] mlx5: Enhance RAW QP support via the DV API Date: Tue, 9 Oct 2018 18:41:32 +0300 Message-Id: <1539099695-11323-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 enhances the RAW QP support for mlx5 via the DV API as follows: - It enables configuring self-loopback traffic. - It enables getting the low level device handles for the created QP. The kernel part was already merged into 'for-next'. PR was sent: https://github.com/linux-rdma/rdma-core/pull/394 Mark Bloch (1): mlx5: Add loopback flags to QP creation Yishai Hadas (2): Update kernel headers mlx5: Expose device handles for RAW QP via the DV API kernel-headers/rdma/ib_user_verbs.h | 20 ++++++- kernel-headers/rdma/mlx5-abi.h | 15 +++++ providers/mlx5/man/CMakeLists.txt | 1 + providers/mlx5/man/mlx5dv_create_qp.3.md | 98 ++++++++++++++++++++++++++++++++ providers/mlx5/mlx5.c | 8 +++ providers/mlx5/mlx5.h | 4 ++ providers/mlx5/mlx5dv.h | 7 +++ providers/mlx5/verbs.c | 48 +++++++++++++--- 8 files changed, 192 insertions(+), 9 deletions(-) create mode 100644 providers/mlx5/man/mlx5dv_create_qp.3.md