Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp672228rwb; Thu, 27 Jul 2023 20:22:27 -0700 (PDT) X-Google-Smtp-Source: APBJJlFmZ5T+2jXmOfMfKYppb4JRM1eTbJnozpkXb9a4sDc7XA736j6x8VXcmz7DPbpHqcrYlJKM X-Received: by 2002:a17:903:456:b0:1bb:77a2:edda with SMTP id iw22-20020a170903045600b001bb77a2eddamr477979plb.36.1690514547125; Thu, 27 Jul 2023 20:22:27 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1690514547; cv=pass; d=google.com; s=arc-20160816; b=RKUaNsSf3q8Wz3ApnzlztSc7csEx0WXx5gt+6l04oV6SqQeSwgUdHZYGoxhCE0MJC3 IiTNk9V67Ajp1wecJBslSDHHsB72SXAWvUE0Y/2XPSffulCNzSpie81YbO/lk365yfPb 7QLZlvlNaLOazp9QXkV94J+hc+SCfIzw3KR+pLYoEfnW2ZI0zCgxJa4eIvyS/FbPUSLQ I8f8aIkcJEp6cU+Yelis6TJrtX3eK1mP6zp8aUj+k4kFkkM5j5XKUuzledr7akJvIHPz OVC4KqHOj1tBMqHLBbaqWZoZi6w1ctp/ZzOBFHQm+xlMSi/8t6kV4up77K7yeL4jOeyH Lpog== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :msip_labels:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature; bh=FRvoMXXarnRQaLc2utv9QwBg+e9no3/WQFeWndYYP2s=; fh=yKyknJh94InUS2CyYIjzuyJZzXBAt9/ToNrrN8W694Y=; b=dm9KwtTNY1w8KggKJcFzzGPo90w1vj8VbJj7chC+3okOewOVyTSb64KvmgOFcBzLKz z3Q8obl4gajkVgG6WqvWk/Jd7z69ccQs7fujrJPQRspPEtK+bbSPl7LLBH59KMIYMmmK HGRN3Q4ahNk+NhHABnILqoJSa8uuHjV6kblL5NztLiwFWp/9+Gi3OVKEPgj1J0VunoQk 2ut/GcYLk6Ik+ippyvPgrEgcUcxsF62F/4z5LsRt0pu/hxpTeBC3m5al9u97rHQQKBSb wK229NF3wWTniXn5At+pkevxjvLSebpT2+SZmmBi/aZGkGrsk+aor8jf+/qbJZzj3kl5 oLqw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector2 header.b=GaJgQue+; arc=pass (i=1 spf=pass spfdomain=microsoft.com dkim=pass dkdomain=microsoft.com dmarc=pass fromdomain=microsoft.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y11-20020a17090a86cb00b00263f3eb229fsi3818873pjv.47.2023.07.27.20.22.14; Thu, 27 Jul 2023 20:22:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector2 header.b=GaJgQue+; arc=pass (i=1 spf=pass spfdomain=microsoft.com dkim=pass dkdomain=microsoft.com dmarc=pass fromdomain=microsoft.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232678AbjG1DCD (ORCPT + 99 others); Thu, 27 Jul 2023 23:02:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47266 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232692AbjG1DBw (ORCPT ); Thu, 27 Jul 2023 23:01:52 -0400 Received: from DM6FTOPR00CU001.outbound.protection.outlook.com (mail-centralusazon11020020.outbound.protection.outlook.com [52.101.61.20]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4FD8A2139; Thu, 27 Jul 2023 20:01:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mPJW/EQO99IqPZ3HaIaODJfa9ySVqCieeEum2NfSVBnhGk3sHc02GA3Iu6qDB7DGEb4762bcyEI+qKt3aMTY26ZxmBxDACZzdAzKZ94J0nzJCjvWoVY4ygoip9/jKvATD4zvReuB8saxEwLJ14p4L/0aaGuPevIAkr6++McYSgGY48ZbOKDLRL46RW8VO7F5v1iDvYScxSLQJzwMaLr+mDW20HQwR+sa30CbOoWPyGYUVaF7LvFrhtm9JudK9vojGNW3gv6snRtwKozpYq9+3Bx2O9Nc3iRtDiOG1czErfiE3hiIPaHe/5UUqO+utdrtO/GJ3sSC/GzM5tYogOdLhw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=FRvoMXXarnRQaLc2utv9QwBg+e9no3/WQFeWndYYP2s=; b=A6noVhVXcrRrd9xJsv+pyOncyeBSsz4IF7mzjwQN286nIhNWcJAze9epT9XqOmxjyn2ejaR8ZnyoAebcKkSe932+cYnqle9kt/kTVx5dHcngpgJR6mL8Ovx1uS7IwPwe3Llh3Iewib5l3g7CX2N8MSHF1Ihh4zexjaA3WBjvv22kJpXv8nOt+zxIntIB0C9FBVb8cmVnaDV4k2PGAGmUFl4ZVbKno907dSv4FupIAiTlOlZyYhuaYGuOflNC526JCrfsZyB8NaVr2ggRlsxWE44GPnRG2mxVOYVtixrsu7CLT2sG36NqElcWpEswbvrMS65dpEKpgKphmNVYVxKz2A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=microsoft.com; dmarc=pass action=none header.from=microsoft.com; dkim=pass header.d=microsoft.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=FRvoMXXarnRQaLc2utv9QwBg+e9no3/WQFeWndYYP2s=; b=GaJgQue+uUeB9CwvdFQM+iHqmagTeqNQmhZc9xnD/HxdyemL+LI4wxmXajIGITEyGHUkFOjMjVo76xSagOpfEkWP6Spc1AvF/h3svjQbdLx6wmSHJI8Yjj8lngLnYOcvI6GYfE/654UQR3SHoWjWwSGmRKS8Kb2VrzY3697WNXs= Received: from BY5PR21MB1394.namprd21.prod.outlook.com (2603:10b6:a03:21c::20) by DS7PR21MB3365.namprd21.prod.outlook.com (2603:10b6:8:81::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6652.3; Fri, 28 Jul 2023 03:01:45 +0000 Received: from BY5PR21MB1394.namprd21.prod.outlook.com ([fe80::9e52:d01f:67f7:2453]) by BY5PR21MB1394.namprd21.prod.outlook.com ([fe80::9e52:d01f:67f7:2453%6]) with mapi id 15.20.6652.004; Fri, 28 Jul 2023 03:01:45 +0000 From: Ajay Sharma To: Long Li , "sharmaajay@linuxonhyperv.com" , 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: RE: [EXTERNAL] [Patch v3 0/4] RDMA/mana_ib Read Capabilities Thread-Topic: [EXTERNAL] [Patch v3 0/4] RDMA/mana_ib Read Capabilities Thread-Index: AQHZv/zyU+rWNq0MNkyRetXdYpFlI6/Of59w Date: Fri, 28 Jul 2023 03:01:44 +0000 Message-ID: References: <1690402104-29518-1-git-send-email-sharmaajay@linuxonhyperv.com> In-Reply-To: <1690402104-29518-1-git-send-email-sharmaajay@linuxonhyperv.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ActionId=458adced-8393-45b5-9d4e-45327b35987a;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ContentBits=0;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Enabled=true;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Method=Standard;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Name=Internal;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SetDate=2023-07-28T03:01:26Z;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SiteId=72f988bf-86f1-41af-91ab-2d7cd011db47; authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=microsoft.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: BY5PR21MB1394:EE_|DS7PR21MB3365:EE_ x-ms-office365-filtering-correlation-id: 923b4194-e421-44d7-4133-08db8f16fa10 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: A3TWtpkou4jIMa7bB3BjJbcR0CDPIYUETFH3fcJR0zGKbUoE7Cw46K/iY4jb3csP8+1LI3xbIIF436UIgekaJQEGs5cBdvUfXqK3FucQ9klW2yImyDw2uBx3bPL5UdgsSbjxIxhMWLJI8Cuxg84PQm6UVEOp7ofr3IUp6j9rIen+6MqMhWga/zqzOSni4kZSHYFt+peiiv/NiYaMwlYb9El4PJfFwVpEjsp0NbUQmNIl8hO6o5APD7W/VmLav4d/7UL3Byhc4TMzdy2tvMEmjMATSuFomca27E28X0+OlewznyNUUVu2m8lTgjI2iNdLrZyPfgeu8Uwa8EFDXnkIaXUpfD8FzCI1dvvJYyZiqdI7rVwvRs617qKgh0acyM8RWG5LHwY8a8KH41BvsYckkITh1m9Srrd1FUBp6uS0echejFaXQqpnPj6PqTYFZAXdnReWeRFepwWUNViHw1G7RwerA6BgC9UL7urh3yeHu9iyJ2YE8kittEANdtdAd4esJ+jWH2aYBfCYQMDBpKVPmXGt2qzDC86ITiWpc6zO1Bco5q2ox877mxtQK5Vb3KtEa1BTIzfpxfxd4CLdAhe83JGXo8O0QSHWv3SiTqVbJwchfqt0hKD09gGoCtAvp2h0VSOGKciR0M/0U7sTSSj9Z5Y+UaSHr2u2kxH9TupMty6UZseOYsZyWiStSHIZUeZJ x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BY5PR21MB1394.namprd21.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(4636009)(136003)(396003)(366004)(39860400002)(346002)(376002)(451199021)(7416002)(38070700005)(921005)(33656002)(7696005)(55016003)(53546011)(6506007)(83380400001)(66446008)(64756008)(9686003)(66556008)(186003)(38100700002)(122000001)(107886003)(76116006)(2906002)(66946007)(66476007)(82950400001)(82960400001)(316002)(71200400001)(4326008)(5660300002)(8990500004)(41300700001)(8676002)(86362001)(52536014)(54906003)(110136005)(478600001)(10290500003)(8936002);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?4GngBbCpZHrDrnZXVQxxR5maP5FjfwjVhqPqJD8Erzsm/eH/Ackh6EWIs7ma?= =?us-ascii?Q?G2UEkkafhoWKhHXdoxQ8VSmvBx0BaUVsikGy/AW+2yLQdp0LYeCJNapby3MI?= =?us-ascii?Q?IIC215z8mH8I7Njt5YlzaUK+aONKTs2aDf50gJ/hgmZw8OSDgRvLudY0WQvD?= =?us-ascii?Q?CHQFRaG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tHsIMoE4G+V7wOmQ?= =?us-ascii?Q?M749V5b860dojPDfN0DXg2bmd6kR/8amvXuLODWg5oQG0s7b8MS5o2tTfR00?= =?us-ascii?Q?92sE1syLE1sy4ZmUNU4xgbo/PZqqMobe6IGezhYg6zXOrERiTFH5Uc4Nbdxm?= =?us-ascii?Q?/JGDQKd0jiFEnksOWLp8JHLZ+So8PZRdDg7WIUfJKWiYdf8fOhAvkdIs7we3?= =?us-ascii?Q?kR+OEL/AeuFw3nAOjoZLeCf4HVXHWO0a2tXD9Oyb7F57vFNU7SXn+7UXwqz5?= =?us-ascii?Q?RvEbr0Ywko5TmB4S5dYKvoGh5IX+JfKrPLOfKNE08O9ONYlJFNBNl+zTud1I?= =?us-ascii?Q?pi+JOaoKgEJ33cN4UCvTE0X6LAQRhhA0Fq7shvZSwKCc41neA2MPIQFBWmEl?= =?us-ascii?Q?1wjEqPqiw6aHxzKHnLTfAyCagZeGp4ZbZlJKqaRBtBRezWY2awmtRr2ZK7YR?= =?us-ascii?Q?iMs/WZyrvn0rbNDiAJ9sbnB3ThQdJey3uGL0rfNpmuLp/saNhmP5QWHLa7w5?= =?us-ascii?Q?QmqR4fGNhtdr6sjbcnVVOn2P+QNnn8UE7b6JLMJ+?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BY5PR21MB1394.namprd21.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 923b4194-e421-44d7-4133-08db8f16fa10 X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Jul 2023 03:01:45.0029 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: D4NdLkik8tqZue7XL6ReyoYYtLNyctIEeLd/KPTlbrmiBUlm2027lr9xGzmIPBQ3Ku3VJR8sZsSk8RVQsPJVmUkSxNHqxhI/bT7yMcK7f4k= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS7PR21MB3365 X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FORGED_SPF_HELO, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_NONE, T_SCC_BODY_TEXT_LINE 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 List-ID: X-Mailing-List: linux-kernel@vger.kernel.org +Long > -----Original Message----- > From: sharmaajay@linuxonhyperv.com > Sent: Wednesday, July 26, 2023 3:08 PM > To: 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: [EXTERNAL] [Patch v3 0/4] RDMA/mana_ib Read Capabilities >=20 > From: Ajay Sharma >=20 > 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 commo= n > point of object release for resources and query the management software t= o > prevent resource overflow. > It also introduces async channel for management to notify the clients in = case of > errors/info. >=20 > 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 >=20 > drivers/infiniband/hw/mana/cq.c | 12 +- > drivers/infiniband/hw/mana/device.c | 72 +++-- > drivers/infiniband/hw/mana/main.c | 282 +++++++++++++----- > drivers/infiniband/hw/mana/mana_ib.h | 96 +++++- > drivers/infiniband/hw/mana/mr.c | 42 ++- > drivers/infiniband/hw/mana/qp.c | 82 ++--- > 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, 529 insertions(+), 248 deletions(-) >=20 > -- > 2.25.1