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:
@@ -2558,9 +2558,7 @@ static void dp_soc_reset_intr_mask(struct dp_soc *soc)
|
||||
* @remap2: output parameter indicates reo remap 2 register value
|
||||
* Return: bool type, true if remap is configured else false.
|
||||
*/
|
||||
static bool dp_reo_remap_config(struct dp_soc *soc,
|
||||
uint32_t *remap1,
|
||||
uint32_t *remap2)
|
||||
bool dp_reo_remap_config(struct dp_soc *soc, uint32_t *remap1, uint32_t *remap2)
|
||||
{
|
||||
*remap1 = ((0x1 << 0) | (0x2 << 3) | (0x3 << 6) | (0x1 << 9) |
|
||||
(0x2 << 12) | (0x3 << 15) | (0x1 << 18) | (0x2 << 21)) << 8;
|
||||
|
Reference in New Issue
Block a user