Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp4805604rdb; Fri, 15 Sep 2023 12:50:57 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEyzD/rLh0iYCMlfMfWUuqMzyUXE9cQaVHStDu3Y5/uSeNLD5ynqr255a/gUWw5KTR+OK2s X-Received: by 2002:a05:6a20:3d06:b0:15a:1817:c493 with SMTP id y6-20020a056a203d0600b0015a1817c493mr3394112pzi.39.1694807456882; Fri, 15 Sep 2023 12:50:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694807456; cv=none; d=google.com; s=arc-20160816; b=ei5lLTOJwDvj5EWUCypb0PSCMcDQlkw/5TLN8ujZtBA6LAQ0/yxiO5mBs7PxWG7R2u OoIEX69uTowiZaJGa6z784p9ywqorK3Z8bX+mWThDpZbLbQxNTivWntFrhKh7LkKITHM xMbsWxOakr3zGnhwBvD62AJXHaajtf+A1WgEd3I48bHjnycjOyyCw2atCbWMVdtgjhZF +iabflnZkgtsf4iHll116K7tOh2EaW45Rsr8jzgDwUlAuFopocHLc2/2ftVongiNfQBI RVz82CgBk1/vDudYv7Q7DHFBM3Cs19OiJDnCup14fGn8WYdy332uPi7JuIksmw0J+PRE X4eQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from :dkim-signature:dkim-filter; bh=B/5omYi3NMx7LhZ02tzamkjg2YG+tTuPu1ZrPCF6Ks4=; fh=EwOlXWsBMUW0kp6PQ4notv7d3oMCrnB/CqKZMn6ZxlE=; b=VQK1lTNxWTgHJljzoP+BZRHVh7XJ1qkTB/jv5qOqfon+cX4zc1XfVu8mvDShcQ9niU uAL/L80B8C8QdVrqv+Ys3d/ij5pK6rLaMA85+7LuKL3YfP/TLcWue7vuuSZYx1Y+fM56 YFGAvTH2wfWvMQg9+FM/oxLxGv7RcUrSbZuxRHkrYkUEiICQ8LoozZc1viBLukINHK29 w25CdgvMIHpcs6OCx7a/sQRmZVqT3daHRQsQuq9RJ5+Q6AAGnX1B26r8V7Q4bbgNAmNy Q7UL/FBOYMEyg9+enomcNg4oeAQCZbeI83nSDAipa5uA6Wk05cHYQlNLg47TtvtOi6gp bSEQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxonhyperv.com header.s=default header.b=gCcS07mi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxonhyperv.com Return-Path: Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id d10-20020a170902654a00b001b7f4696a2csi3653032pln.347.2023.09.15.12.50.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Sep 2023 12:50:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxonhyperv.com header.s=default header.b=gCcS07mi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxonhyperv.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id D0F27809E8B2; Fri, 15 Sep 2023 11:25:31 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235941AbjIOSY6 (ORCPT + 99 others); Fri, 15 Sep 2023 14:24:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36438 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233822AbjIOSYl (ORCPT ); Fri, 15 Sep 2023 14:24:41 -0400 Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 0D28F1FD7; Fri, 15 Sep 2023 11:24:36 -0700 (PDT) Received: by linux.microsoft.com (Postfix, from userid 1174) id 7A8BC212BE76; Fri, 15 Sep 2023 11:24:35 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 7A8BC212BE76 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxonhyperv.com; s=default; t=1694802275; bh=B/5omYi3NMx7LhZ02tzamkjg2YG+tTuPu1ZrPCF6Ks4=; h=From:To:Cc:Subject:Date:From; b=gCcS07miBSR7haO7qHEEdgKzu2BtS7fOefTXK5BX6HcIhbEdN9pgNqxMMllTdoPyN zfBRpOrDqnqBD1yQVH83JUsZa+1fp0jgkDk8Su/pBeeKL6EXSZtgAUdznq52tT2cTW KUojN81/rHw4C3SvXFXqcbOQqW9vicbIE3s+HK04= 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 v6 0/5] RDMA/mana_ib Date: Fri, 15 Sep 2023 11:24:25 -0700 Message-Id: <1694802270-17452-1-git-send-email-sharmaajay@linuxonhyperv.com> X-Mailer: git-send-email 1.8.3.1 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Fri, 15 Sep 2023 11:25:32 -0700 (PDT) From: Ajay Sharma Change from v5: Use xarray for qp lookup. Ajay Sharma (5): 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 RDMA/mana_ib : Send event to qp drivers/infiniband/hw/mana/cq.c | 12 +- drivers/infiniband/hw/mana/device.c | 78 +++-- drivers/infiniband/hw/mana/main.c | 290 +++++++++++++----- drivers/infiniband/hw/mana/mana_ib.h | 102 +++++- drivers/infiniband/hw/mana/mr.c | 42 ++- drivers/infiniband/hw/mana/qp.c | 86 +++--- drivers/infiniband/hw/mana/wq.c | 21 +- .../net/ethernet/microsoft/mana/gdma_main.c | 152 +++++---- drivers/net/ethernet/microsoft/mana/mana_en.c | 3 + include/net/mana/gdma.h | 16 +- 10 files changed, 543 insertions(+), 259 deletions(-) -- 2.25.1