From patchwork Tue Aug 22 15:47:31 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: sharmaajay@linuxonhyperv.com X-Patchwork-Id: 13361111 Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net [23.128.96.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5BD481C28D for ; Tue, 22 Aug 2023 15:47:47 +0000 (UTC) Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 32BEBCDF; Tue, 22 Aug 2023 08:47:46 -0700 (PDT) Received: by linux.microsoft.com (Postfix, from userid 1174) id 7F6E22126CC2; Tue, 22 Aug 2023 08:47:45 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 7F6E22126CC2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxonhyperv.com; s=default; t=1692719265; bh=HVGBPOnzeTlh8V57DK7yO/EoCj0a9cS67LN7UjxUnq0=; h=From:To:Cc:Subject:Date:From; b=XRyLgiNLWUjgs7IQZBoYir0iiyhMOHKFX444y3j82Bqsm3H175ySMUAt3hb1pFGIe CaH/3rL2WOii3wuiGttyL0cWqtbvGQQaKUaNwQuMeEyzoy0zInScw0QVcVfuvsESS2 DpIE0si7LYBeL8f+qXUN4Wez1Nn2dzBU6y5m8C6k= From: sharmaajay@linuxonhyperv.com To: Long Li , Jason Gunthorpe , Leon Romanovsky , Dexuan Cui , Wei Liu , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni Cc: linux-rdma@vger.kernel.org, linux-hyperv@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Ajay Sharma Subject: [Patch v4 0/4] RDMA/mana_ib Date: Tue, 22 Aug 2023 08:47:31 -0700 Message-Id: <1692719255-20183-1-git-send-email-sharmaajay@linuxonhyperv.com> X-Mailer: git-send-email 1.8.3.1 X-Spam-Status: No, score=-9.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_PASS,SPF_PASS,URIBL_BLOCKED, USER_IN_DEF_SPF_WL autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: From: Ajay Sharma This patch series introduces some cleanup changes and resource control changes. The mana and mana_ib devices are used at common places so a consistent naming is introduced. Adapter object container to have a common point of object release for resources and query the management software to prevent resource overflow. It also introduces async channel for management to notify the clients in case of errors/info. Ajay Sharma (4): RDMA/mana_ib : Rename all mana_ib_dev type variables to mib_dev RDMA/mana_ib : Register Mana IB device with Management SW RDMA/mana_ib : Create adapter and Add error eq RDMA/mana_ib : Query adapter capabilities drivers/infiniband/hw/mana/cq.c | 12 +- drivers/infiniband/hw/mana/device.c | 72 +++-- drivers/infiniband/hw/mana/main.c | 283 +++++++++++++----- drivers/infiniband/hw/mana/mana_ib.h | 96 +++++- drivers/infiniband/hw/mana/mr.c | 42 ++- drivers/infiniband/hw/mana/qp.c | 84 +++--- drivers/infiniband/hw/mana/wq.c | 21 +- .../net/ethernet/microsoft/mana/gdma_main.c | 151 ++++++---- drivers/net/ethernet/microsoft/mana/mana_en.c | 3 + include/net/mana/gdma.h | 16 +- 10 files changed, 525 insertions(+), 255 deletions(-)