qcacmn: Add handler for near-full irqs for consumer rings

Add the handlers to process the near-full irqs for
the rx, tx_completion, wbm_error and reo_status rings.

Change-Id: Ia5a2abb6d66a96e8dcb5c651d24769382db0d666
CRs-Fixed: 2965081
This commit is contained in:
Rakesh Pillai
2021-03-25 07:56:21 -07:00
committed by Madan Koyyalamudi
parent 47af4d320f
commit 20dddcb585
7 changed files with 180 additions and 2 deletions

View File

@@ -2433,7 +2433,15 @@ budget_done:
*/
static uint32_t dp_service_near_full_srngs(void *dp_ctx, uint32_t dp_budget)
{
return 0;
struct dp_intr *int_ctx = (struct dp_intr *)dp_ctx;
struct dp_soc *soc = int_ctx->soc;
/*
* dp_service_near_full_srngs arch ops should be initialized always
* if the NEAR FULL IRQ feature is enabled.
*/
return soc->arch_ops.dp_service_near_full_srngs(soc, int_ctx,
dp_budget);
}
#endif