From patchwork Wed Feb 20 14:57:32 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yishai Hadas X-Patchwork-Id: 10822267 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 114D217E9 for ; Wed, 20 Feb 2019 14:58:03 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E9EB72E5FE for ; Wed, 20 Feb 2019 14:58:02 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DDCDE2E7EC; Wed, 20 Feb 2019 14:58:02 +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 8592B2E5FE for ; Wed, 20 Feb 2019 14:58:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726470AbfBTO6B (ORCPT ); Wed, 20 Feb 2019 09:58:01 -0500 Received: from mail-il-dmz.mellanox.com ([193.47.165.129]:33028 "EHLO mellanox.co.il" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726557AbfBTO6A (ORCPT ); Wed, 20 Feb 2019 09:58:00 -0500 Received: from Internal Mail-Server by MTLPINE1 (envelope-from yishaih@mellanox.com) with ESMTPS (AES256-SHA encrypted); 20 Feb 2019 16:57:55 +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 x1KEvs1p030840; Wed, 20 Feb 2019 16:57:54 +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 x1KEvsoV013373; Wed, 20 Feb 2019 16:57:54 +0200 Received: (from yishaih@localhost) by vnc17.mtl.labs.mlnx (8.13.8/8.13.8/Submit) id x1KEvsTx013372; Wed, 20 Feb 2019 16:57:54 +0200 From: Yishai Hadas To: linux-rdma@vger.kernel.org Cc: yishaih@mellanox.com, monis@mellanox.com, artemyko@mellanox.com, jgg@mellanox.com, majd@mellanox.com Subject: [PATCH rdma-core 0/6] verbs: Enhanced ODP functionality Date: Wed, 20 Feb 2019 16:57:32 +0200 Message-Id: <1550674658-13295-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 from Moni enhanced the ODP functionality in the user space area as follows: - It reports ODP related capabilities on XRC and SRQ. - It handles some page fault flow in the mlx5 driver. The relevant man pages and example code were updated to demonstrate the usage. The matching kernel part was already merged into 'for-next'. PR was sent: https://github.com/linux-rdma/rdma-core/pull/474 Moni Shoua (6): verbs: Add xrc_odp_caps field to response of query_device verbs: Add SRQ as ODP capability support mlx5: Introduce a wait queue for SRQ WQEs mlx5: Handle ODP fault completion in SRQ verbs: Add option to register ODP MR in ibv_srq_pingpong verbs: Add option to register ODP MR in ibv_xsrq_pingpong libibverbs/cmd.c | 9 +++ libibverbs/examples/devinfo.c | 12 ++- libibverbs/examples/srq_pingpong.c | 30 ++++++- libibverbs/examples/xsrq_pingpong.c | 29 ++++++- libibverbs/man/ibv_query_device_ex.3 | 2 + libibverbs/verbs.h | 2 + providers/mlx5/cq.c | 33 ++++++-- providers/mlx5/mlx5.h | 18 ++++- providers/mlx5/mlx5dv.h | 4 + providers/mlx5/srq.c | 152 +++++++++++++++++++++++++++++++---- providers/mlx5/verbs.c | 33 +++++--- 11 files changed, 288 insertions(+), 36 deletions(-)