qcacmn: Fix REO2IPA reo destination routing
Observed that when IPA offload is enabled, RX packets are not routed correctly to IPA ring. Currently only IX0 of REO_DESTINATION_CTRL_IX registers are remapped, which only covers 3-bit reo_destination_indication of range 0 to 7. Fix is to remap REO_DESTINATION_CTRL_IX2|3 registers so that reo_destination_indication of range 16 to 31 can also be routed REO2IPA ring when IPA offload is enabled. Upon IPA offload is disabled, save values of IX2 and IX3 are reset back to HW. Change-Id: I3428b450ab10076d27c7628a3729e8cec088bd94 CRs-Fixed: 2434331
This commit is contained in:
@@ -108,6 +108,9 @@ int dp_ipa_ring_resource_setup(struct dp_soc *soc,
|
||||
QDF_STATUS dp_ipa_handle_rx_buf_smmu_mapping(struct dp_soc *soc,
|
||||
qdf_nbuf_t nbuf,
|
||||
bool create);
|
||||
|
||||
bool dp_reo_remap_config(struct dp_soc *soc, uint32_t *remap1,
|
||||
uint32_t *remap2);
|
||||
#else
|
||||
static inline int dp_ipa_uc_detach(struct dp_soc *soc, struct dp_pdev *pdev)
|
||||
{
|
||||
|
Reference in New Issue
Block a user