Search Linux Wireless

RE: [PATCH] ath11k: Add provision to configure rx hashmap

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> -----Original Message-----
> From: kvalo=codeaurora.org@xxxxxxxxxxxxxxxxx
> <kvalo=codeaurora.org@xxxxxxxxxxxxxxxxx> On Behalf Of Kalle Valo
> Sent: Friday, November 12, 2021 3:22 PM
> To: Praneesh P (QUIC) <quic_ppranees@xxxxxxxxxxx>
> Cc: ath11k@xxxxxxxxxxxxxxxxxxx; linux-wireless@xxxxxxxxxxxxxxx; Praneesh P
> (QUIC) <quic_ppranees@xxxxxxxxxxx>; Sriram R (QUIC)
> <quic_srirrama@xxxxxxxxxxx>
> Subject: Re: [PATCH] ath11k: Add provision to configure rx hashmap
> 
> P Praneesh <quic_ppranees@xxxxxxxxxxx> 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@xxxxxxxxxxx>
> > Signed-off-by: Sriram R <quic_srirrama@xxxxxxxxxxx>
> > Signed-off-by: P Praneesh <quic_ppranees@xxxxxxxxxxx>
> 
> debugfs is for debugging and testing. To me it looks like this feature is for
> configuring the driver, not debugging.
> 
[ppranees]  This debugfs only used for RX path debugging purpose during performance test, By default we intent to use default hash map.
> --
> https://patchwork.kernel.org/project/linux-wireless/patch/1635164316-27055-
> 1-git-send-email-quic_ppranees@xxxxxxxxxxx/
> 
> https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatch
> es





[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux