[PATCH] ath11k: Add peer rhash table support

Felix Fietkau nbd at nbd.name
Thu Dec 23 00:58:44 PST 2021


On 2021-12-23 09:27, Karthikeyan Periyasamy wrote:
> When more clients (128) are connected, the UL data traffic
> KPI measurement is low compared to single client. This issue
> is due to more CPU cycles spent on the peer lookup operation
> with more clients. So reduce the peer lookup operation by
> modifying the linear based lookup operation into the rhash
> based lookup operation. This improve the peak throughput
> measurement. Since this is a software algorithm change, it is
> applicable for all the platforms.
> 
> TCP UL 128 Clients test case Observation (64bit system):
> Previous: ~550 Mbps
> Now	: ~860 Mbps
> 
> Tested-on: QCN9074 hw1.0 PCI WLAN.HK.2.5.0.1-01067-QCAHKSWPL_SILICONZ-1
> 
> Signed-off-by: Karthikeyan Periyasamy <quic_periyasa at quicinc.com>
Why does ath11k keep a separate peer list instead of just using the sta 
entry? That seems ugly and inefficient...

- Felix



More information about the ath11k mailing list