Search Linux Wireless

Re: [PATCH V3 8/9] ath11k: optimise ath11k_dp_tx_completion_handler

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

 



John Crispin <john@xxxxxxxxxxx> wrote:

> the current code does 4 memcpys for each completion frame.
> 1) duplicate the desc
> 2 + 3) inside kfifo insertion
> 4) kfifo remove
> 
> The code simply drops the kfifo and uses a trivial ring buffer. This
> requires a single memcpy for insertion. There is no removal needed as
> we can simply use the inserted data for processing. As the code runs
> inside the NAPI context it is atomic and there is no need for most of
> the locking.
> 
> Signed-off-by: John Crispin <john@xxxxxxxxxxx>
> Signed-off-by: Kalle Valo <kvalo@xxxxxxxxxxxxxx>

This had a new warning, fixed in the pending branch:

drivers/net/wireless/ath/ath11k/dp_tx.c:441: line over 90 characters

-- 
https://patchwork.kernel.org/patch/11290755/

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



[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