qcacmn: Use same reo hash key for all SOCs in MLO

In case Multi chip MLO configure same hash key for
all SOCs in MLO. This change is needed to avoid
same flow traffic distributed to multiple REOs.

Change-Id: Ib6cde4ae32e58ef2d45c02d640c133458f5bfac5
CRs-Fixed: 3201978
This commit is contained in:
Chaithanya Garrepalli
2022-05-20 16:02:08 +05:30
committed by Madan Koyyalamudi
parent 304559ad0c
commit 8889b96325
7 changed files with 68 additions and 6 deletions

View File

@@ -4759,12 +4759,7 @@ static QDF_STATUS dp_lro_hash_setup(struct dp_soc *soc, struct dp_pdev *pdev)
QDF_TCPHDR_ECE | QDF_TCPHDR_CWR;
}
qdf_get_random_bytes(lro_hash.toeplitz_hash_ipv4,
(sizeof(lro_hash.toeplitz_hash_ipv4[0]) *
LRO_IPV4_SEED_ARR_SZ));
qdf_get_random_bytes(lro_hash.toeplitz_hash_ipv6,
(sizeof(lro_hash.toeplitz_hash_ipv6[0]) *
LRO_IPV6_SEED_ARR_SZ));
soc->arch_ops.get_rx_hash_key(soc, &lro_hash);
qdf_assert(soc->cdp_soc.ol_ops->lro_hash_config);