[PATCH] ath10k: optimize ce_lock on post rx buffer processing

Kalle Valo kvalo at qca.qualcomm.com
Fri Oct 9 01:36:23 PDT 2015

Rajkumar Manoharan <rmanohar at qti.qualcomm.com> writes:

> After processing received packets from copy engine, host will allocate
> new buffer and queue them back to copy engine ring for further
> packet reception. On post rx processing path, skb allocation and
> dma mapping are unnecessarily handled within ce_lock. This is affecting
> peak throughput and also causing more CPU consumption. Optimize this
> by acquiring ce_lock only when accessing copy engine ring and moving
> skb allocation out of ce_lock.
> In AP148 platform with QCA99x0 in conducted environment, UDP uplink peak
> throughput is improved from ~1320 Mbps to ~1450 Mbps and TCP uplink peak
> throughput is increased from ~1240 Mbps (70% host CPU load) to ~1300 Mbps
> (71% CPU load). Similarly ~40Mbps improvement is observed in downlink
> path.
> Signed-off-by: Rajkumar Manoharan <rmanohar at qti.qualcomm.com>

Applied, thanks.

Kalle Valo

More information about the ath10k mailing list