ath11k: Configure hash based reo destination ring selection
authorSriram R <srirrama@codeaurora.org>
Tue, 17 Mar 2020 11:37:02 +0000 (17:07 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 18 Mar 2020 11:53:37 +0000 (13:53 +0200)
commit26c79927f12356ef26a6c3c061e2d40e943f254a
treee27e5bd7da68c8f8e1ce615ef05f4c361bbea0f0
parentfe0ebb51604f190b13b20a5f6c2821772c0cfc22
ath11k: Configure hash based reo destination ring selection

Current implementation of pdev based reo destination ring
selection is replaced by hash based ring selection so as to
ensure all the available rings are utilized for better performance.

The 4 reo destination rings are selected by the HW based on the
hash value computed from the received packet based on the 5 tuple
{ip src/ip dst/src port/dst port/protocol}. Out of the 32 hash values
used by the hw, the driver assigns 8 values per reo destination ring
to each of the 4 reo destination rings.

Signed-off-by: Sriram R <srirrama@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath11k/dp.c
drivers/net/wireless/ath/ath11k/dp.h
drivers/net/wireless/ath/ath11k/hal.h
drivers/net/wireless/ath/ath11k/hal_rx.c
drivers/net/wireless/ath/ath11k/mac.c
drivers/net/wireless/ath/ath11k/wmi.c
drivers/net/wireless/ath/ath11k/wmi.h