[PATCH v3 1/4] wifi: ath12k: avoid redundant code in Rx cookie conversion init

Kalle Valo kvalo at kernel.org
Mon Apr 22 05:06:49 PDT 2024


Karthikeyan Periyasamy <quic_periyasa at quicinc.com> wrote:

> Currently, in the Rx data path cookie conversion initialization procedure,
> the primary page table index (ppt_idx) is computed within the secondary
> page table iteration. However this is invariant, and hence the ppt_idx
> should be calculated outside of the iteration to avoid repeated execution
> of the statement.
> 
> Found in code review.
> 
> Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.1.1-00188-QCAHKSWPL_SILICONZ-1
> Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.0.c5-00481-QCAHMTSWPL_V1.0_V2.0_SILICONZ-3
> 
> Signed-off-by: Karthikeyan Periyasamy <quic_periyasa at quicinc.com>
> Acked-by: Jeff Johnson <quic_jjohnson at quicinc.com>
> Signed-off-by: Kalle Valo <quic_kvalo at quicinc.com>

4 patches applied to ath-next branch of ath.git, thanks.

3ea19127d154 wifi: ath12k: avoid redundant code in Rx cookie conversion init
b3e9e82b31c0 wifi: ath12k: Refactor the hardware cookie conversion init
682ca418d40a wifi: ath12k: displace the Tx and Rx descriptor in cookie conversion table
d4e3fc4f45c6 wifi: ath12k: Refactor data path cmem init

-- 
https://patchwork.kernel.org/project/linux-wireless/patch/20240411102226.4045323-2-quic_periyasa@quicinc.com/

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




More information about the ath12k mailing list