Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp628820ybz; Wed, 15 Apr 2020 15:28:16 -0700 (PDT) X-Google-Smtp-Source: APiQypJsUelS08Y1i7Ny3YRlol/ZDwXDUJzPvySaU1ZiCvMWdCQI5wYFxcPBf/svdwoLsgToZU/C X-Received: by 2002:a17:907:361:: with SMTP id rs1mr7229650ejb.228.1586989696201; Wed, 15 Apr 2020 15:28:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586989696; cv=none; d=google.com; s=arc-20160816; b=c+qcOZh4M7yXATQEEaYXXZolT8Ab2Io6X+exG2ZGHDVHH84azdLXPO9marIeE9rOVu H74V4K4X04FwTtC5rRGEBRMZ95n7rJKmjemLOrWzO686vY73dgwAjnmHbA3655ToUxwz Wvffp45bH3/HlodYoNd1kcwIPh6pVUkr8dAuGVkegX1aGBdx8kwvoPgQn1HmA/jo02B4 XdMGIWxDwn7B9wsN61U2Ve5M+osTDe9BbNuYXwdXiH8vLZIxCYxeRNwNqXuJsqtmY249 tFqcmHE3DKexZI4HDsM6cObTr+VfbIywZd52bAEn4UGJnPuVKm3RYT9x6kNsvJ0fyaot OT+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:message-id:user-agent:cc:to :references:in-reply-to:from:subject:content-transfer-encoding :mime-version:dmarc-filter:dkim-signature; bh=vVMLaqkLICcto/eiMUDxkqMTXjEUOb5GRGusH5kiVf0=; b=xCC7JQ577NZvigRz/8uM7KB/ft4445wXx7C7unbc5Ndc6IZcwaTZsmJxVQB2aBKt3L 4/eqPk8ierMz9rF+rsZVkmMRzq5QF3A5UNVDqcQkGZSXW72gtfRhFPo7aUwrCZmxRmQo CLG4oLOTnjfc0qS37rMcIdBQElI9fUN890+jQHFNZWkI/1n+eBvJIjkMYkieChPJwa2n 9Uc/lsY0XOKZO2j7l0ygoukV420BPJkH36n1PFXpLY8tsc9BktFhNC/yyJWiX6ySL64T m/gM1ySaJ9Oa0gCOT+0G+G0wZxPYbhwp1IQg313NLeV+inUsMKQIfmgT+C5DMyMHNqZ/ Jv7g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b=j4GoOTnD; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m21si10503475ejd.5.2020.04.15.15.27.52; Wed, 15 Apr 2020 15:28:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b=j4GoOTnD; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2635595AbgDOIIG (ORCPT + 99 others); Wed, 15 Apr 2020 04:08:06 -0400 Received: from mail27.static.mailgun.info ([104.130.122.27]:19233 "EHLO mail27.static.mailgun.info" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2635584AbgDOIIA (ORCPT ); Wed, 15 Apr 2020 04:08:00 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1586938079; h=Date: Message-Id: Cc: To: References: In-Reply-To: From: Subject: Content-Transfer-Encoding: MIME-Version: Content-Type: Sender; bh=vVMLaqkLICcto/eiMUDxkqMTXjEUOb5GRGusH5kiVf0=; b=j4GoOTnDL96/M/MHtlgfb9DxRPrTvooz0Ijz9Q+8ERu7sVD6XO7fslOgxDs/HyGYJNIcRu6E XEOzGz5VciwemHvesoP5cKsf2dkcd99rFqByTH900s+Cmy/CJw3V+TtFWCLYPbRcnnHWkaIw rjZXWGNGkMX0CNW6wNPWoW7z/0k= X-Mailgun-Sending-Ip: 104.130.122.27 X-Mailgun-Sid: WyI3YTAwOSIsICJsaW51eC13aXJlbGVzc0B2Z2VyLmtlcm5lbC5vcmciLCAiYmU5ZTRhIl0= Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by mxa.mailgun.org with ESMTP id 5e96c0d9.7f210512c730-smtp-out-n04; Wed, 15 Apr 2020 08:07:53 -0000 (UTC) Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 02F66C43636; Wed, 15 Apr 2020 08:07:52 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=0.5 required=2.0 tests=ALL_TRUSTED,MISSING_DATE, MISSING_MID,SPF_NONE autolearn=no autolearn_force=no version=3.4.0 Received: from potku.adurom.net (88-114-240-156.elisa-laajakaista.fi [88.114.240.156]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: kvalo) by smtp.codeaurora.org (Postfix) with ESMTPSA id ABB52C433CB; Wed, 15 Apr 2020 08:07:51 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org ABB52C433CB Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=none smtp.mailfrom=kvalo@codeaurora.org Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PATCH] ath11k: Add dynamic tcl ring selection logic with retry mechanism From: Kalle Valo In-Reply-To: <1586782622-22570-1-git-send-email-srirrama@codeaurora.org> References: <1586782622-22570-1-git-send-email-srirrama@codeaurora.org> To: Sriram R Cc: ath11k@lists.infradead.org, linux-wireless@vger.kernel.org, Sriram R User-Agent: pwcli/0.0.0-git (https://github.com/kvalo/pwcli/) Python/2.7.12 Message-Id: <20200415080753.02F66C43636@smtp.codeaurora.org> Date: Wed, 15 Apr 2020 08:07:52 +0000 (UTC) Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Sriram R wrote: > IPQ8074 HW supports three TCL rings for tx. Currently these rings > are mapped based on the Access categories, viz. VO, VI, BE, BK. > In case, one of the traffic type dominates, then it could stress > the same tcl rings. Rather, it would be optimal to make use of all > the rings in a round robin fashion irrespective of the traffic type > so that the load could be evenly distributed among all the rings. > Also, in case the selected ring is busy or full, a retry mechanism > is used to ensure other available ring is selected without dropping > the packet. > > In SMP systems, this change avoids a single CPU from getting hogged > when heavy traffic of same category is transmitted. > The tx completion interrupts corresponding to the used tcl ring > would be more which causes the assigned CPU to get hogged. > Distribution of tx packets to different tcl rings helps balance > this load. > > Signed-off-by: Sriram R > Signed-off-by: Kalle Valo Patch applied to ath-next branch of ath.git, thanks. d687275b268b ath11k: Add dynamic tcl ring selection logic with retry mechanism -- https://patchwork.kernel.org/patch/11485549/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches