From patchwork Sun Mar 24 14:10:34 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Noa Osherovich X-Patchwork-Id: 10867439 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 D2D6F13B5 for ; Sun, 24 Mar 2019 14:11:09 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AD6202940A for ; Sun, 24 Mar 2019 14:11:09 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9E0D1294B6; Sun, 24 Mar 2019 14:11:09 +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 422972940A for ; Sun, 24 Mar 2019 14:11:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726603AbfCXOLF (ORCPT ); Sun, 24 Mar 2019 10:11:05 -0400 Received: from mail-il-dmz.mellanox.com ([193.47.165.129]:53665 "EHLO mellanox.co.il" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726317AbfCXOLF (ORCPT ); Sun, 24 Mar 2019 10:11:05 -0400 Received: from Internal Mail-Server by MTLPINE1 (envelope-from noaos@mellanox.com) with ESMTPS (AES256-SHA encrypted); 24 Mar 2019 16:10:59 +0200 Received: from reg-l-vrt-059-009.mtl.labs.mlnx (reg-l-vrt-059-009.mtl.labs.mlnx [10.135.59.9]) by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id x2OEAxHs028186; Sun, 24 Mar 2019 16:10:59 +0200 From: Noa Osherovich To: leon@kernel.org, jgg@mellanox.com, dledford@redhat.com Cc: linux-rdma@vger.kernel.org, Noa Osherovich Subject: [PATCH rdma-core 0/6] pyverbs: Add completions support Date: Sun, 24 Mar 2019 16:10:34 +0200 Message-Id: <20190324141040.22204-1-noaos@mellanox.com> X-Mailer: git-send-email 2.17.2 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 The following patches enable creating completions queues and related objects such as completion channel in pyverbs. These patches have matching unit-tests patches. The series also includes an update to pyverbs' documentation and a patch to fix pylint issues. Noa Osherovich (6): pyverbs: Introducing completions related classes pyverbs: Add unittests for completion-related classes pyverbs: Introducing extended completions related classes pyverbs: Add unittests for extended completion-related classes Documentation: Document creation of CQs using pyverbs pyverbs/tests: Pylint fixes Documentation/pyverbs.md | 56 ++++ pyverbs/CMakeLists.txt | 2 + pyverbs/cq.pxd | 32 +++ pyverbs/cq.pyx | 532 +++++++++++++++++++++++++++++++++++ pyverbs/device.pxd | 2 + pyverbs/device.pyx | 13 +- pyverbs/libibverbs.pxd | 86 ++++++ pyverbs/libibverbs_enums.pxd | 31 +- pyverbs/tests/cq.py | 209 ++++++++++++++ pyverbs/tests/device.py | 110 +++++--- pyverbs/tests/mr.py | 92 +++--- pyverbs/tests/pd.py | 23 +- pyverbs/tests/utils.py | 32 ++- 13 files changed, 1127 insertions(+), 93 deletions(-) create mode 100644 pyverbs/cq.pxd create mode 100644 pyverbs/cq.pyx create mode 100644 pyverbs/tests/cq.py