Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp6030527rdb; Mon, 18 Sep 2023 01:37:13 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEQgqU3h3iWIgsLE3HKTyLpI4kxRUYdDoIMCViyQbkqpMuR+9cmrBNpA8vhNh59qTjqC5Xl X-Received: by 2002:a17:902:82c3:b0:1c4:749e:e725 with SMTP id u3-20020a17090282c300b001c4749ee725mr2478737plz.0.1695026233041; Mon, 18 Sep 2023 01:37:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695026233; cv=none; d=google.com; s=arc-20160816; b=hbEXVNG1N7tlh38eUMcAPU+Px0u+4OxYy1upJwZADH4B3TRk4VPtl4qK8xqOj7uqz7 yhjzXMZUvCDVMBq07Firas33TW0IC4CyagOUlsuTCQU/3Naly6vL9T2fBrAfBv6FPdXl z63gGP402VXJSn51BdoetIgEAK6JwUVB86uvthGpZ6mP483bFBnoX/676stAyHvEoNN3 EuPKcWrFL1mDpBRuwF5g7tLVwLPqiIn7fvYROyFGzuKoomG/aL3vEqhiVQLtUPRs4DJH wLHoumlZY6L4/ReGeFxa4YSMAZneMiwXaZOuwmy/pOpRl4hNmMM2DNSE0WmBGomLF9ln 95Vg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=w1WIgjFxvcTC5uMwwk2vuo2AKSMXYDJRStawCKlvl+k=; fh=n8iXGFh3Ga1CgQ+1s1uhbmAWJsdzXuOaVmTiLyLYV6w=; b=YL5Glkkr5l+STJHGNYcVe7McBg5rexmMH2dCWFqmO7Sg7aI/n95TMDg2EkVtNs4jLT gCIXxxOw1oaVd65H6VBd8uG364UOSOX1rZUuCWivq0UqkHV5jHpazWXUyO7gIftKEdo7 g2mC/xPRXWu32YKZwYzaTAk7UMgRorzQwEdW/P8aVc3F1doT2PoyUIs/1NJa534mwDYQ KnbGVhnxz4GYmieh1dvbnFu7zLedLVy6W32Yz8fCkb3RDepY+glktdams6Ey4Dolptae pSEAe6leFC1N4tesTwrwPKqac/QpF9YIKNtPFRTshvyzjcnKaXC/2NMGRYISw+XZOec1 WIUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="E/BdUyyw"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id e4-20020a170902f10400b001c3b2b5ce0dsi7416740plb.544.2023.09.18.01.36.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Sep 2023 01:37:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="E/BdUyyw"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 9C804822DA2D; Mon, 18 Sep 2023 01:29:59 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240725AbjIRI3c (ORCPT + 99 others); Mon, 18 Sep 2023 04:29:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45988 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240833AbjIRI3O (ORCPT ); Mon, 18 Sep 2023 04:29:14 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 563E78F; Mon, 18 Sep 2023 01:29:08 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 46EB4C433C8; Mon, 18 Sep 2023 08:29:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1695025748; bh=I4MBU/4uH3DIkiejuLa8YlBMQjERBUrRdAlU1AeqGEk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=E/BdUyywT4oXbhnP4Pt69tq8iGu+MHVIfEB2TfBw8MoKJ9w5m/z+GFZQ4LtD+Y1/p xElf+AccnC111qLUNjBssJzsqyhNBIZ3JClvyeN42N66G06S2HJgtSrm5u4wUIN8/Y RYx4Ru/cLPWTf+LgDVaOv2ynqVQqerjzsQ0NApGqDlFVp6hCsZQLxfhH5XidaIMC1r ZKYKo96v4NhKVEPEdMAtdhOUyDuJUAEzEQs9JDZnT47wU1XuaLHR9UwMCYwKsmY+6j cybXr0eSYf9/iXbDo0M1YdZVoS8Gd/K7oRy/PTL4WiEhErglJuDvm1HPKrDw5m1yUB 98GiQ3BmWU3qg== Date: Mon, 18 Sep 2023 11:29:03 +0300 From: Leon Romanovsky To: Ajay Sharma Cc: "sharmaajay@linuxonhyperv.com" , Long Li , Jason Gunthorpe , Dexuan Cui , Wei Liu , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , "linux-rdma@vger.kernel.org" , "linux-hyperv@vger.kernel.org" , "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: [EXTERNAL] Re: [Patch v5 0/5] RDMA/mana_ib Message-ID: <20230918082903.GC13757@unreal> References: <1694105559-9465-1-git-send-email-sharmaajay@linuxonhyperv.com> <20230911123231.GB19469@unreal> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS autolearn=ham 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Mon, 18 Sep 2023 01:30:00 -0700 (PDT) On Mon, Sep 11, 2023 at 06:57:21PM +0000, Ajay Sharma wrote: > I have updated the last patch to use xarray, will post the update patch. We currently use aux bus for ib device. Gd_register_device is firmware specific. All the patches use RDMA/mana_ib format which is aligned with drivers/infiniband/hw/mana/ . ➜ kernel git:(wip/leon-for-rc) git l --no-merges drivers/infiniband/hw/mana/ 2145328515c8 RDMA/mana_ib: Use v2 version of cfg_rx_steer_req to enable RX coalescing 89d42b8c85b4 RDMA/mana_ib: Fix a bug when the PF indicates more entries for registering memory on first packet 563ca0e9eab8 RDMA/mana_ib: Prevent array underflow in mana_ib_create_qp_raw() 3574cfdca285 RDMA/mana: Remove redefinition of basic u64 type 0266a177631d RDMA/mana_ib: Add a driver for Microsoft Azure Network Adapter It is different format from presented here. You added extra space before ":" and there is double space in one of the titles. Regarding aux, I see it, but what confuses me is proliferation of terms and various calls: device, client, adapter. My expectation is to see more uniform methodology where IB is represented as device. Thanks > > Thanks > > > -----Original Message----- > > From: Leon Romanovsky > > Sent: Monday, September 11, 2023 7:33 AM > > To: sharmaajay@linuxonhyperv.com > > Cc: Long Li ; Jason Gunthorpe ; Dexuan > > Cui ; Wei Liu ; David S. Miller > > ; Eric Dumazet ; Jakub > > Kicinski ; Paolo Abeni ; linux- > > rdma@vger.kernel.org; linux-hyperv@vger.kernel.org; netdev@vger.kernel.org; > > linux-kernel@vger.kernel.org; Ajay Sharma > > Subject: [EXTERNAL] Re: [Patch v5 0/5] RDMA/mana_ib > > > > On Thu, Sep 07, 2023 at 09:52:34AM -0700, sharmaajay@linuxonhyperv.com > > wrote: > > > From: Ajay Sharma > > > > > > Change from v4: > > > Send qp fatal error event to the context that created the qp. Add > > > lookup table for qp. > > > > > > 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 > > > > I didn't look very deep into the series and has three very initial comments. > > 1. Please do git log drivers/infiniband/hw/mana/ and use same format for > > commit messages. > > 2. Don't invent your own index-to-qp query mechanism in last patch and use > > xarray. > > 3. Once you decided to export mana_gd_register_device, it hinted me that it is > > time to move to auxbus infrastructure. > > > > Thanks > > > > > > > > drivers/infiniband/hw/mana/cq.c | 12 +- > > > drivers/infiniband/hw/mana/device.c | 81 +++-- > > > drivers/infiniband/hw/mana/main.c | 288 +++++++++++++----- > > > 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, 545 insertions(+), 258 deletions(-) > > > > > > -- > > > 2.25.1 > > >