From patchwork Thu Nov 23 03:10:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Long Li X-Patchwork-Id: 13465716 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxonhyperv.com header.i=@linuxonhyperv.com header.b="KLkpTxfW" Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 80774D5E; Wed, 22 Nov 2023 19:10:19 -0800 (PST) Received: by linux.microsoft.com (Postfix, from userid 1004) id D728020B74C0; Wed, 22 Nov 2023 19:10:18 -0800 (PST) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com D728020B74C0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxonhyperv.com; s=default; t=1700709018; bh=sP/kpPj8BkKyVMEDzS+OaFWLgeKMkV1qQHYNF/Vuc7M=; h=From:To:Cc:Subject:Date:From; b=KLkpTxfWGkaSk8aQ3/pBWPvQFay22P0DsIwccy+/HDwobwVQmW9rMRgLOd68IE3Et ANkXqlUTDR2J9hziRtL7Cu+eCBIiwuvIjFTfnXL94vGArdFw6RT6qiU4GSjKFA8jWG 1vAfwrRsL85/sUPOtSCq5KslkzjSud/6eQVX+TjA= From: longli@linuxonhyperv.com To: Jason Gunthorpe , Leon Romanovsky , Ajay Sharma , Dexuan Cui , "K. Y. Srinivasan" , Haiyang Zhang , 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, Long Li Subject: [Patch v1 0/4] Date: Wed, 22 Nov 2023 19:10:06 -0800 Message-Id: <1700709010-22042-1-git-send-email-longli@linuxonhyperv.com> X-Mailer: git-send-email 1.8.3.1 Precedence: bulk X-Mailing-List: linux-rdma@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: From: Long Li This patchset add support for registering a RDMA device handle with SoC for support of upcoming RC queue pairs and CQ interrupts. This patchset is partially based on Ajay Sharma's work: https://lore.kernel.org/netdev/1697494322-26814-1-git-send-email-sharmaajay@linuxonhyperv.com Long Li (4): RDMA/mana_ib: register RDMA device with GDMA RDMA/mana_ib: create and process EQ events RDMA/mana_ib: create RDMA adapter handle RDMA/mana_ib: query device capabilities drivers/infiniband/hw/mana/cq.c | 2 +- drivers/infiniband/hw/mana/device.c | 52 +++++- drivers/infiniband/hw/mana/main.c | 166 ++++++++++++++++-- drivers/infiniband/hw/mana/mana_ib.h | 85 +++++++++ drivers/infiniband/hw/mana/qp.c | 36 +++- .../net/ethernet/microsoft/mana/gdma_main.c | 152 +++++++++------- drivers/net/ethernet/microsoft/mana/mana_en.c | 3 + include/net/mana/gdma.h | 19 +- 8 files changed, 420 insertions(+), 95 deletions(-)