Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp386833lqp; Thu, 21 Mar 2024 04:38:58 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUN6bH31lSt0zynncvjnzQ2he/R/NDoI6+Bd7lbFKJqoJ2vSgATLPiIkh3aklNFQgjbOHaR9uYkjbjw3kY652ZPgzow9P2mgZ3uG4/HqQ== X-Google-Smtp-Source: AGHT+IGzxpHJ8wQzOWmwAPl1nY9KtlDQNNwRYHoH4DdRan1fAJ7m4HxBjA7zN+CrFIy9CHnQR34u X-Received: by 2002:a05:6a20:1592:b0:1a3:5299:1648 with SMTP id h18-20020a056a20159200b001a352991648mr1951646pzj.16.1711021138530; Thu, 21 Mar 2024 04:38:58 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711021138; cv=pass; d=google.com; s=arc-20160816; b=n/nZwg3V1wBwLtx4dzf2MrNd1SC4ClWYZRnDKk4P65GPGw+fAxp4XJo77G52NFZAgA y18LkWGAQSiskQdim9DgBnLiEM846ky+Z4dPcImK8dgV3lqbTZqcs8u4Qm3gU9BiUPki 7LGh+nOdMrfnk/eS0hyzpxyDpGiAgTqDIAuK+7SPxF8xNIKXaB+h9WfJUPk67EQF3lo6 LgkRUAxuKZZWez9Z2oXgPowAICokuHmdnr8mF+XujTxn4FpQuSHrzbkD5WDoouHs6LZA zi2vSmuLBDqB8h0C5163fm7eJXVl+8yKDEuktYJGlmX3a8vE5MGmOncBR59Op4YRaXii +Gpg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=date:message-id:user-agent:cc:to:references:in-reply-to:from :subject:content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:dkim-signature; bh=fhHpAolhIBE80s2jVhF0wqFNcNsn4CA4yN7iLT7v01o=; fh=029kuYAq1hc6mF1SMOQ2x0i7+BRmAYgL/pzlnEU+puQ=; b=G30xj5CyGQ0Wzawf0nmwT3XITv++PJPUEHayG4f3QZgBSuD0w4QiGfPi4wLXGR4w5p sL77lSXGvt+LY2mtn5CIgFxhNaw+HQ6S0ENBV5Eor/QeHTVsqc0N9NFKyZSybT6mTfRO NFrpFMAYmMT65I2kwE3pedtzqTBlCbIoVl54JXwk5eELNOjf+COsJoOKaaPoR8sHRkiT 4WI0Dwz3QbjvidS+DkbejbJUiVsRhao0ypx+liOYDs9zGkuRuawg8qmozOzuNfwytuv9 v4Dn76Jef9XGahFRznnUB4LuAG4qYMdGfRS832z0YWmFXBglPd3iYfSO0I1Oe4rkfIwz CXOA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Lh23NK4t; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-wireless+bounces-5087-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-5087-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id j27-20020a63231b000000b005dc4d8c8fb3si14356517pgj.364.2024.03.21.04.38.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Mar 2024 04:38:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-5087-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Lh23NK4t; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-wireless+bounces-5087-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-5087-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 1B6422855A4 for ; Thu, 21 Mar 2024 11:38:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CC16A58AC0; Thu, 21 Mar 2024 11:38:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Lh23NK4t" X-Original-To: linux-wireless@vger.kernel.org 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 A7DB258AB2 for ; Thu, 21 Mar 2024 11:38:54 +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=1711021134; cv=none; b=N5SUti8+/UUcw/Buah/wg6iGXEOWf5redBVr69HFpJfJiTvNdMIf906cR2AwG/JRsPcpdIK//gAWpKdjCjhjT9iUuKCTo1Ou2NOaJSXVdOnyG0tfr4nfypzMT3Ld1Rtng4KTfrOHjrXyQLkgQjOaXWOWYG03gZg8I1b2VMkzxs0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711021134; c=relaxed/simple; bh=aRyTFXe+p0aY8rJ9JaIV4kItqy1DDFHTHabtKqnrZHE=; h=Content-Type:MIME-Version:Subject:From:In-Reply-To:References:To: Cc:Message-ID:Date; b=VggYN+/FiuDt2L/DaDNK50IO9jDf8TYRDSxaHZJUofdOpG6DLk0mFzRLWG/h4mC3nVApy70hvNnnUcsqkqD/x5X8QYNoTrXHuqizbQeUa9FFN8qho6kfXvLcv1V+e2pD4+Grm1dexEpgltlrmN2BkPZtaTWqvZMyautCRpNLJe8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Lh23NK4t; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5C264C433C7; Thu, 21 Mar 2024 11:38:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711021134; bh=aRyTFXe+p0aY8rJ9JaIV4kItqy1DDFHTHabtKqnrZHE=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=Lh23NK4tBKLy09EOg/2wLQWElS0kcszOVBb50d8DieLwkyy+iH/lqkllpJtY+uXJA hLXsPfQSEToaSleOXpMbD1wyvovRLX0/u5bztrxAPPwyuyemG8oCG21x7dwlvuEpTf FBJNuIhuIMtTpE28fbnyYLtFrZqLfNx7cWP79Uo/+tD7GzH53rt1BWDlhfclkikoJZ IWQkU4wsdSlKz3lTTsIzb4CydUmFVpJP6+5oZn4seUczxujauAKg0x8lsWmJ27Ea9l AMo9ci7ZF0wssCBE29+CEQymvASGDFGxgwmlvuHbfDHOLk0GD0tgQ48bCNxzbgOFz0 he/iR5dc46QaQ== Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PATCH v2 1/3] wifi: ath12k: Refactor Rxdma buffer replinish argument From: Kalle Valo In-Reply-To: <20240320010615.91331-2-quic_periyasa@quicinc.com> References: <20240320010615.91331-2-quic_periyasa@quicinc.com> To: Karthikeyan Periyasamy Cc: , , Karthikeyan Periyasamy User-Agent: pwcli/0.1.1-git (https://github.com/kvalo/pwcli/) Python/3.11.2 Message-ID: <171102113130.4024062.15409932330092211067.kvalo@kernel.org> Date: Thu, 21 Mar 2024 11:38:53 +0000 (UTC) Karthikeyan Periyasamy wrote: > Currently, the Rxdma buffer replenish procedure implicitly retrieves the > number of free entries when the caller passes req_entries as zero. This is > helpful to replenishing the Rxdma ring when the caller is unaware of the > number of entries to replenish. After the Rxdma ring is initialized, we > can pass req_entries as zero to replenish all the free entry in the Rxdma > ring. This change helps to align the argument req_entries to the used list > entries for better code readability. > > Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.0.1-00029-QCAHKSWPL_SILICONZ-1 > > Signed-off-by: Karthikeyan Periyasamy > Signed-off-by: Kalle Valo 3 patches applied to ath-next branch of ath.git, thanks. 9d7bce18e725 wifi: ath12k: Refactor Rxdma buffer replinish argument 597b4dd63afa wifi: ath12k: Optimize the lock contention of used list in Rx data path f42bfbe7a507 wifi: ath12k: Refactor error handler of Rxdma replenish -- https://patchwork.kernel.org/project/linux-wireless/patch/20240320010615.91331-2-quic_periyasa@quicinc.com/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches