Received: by 2002:a05:7412:5112:b0:fa:6e18:a558 with SMTP id fm18csp1653606rdb; Thu, 25 Jan 2024 02:03:45 -0800 (PST) X-Google-Smtp-Source: AGHT+IEKmAvOOSpxkI8AzFfJwh6BB8Cw821w89kAgY8uExYuTFNkzCY/qba6BSdZarMnBLYHvNiC X-Received: by 2002:a05:620a:36f5:b0:783:8b88:e4df with SMTP id cz53-20020a05620a36f500b007838b88e4dfmr954790qkb.14.1706177025512; Thu, 25 Jan 2024 02:03:45 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706177025; cv=pass; d=google.com; s=arc-20160816; b=F4Le/EJvMIcaK1fJWPzPMJVNBvGq7FnlfxyA7jIm8W2oeaeQR4cq5Q8cu2NflDgzCv oyUB23nKdYRL6ezc7v1odtTUpj9BeZLTiExQq4ZcLW0XDPdTDRcvv936Fq//KkFZ/Vdb BKMllNDSMIgfEbf0nH56fyooyg7Afcbw//ySg8iyS7TittweL+Njn1X5+v0elwQCLbDY lJu+so1ScdYw01c7uqf2TzohjbFqO260MSblirWcSkTeDblyMGXnuXUE+X1h8opezjm4 rWA6eHdkXQv4LmU15h7te0F2QremCTNUasakiEQqoBGerZ4fsdmMt5pyORFzfpuAelKU Whxw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:subject :references:in-reply-to:cc:to:from:dkim-signature; bh=G8Jbm2ub/Zw/7NoGEk2ScULybOco0SJVt2AXMjx7JaI=; fh=e+7Wy2MBJRPkR6HZo3mQZ7/HEYHiJ+obkmkV9QaVqVE=; b=DfAxJjhhb1b3HDU612kHWFTfLpM8oNUtxXtZBK6GHyEhBXjcU4PuDTXW32OVoljFco pJKrC/wE4tt0AA+JaUI/issbZzHP1F3Fxai5XAIX0sGsI0AsNIWLfOKDSf+wRFTECiHQ RuIsaODJRDfMpEjdzkuQjhogbPlSodhdYhp/jE90wAx+POWSKHPOCMQDV22aDJeeKIU4 zA6ydZpXRta+BcVxrbZXeMzG3nW3QGXzEGaKB7nNCDNRjYJED6NjvTzHTSCRz8PVyMGp fa0G8sC0Z/EIGs+9WbMd8/hejtN2OUe6uvdTFuuOI9TvWn6o104o4wEKPgYgfFXT03UU J1PQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=BSuRkmKt; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-38355-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-38355-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id d11-20020a05620a240b00b0078319e53b28si13528490qkn.590.2024.01.25.02.03.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jan 2024 02:03:45 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-38355-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=BSuRkmKt; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-38355-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-38355-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 48D481C212AC for ; Thu, 25 Jan 2024 10:03:45 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 083C61C6BD; Thu, 25 Jan 2024 10:03:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="BSuRkmKt" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 31C651C69A; Thu, 25 Jan 2024 10:03:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706177015; cv=none; b=n1owgdYZ6oGILjEUCQ1y7j7Ep6gwPIaN1AhpCCM89WNOSedqXQKKJAqISFh2AwgMaSRJHYmKFw0jc8vg7UIM9cpbfOHqYGNsaqrxtrWqlzEVG6omoGBHE9LKadwx6usfLppJI50jOj0enNDmrw4boXr5bhkCWR6IZRA5ZSoMhy0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706177015; c=relaxed/simple; bh=EkYisJpwdiBDSByJVPEqoe/aBzHVDCKYcLz+CjtlS3E=; h=From:To:Cc:In-Reply-To:References:Subject:Message-Id:Date: MIME-Version:Content-Type; b=lbrKkXh24lwyxWBWgrjwFGADUAkOL7FsOQc/wzuRw6U1U0n5QWp9NQHEmENPDJRtggymTqVrTz27ursA9tPRJ5fLaUgyECX/F8YakHZPBACVxdZb0ILVuXxV+n+dYUULJHXvAHirFcVu/RXTs0unSB4ipISZ8FZ4eAu3R0w9tSM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=BSuRkmKt; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 16256C433C7; Thu, 25 Jan 2024 10:03:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1706177014; bh=EkYisJpwdiBDSByJVPEqoe/aBzHVDCKYcLz+CjtlS3E=; h=From:To:Cc:In-Reply-To:References:Subject:Date:From; b=BSuRkmKtHJCmd2n80RNEnU/uAMArAkO/QJXJsF3NRwAmMbeUBQBG5a2p+nSiknQwK dqGiD58Wk/d5Du2mzp3lmGsVyH6JgudrIKrn3qU8duxUxjdMKnpWq89RVVuSFORK7J 2TnW7I2Fo7VdWta3AsHEmtcK1zSQBkf2h2uKCfW+Db+y8KIm/AKhXFt2o3eQxx9dbp SesmI867EIr1Y8RMAuZX/Jm+/Fo3ztJ9e92lX0o1tpYaUB6E9TeRTts0AVWIn9pJNi nNuMhBSDL9kPUb1/oazIcSN4d1xmUzDgr+1hMccATWyRxsjw1PYhXySwm3L1h8UEl6 sCGeXU40XL9Sw== From: Leon Romanovsky To: kotaranov@microsoft.com, sharmaajay@microsoft.com, longli@microsoft.com, jgg@ziepe.ca, Konstantin Taranov Cc: linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <1705965781-3235-1-git-send-email-kotaranov@linux.microsoft.com> References: <1705965781-3235-1-git-send-email-kotaranov@linux.microsoft.com> Subject: Re: [PATCH rdma-next v1 0/3] RDMA/mana_ib: Introduce three helper functions to clean code Message-Id: <170617701011.634075.7695135572481942797.b4-ty@kernel.org> Date: Thu, 25 Jan 2024 12:03:30 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: b4 0.12-dev-a055d On Mon, 22 Jan 2024 15:22:58 -0800, Konstantin Taranov wrote: > From: Konstantin Taranov > > This patchset aims to remove code repetitions in mana_ib > as well as to avoid explicit use of the gdma_dev. > The gdma_dev was either ethernet or IB device depending on > the usage, which was often easy to confuse and misuse. > > [...] Applied, thanks! [1/3] RDMA/mana_ib: introduce mdev_to_gc helper function https://git.kernel.org/rdma/rdma/c/71c8cbfcdc8f1d [2/3] RDMA/mana_ib: introduce mana_ib_get_netdev helper function https://git.kernel.org/rdma/rdma/c/3b73eb3a4acdf5 [3/3] RDMA/mana_ib: introduce mana_ib_install_cq_cb helper function https://git.kernel.org/rdma/rdma/c/2a31c5a7e0d879 Best regards, -- Leon Romanovsky