ATH11K Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Kalle Valo <kvalo@codeaurora.org>
To: P Praneesh <quic_ppranees@quicinc.com>
Cc: <ath11k@lists.infradead.org>, <linux-wireless@vger.kernel.org>,
	P Praneesh <quic_ppranees@quicinc.com>,
	Sriram R <quic_srirrama@quicinc.com>
Subject: Re: [PATCH] ath11k: Add provision to configure rx hashmap
Date: Fri, 12 Nov 2021 09:51:42 +0000 (UTC)	[thread overview]
Message-ID: <163671069706.11814.3105845576240199326.kvalo@codeaurora.org> (raw)
In-Reply-To: <1635164316-27055-1-git-send-email-quic_ppranees@quicinc.com>

P Praneesh <quic_ppranees@quicinc.com> wrote:

> Currently the hashmap is set to default during REO setup and all REO
> rings are equally distributed across 32 hash values.
> 
> In multiple radio cases, 40MHz+80MHz+160MHz, distributing received
> packets across all the CPU will cause CPU overhead. In this case,
> during runtime we can span 40MHz and 80MHz among 2 cores and remaining
> 2 cores are equally distributed for 160MHz by using register mapping.
> 
> Add provision to configure the hashmap during runtime through debugfs
> for improving flexibility to control the destination HW rx queues/rings,
> so that affinity could be used to assign those interrupts to specific
> rings. Setting 0 will disable hash based steering.
> 
> echo "hashmap" > /sys/kernel/debug/ath11k/ipq8074\ hw2.0/rx_hash
> 
> Developers who are aware of hardware register mapping can leverage
> this rx_hash debugfs.
> 
> Tested-on: QCN9074 hw1.0 PCI WLAN.HK.2.4.0.1.r2-00012-QCAHKSWPL_SILICONZ-1
> Tested-on: IPQ8074 hw2.0 AHB WLAN.HK.2.4.0.1-01695-QCAHKSWPL_SILICONZ-1
> 
> Co-developed-by: Sriram R <quic_srirrama@quicinc.com>
> Signed-off-by: Sriram R <quic_srirrama@quicinc.com>
> Signed-off-by: P Praneesh <quic_ppranees@quicinc.com>

debugfs is for debugging and testing. To me it looks like this feature is for
configuring the driver, not debugging.

-- 
https://patchwork.kernel.org/project/linux-wireless/patch/1635164316-27055-1-git-send-email-quic_ppranees@quicinc.com/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches


-- 
ath11k mailing list
ath11k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath11k

  reply	other threads:[~2021-11-12  9:52 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-25 12:18 [PATCH] ath11k: Add provision to configure rx hashmap P Praneesh
2021-11-12  9:51 ` Kalle Valo [this message]
2021-12-01  4:52   ` Praneesh P (QUIC)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=163671069706.11814.3105845576240199326.kvalo@codeaurora.org \
    --to=kvalo@codeaurora.org \
    --cc=ath11k@lists.infradead.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=quic_ppranees@quicinc.com \
    --cc=quic_srirrama@quicinc.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox