diff options
author | Sriram R <srirrama@codeaurora.org> | 2020-03-17 17:07:02 +0530 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2020-03-18 13:53:37 +0200 |
commit | 26c79927f12356ef26a6c3c061e2d40e943f254a (patch) | |
tree | e27e5bd7da68c8f8e1ce615ef05f4c361bbea0f0 /drivers/net/wireless/ath/ath11k/dp.h | |
parent | fe0ebb51604f190b13b20a5f6c2821772c0cfc22 (diff) | |
download | lwn-26c79927f12356ef26a6c3c061e2d40e943f254a.tar.gz lwn-26c79927f12356ef26a6c3c061e2d40e943f254a.zip |
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>
Diffstat (limited to 'drivers/net/wireless/ath/ath11k/dp.h')
-rw-r--r-- | drivers/net/wireless/ath/ath11k/dp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath11k/dp.h b/drivers/net/wireless/ath/ath11k/dp.h index f504077086da..3edfe92279f8 100644 --- a/drivers/net/wireless/ath/ath11k/dp.h +++ b/drivers/net/wireless/ath/ath11k/dp.h @@ -160,7 +160,7 @@ struct ath11k_pdev_dp { #define DP_AVG_MPDUS_PER_TID_MAX 128 #define DP_AVG_MSDUS_PER_MPDU 4 -#define DP_RX_HASH_ENABLE 0 /* Disable hash based Rx steering */ +#define DP_RX_HASH_ENABLE 1 /* Enable hash based Rx steering */ #define DP_BA_WIN_SZ_MAX 256 |