Received: by 2002:ab2:3350:0:b0:1f4:6588:b3a7 with SMTP id o16csp1362424lqe; Mon, 8 Apr 2024 07:01:42 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXUxBzyCHo274motXS33Zag/xl8J36pgpV9WPinDShxwlbibb+OBVf0ZQhGAgyEPoStLKE+DyNftJ4x+5E/QFzvAlAPq7GWk7z615gzRg== X-Google-Smtp-Source: AGHT+IGh2Zm1wlJRVDLr4CkePddh22FqsFJj060mmrudvMnKcXEomnSmJduVe+IkerrZbp+PzBWA X-Received: by 2002:ac8:7f91:0:b0:434:8856:15f5 with SMTP id z17-20020ac87f91000000b00434885615f5mr3827510qtj.40.1712584902663; Mon, 08 Apr 2024 07:01:42 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712584902; cv=pass; d=google.com; s=arc-20160816; b=nYB+tIobWJMstU1Oj5fPE7UgviD07PZSl6Dqon3WUiuO3CspbsJNtu+ioQ/HGjgO6v j+3ls47mgznGf70VKwou2TQX0fuhXEYraPo856pqqeUhBbmVn+zvMGoeiH9RzovqYpOx SnunaIvNdbPcusUjCiUOsseOHDSJ4ZWZLpQPPT8L83aTngBbpBKzNVOrs9yL7CrgtZ/Q Vrxt5bAHIHXIBYgC9gPjMxVG8nFaKMxhT8V+GysXuRf+4aa2CUrS5/xUPqE6y8rpYVr6 fBJnGjDlBdtOoxvXuP69M+XCRo9qinJfbxs3z2WEIkU5oLBQdo4eHKoLt2sbIBD87ll/ UiNQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=uz0WIMhOQ7hO9pWBcmY0jKEwiendErgXnF99Xs48Bj8=; fh=b5StHG27nJ2L2RHZnQ1RMVU4bJhRhb9kxvUzHOqfdQ4=; b=Q3KxPt4CnOVxiAqZJyKJSEXgGmkI23YPgAwCU+ITE3sJLAqt0cpkNSjn1xYPEEcEWn HBjnV/4nAovFDTZCFC6+WL1a4c2qQhqgfH10nN+RuqFkIGqa6LaKaeMX70pq18WYM7cQ iNJ2pwQ/n4sNQh83bttyg2jkOwRajY2pOlHjWEu50aG9hMhcDSxx+PQleW7v6G5ZUaw4 CPdS8iBOW2EszcqjX4DSh1qd0VDGeaIB0gt6qn/tBUB/XE6IOTcVLXAL4Yu2b3kXANoY R3Ivb9z1VnW+WsGdJBacoiT9HSQyDsADc+MIWax7CYAzIZXaHSSLsuk3UV+2fU08vGCN Qy3g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=M67WO3MO; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-135478-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-135478-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. [147.75.199.223]) by mx.google.com with ESMTPS id z11-20020a05622a060b00b004346733dcb0si6920709qta.739.2024.04.08.07.01.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Apr 2024 07:01:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-135478-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=M67WO3MO; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-135478-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-135478-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 65C701C22561 for ; Mon, 8 Apr 2024 14:01:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E11EF7FBDF; Mon, 8 Apr 2024 14:01:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="M67WO3MO" 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 0DB667F47E; Mon, 8 Apr 2024 14:00:59 +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=1712584860; cv=none; b=HH6glVVfF0dTCSfTwjEVvuw0O2Xy5qGMTrfl0HVauhTVeH3H+0dIMJYlaMwtqlby+kA4nY0Z/yJy8+zihICR2OntpuJjomLmE30VDa/vRIcdtPc5POYvwtInHUqHXpC6xO3punFUq1rD7UPwnZAqrALVkVneeWN1KOcQLmA7R3k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712584860; c=relaxed/simple; bh=LRkUGtbdysI7/tiFWsFk0skJui/QKklnMkcGgNPr+6s=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=a9X+5MIZ/vvDOTZIm12zn1Mn8ReQuioOztoUpYRL/BccLxn5UtfjmyrzLVvQOWWCsTFFHd8x8gEhcegaEuBDeXGJvne/KRyHwtOObo6U1/AxJFGtZruV7DAOf2dqma3+z9ISub/NrMKLcG3p0+/NhyhXSOygMPX3BIQXxrfSceo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=M67WO3MO; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 60730C433B2; Mon, 8 Apr 2024 14:00:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712584859; bh=LRkUGtbdysI7/tiFWsFk0skJui/QKklnMkcGgNPr+6s=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=M67WO3MO0MT2zVXUR1oJb50r0ESEjtLzRA4KqexN2iQUrs4lX9EEjjnwoQ7T3iuo9 967pWN9c0uup1rjOl3TRrWLV1XxCDsgMtSIQoJmqgjOM1e4ni91pUN1SAAiLjTgb6h 7wbrxE2MWafJ7nJ9AwsXSG2hXE2FqmB4ptdM+o7eExNvxndFJ9k3v9kz48y2IK0vpk ucl5sZsBQT/03NK3C6EDV2OfsSeoCTM+S6QhJ85J/7tAAEBEGARNw/ksf2m4STgAXL ZVnuEB5CpYwLdFDPG1UcoV/KpKeMQKC/HjhGBKZYYbqzT24R2BNL6T85ZMrtktJZ2j N2fgUWgIlu68Q== Date: Mon, 8 Apr 2024 17:00:55 +0300 From: Leon Romanovsky To: Konstantin Taranov Cc: Konstantin Taranov , "sharmaajay@microsoft.com" , Long Li , "jgg@ziepe.ca" , "linux-rdma@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH rdma-next v4 0/4] Define and use mana queues for CQs and WQs Message-ID: <20240408140055.GH8764@unreal> References: <1712567646-5247-1-git-send-email-kotaranov@linux.microsoft.com> <20240408112533.GF8764@unreal> <20240408130024.GG8764@unreal> 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=us-ascii Content-Disposition: inline In-Reply-To: On Mon, Apr 08, 2024 at 01:47:45PM +0000, Konstantin Taranov wrote: > > From: Leon Romanovsky > > On Mon, Apr 08, 2024 at 12:50:12PM +0000, Konstantin Taranov wrote: > > > > From: Leon Romanovsky On Mon, Apr 08, 2024 at > > > > 02:14:02AM -0700, Konstantin Taranov wrote: > > > > > From: Konstantin Taranov > > > > > > > > > > This patch series aims to reduce code duplication by introducing a > > > > > notion of mana ib queues and corresponding helpers to create and > > > > > destroy them. > > > > > > > > > > v3->v4: > > > > > * Removed debug prints in patches, as asked by Leon > > > > > > > > > > v2->v3: > > > > > * [in 4/4] Do not define an additional struct for a raw qp > > > > > > > > > > v1->v2: > > > > > * [in 1/4] Added a comment about the ignored return value > > > > > * [in 2/4] Replaced RDMA:mana_ib to RDMA/mana_ib in the subject > > > > > * [in 4/4] Renamed mana_ib_raw_qp to mana_ib_raw_sq > > > > > > > > > > Konstantin Taranov (4): > > > > > RDMA/mana_ib: Introduce helpers to create and destroy mana queues > > > > > RDMA/mana_ib: Use struct mana_ib_queue for CQs > > > > > RDMA/mana_ib: Use struct mana_ib_queue for WQs > > > > > RDMA/mana_ib: Use struct mana_ib_queue for RAW QPs > > > > > > > > > > drivers/infiniband/hw/mana/cq.c | 52 +++------------- > > > > > drivers/infiniband/hw/mana/main.c | 39 ++++++++++++ > > > > > drivers/infiniband/hw/mana/mana_ib.h | 26 ++++---- > > > > > drivers/infiniband/hw/mana/qp.c | 93 +++++++++------------------- > > > > > drivers/infiniband/hw/mana/wq.c | 33 ++-------- > > > > > 5 files changed, 96 insertions(+), 147 deletions(-) > > > > > > > > It doesn't apply. > > > > > > > > > > I guess there was some mis-synchronisation between us. > > > I see that you have already applied the patch 6 days ago: > > > https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgit. > > > > > kernel.org%2Fpub%2Fscm%2Flinux%2Fkernel%2Fgit%2Frdma%2Frdma.git%2 > > Flog% > > > > > 2F&data=05%7C02%7Ckotaranov%40microsoft.com%7C09ea6de381194295c > > 4ae08dc > > > > > 57cbe121%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C63848178 > > 04102717 > > > > > 33%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMz > > IiLCJBTiI > > > > > 6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=jwGGhmatHqdN4bW > > Xc%2FtyXtubD > > > ZxxCXpnyL26S5lEKd0%3D&reserved=0 > > > > > > I am sorry for sending a newer version after the patch has been applied. > > > I have not checked this before sending. > > > I can take care of useless debug prints in a future cleanup patch. > > > > Please rebase your series, and resend. > > Sorry for a confusion. I mean you have already applied this patch series (v3) 6 days ago. > See commits: > 46f5be7cd4bceb3a503c544b3dab7b75fe4bb96b > 60a7ac0b8bec5df9764b7460ffee91fc981e8a31 > 688bac28e3dc9eb795ae8ea5aa40cb637e289faa > f10242b3da908dc9d4bfa040e6511a5b86522499 > > As a result, I cannot rebase. I could send a completely new patch that removes some debug prints. Yes, sorry for not being clear. Please send a cleanup patch. Thanks