Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp1401761rda; Mon, 23 Oct 2023 11:22:07 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFnq7AGp3Ik+6GzI7Bda/SVqe0kzJ+AO20WBef5qkhBaPjc118Fm2qmNbh8kB3J+AtUOcRu X-Received: by 2002:a17:90a:53c5:b0:27d:8d0:713e with SMTP id y63-20020a17090a53c500b0027d08d0713emr10400078pjh.10.1698085326923; Mon, 23 Oct 2023 11:22:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698085326; cv=none; d=google.com; s=arc-20160816; b=avTF5RJMWY71PnFx7koEokK/1XfsVFevL3ssqJ8j7N+28pidX3pnr6kHxVJC/c9IF4 FXdt1xI+6RRHLSJIS5eYvedW3V7lX3xZkPxPV3XEN+7xNasx/SQdnz6v9N1fTuXj15pT 1SAs4YcUDR34+gHu1pLLbI3eHgiE/fSLpIjCfTpoHC4pD9sKBdarTOiGaRIM6DLNtF40 dWqtAoFVTKShe/oYDCWB3qo8hEnKwP3J5KLgLBmlJiVNNG40Eyvyph5MJrsFXWcaKuhU 3oAzM0J5tyqmx612mvrz+S8VMhnLhUBBmaW+kBN/AubpMW6g0nMpBz4WTY58LIizMA0N mLvQ== 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-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=ELhPHgmF7pPJ0f5VbSNCKVTdPqoWjN7MfIE8blhP1v8=; fh=4d7RV6yHhLkjRZFZeG8so2oMGBAP4qVKQEnNNC8aiDo=; b=IDgFr3kTAu2aQkbB9NAfosOyBgn5Ry+XSyxUTyNsD22H+cfNAjksw20qB3U+sd6mCd hjqxiTau374MhOSAlyosK+pA+sQP/SVCwVKxQjK78WtSykKplGC5Xj5xGBAMqMI2Dawf zAaQQ6ICbx/IPxvIer+sBT2qo1PBnbLE2ApcWJnT3xN4oT5YOlLgHgSlaBLXVWo26Qyd MpLZs1HxbjbyN9/vp4kIpB6guPqkP9/mDJ85245XI0q4SiV2/VEri9aMgsZpczyJpgED fkVzoQ7XBi0xenQzIXERZGynhMWwsAy/kjT2dR9Un/2lmyYQeBpl/1UW0fIdy91UR90F 7Kag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ziepe.ca header.s=google header.b=PbZDGy48; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id ls13-20020a17090b350d00b002774e4d6e7dsi7212572pjb.147.2023.10.23.11.22.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Oct 2023 11:22:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@ziepe.ca header.s=google header.b=PbZDGy48; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 84A78809C933; Mon, 23 Oct 2023 11:22:04 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233165AbjJWSVy (ORCPT + 99 others); Mon, 23 Oct 2023 14:21:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57264 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233139AbjJWSVx (ORCPT ); Mon, 23 Oct 2023 14:21:53 -0400 Received: from mail-oi1-x235.google.com (mail-oi1-x235.google.com [IPv6:2607:f8b0:4864:20::235]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4853D100 for ; Mon, 23 Oct 2023 11:21:51 -0700 (PDT) Received: by mail-oi1-x235.google.com with SMTP id 5614622812f47-3b3e7f56ca4so2183963b6e.0 for ; Mon, 23 Oct 2023 11:21:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ziepe.ca; s=google; t=1698085310; x=1698690110; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=ELhPHgmF7pPJ0f5VbSNCKVTdPqoWjN7MfIE8blhP1v8=; b=PbZDGy48iqssau03QIP9wvYb2V5M/5cCvDd4R64DNFEgRiKFLbyU047d0oZiYj5ZZd KNyNdKEJLnDWRSFx8l3mIPZTSXVsW9vXg21GQKyca7VgSbc6nr4BrLPeyA89N3QpqKDD iFfVpeMWULqCn8aMbbcA/n4FeUGFi9NuRmYyynsWX9fTAjyD+0OSgQAC02mtyPb2g11K J+vpPbS1e3b7vWxDlRZa0zf6N71NS/Mn5dR3fcRopN9nnFNdYyOKV+it30ljw5F3Uh8w jX4A6SHv//xnErt9az90/raLduCT5KJDcN3v4LaxWPFPQH7jiUPe8AgMbdZVcdfdKoWS yV9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698085310; x=1698690110; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=ELhPHgmF7pPJ0f5VbSNCKVTdPqoWjN7MfIE8blhP1v8=; b=cGvI+gx05OTJAado3amFGQuEY6mnSY8XIDiAjiP3ILBKFVTFnwJNykM7OF4VUhBUd5 VlJNGNL0pjPLTEMKcjVLUyYKS4U//NhTGjITHQRR7kcd3QhhPYnJf4fc6uZEWMkNipiO IYpHO1S9I3kkimkR7/JjhTE3HuHW69j2Kttl/SREPtASKE1TWkvYmArgeGPKrJ71OgN/ tDxZGDLbKxMI59jdFgVQXLmBT0SRBkxWwbsP2leikkmI5J8ty+BHKC5TmhJI+9fGT6a/ hWsp4wBp5ay7jsNvMNJ5ZyJXrpCQcZufchfg2y098IHHVQQrDBHb6gOIISWIOTmJi2ij 7suw== X-Gm-Message-State: AOJu0YxzoK4KyJfV5dvKHkMaDPoAwxtDG9pCeO1HI5vBBgcU79KcNtlq c33ppbdZ4Oa4uStIjN6D5sXu9A== X-Received: by 2002:a05:6808:46:b0:3ad:f866:39bd with SMTP id v6-20020a056808004600b003adf86639bdmr9848014oic.27.1698085310628; Mon, 23 Oct 2023 11:21:50 -0700 (PDT) Received: from ziepe.ca (hlfxns017vw-142-68-26-201.dhcp-dynamic.fibreop.ns.bellaliant.net. [142.68.26.201]) by smtp.gmail.com with ESMTPSA id z18-20020a056808029200b003b2f369a932sm1579278oic.49.2023.10.23.11.21.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Oct 2023 11:21:50 -0700 (PDT) Received: from jgg by wakko with local (Exim 4.95) (envelope-from ) id 1quzYj-003jR4-AF; Mon, 23 Oct 2023 15:21:49 -0300 Date: Mon, 23 Oct 2023 15:21:49 -0300 From: Jason Gunthorpe To: sharmaajay@linuxonhyperv.com Cc: Long Li , Leon Romanovsky , 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: Re: [Patch v7 3/5] RDMA/mana_ib: Create adapter and Add error eq Message-ID: <20231023182149.GK691768@ziepe.ca> References: <1697494322-26814-1-git-send-email-sharmaajay@linuxonhyperv.com> <1697494322-26814-4-git-send-email-sharmaajay@linuxonhyperv.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1697494322-26814-4-git-send-email-sharmaajay@linuxonhyperv.com> X-Spam-Status: No, score=-0.8 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 fry.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 (fry.vger.email [0.0.0.0]); Mon, 23 Oct 2023 11:22:04 -0700 (PDT) On Mon, Oct 16, 2023 at 03:12:00PM -0700, sharmaajay@linuxonhyperv.com wrote: > From: Ajay Sharma > > Create adapter object as nice container for VF resources. > Add error eq needed for adapter creation and later used > for notification from Management SW. The management > software uses this channel to send messages or error > notifications back to the Client. > > Signed-off-by: Ajay Sharma > --- > drivers/infiniband/hw/mana/device.c | 22 ++- > drivers/infiniband/hw/mana/main.c | 97 ++++++++++++ > drivers/infiniband/hw/mana/mana_ib.h | 33 ++++ > .../net/ethernet/microsoft/mana/gdma_main.c | 147 ++++++++++-------- > drivers/net/ethernet/microsoft/mana/mana_en.c | 3 + > include/net/mana/gdma.h | 13 +- > 6 files changed, 245 insertions(+), 70 deletions(-) Split up your patches properly please this says it creates the adapter, code to create an EQ and process events should not be in this patch. Jason