qcacmn: Reuse the tx descriptors in direct switch

Reuse the tx descriptors released in tx completions
without releasing the associated skbs to reduce
the cpu utilization in direct switch mode.

Change-Id: I4ab3ac58977a626344877b8a818a4dbc4864aaf3
CRs-Fixed: 3393968
Šī revīzija ir iekļauta:
Pavankumar Nandeshwar
2023-01-18 02:01:00 -08:00
revīziju iesūtīja Madan Koyyalamudi
vecāks 87f6016da2
revīzija 0a7d729a98
8 mainīti faili ar 78 papildinājumiem un 12 dzēšanām

Parādīt failu

@@ -2668,6 +2668,8 @@ wlan_soc_ppe_cfg_attach(struct cdp_ctrl_objmgr_psoc *psoc,
wlan_cfg_ctx->reo2ppe_ring = cfg_get(psoc, CFG_DP_REO2PPE_RING);
wlan_cfg_ctx->ppe2tcl_ring = cfg_get(psoc, CFG_DP_PPE2TCL_RING);
wlan_cfg_ctx->ppeds_num_tx_desc = cfg_get(psoc, CFG_DP_PPEDS_TX_DESC);
wlan_cfg_ctx->ppeds_tx_desc_hotlist_len =
cfg_get(psoc, CFG_DP_PPEDS_TX_DESC_HOTLIST_LEN);
wlan_cfg_ctx->ppeds_tx_comp_napi_budget =
cfg_get(psoc, CFG_DP_PPEDS_TX_CMP_NAPI_BUDGET);
}
@@ -4230,6 +4232,12 @@ wlan_cfg_get_dp_soc_ppeds_tx_comp_napi_budget(struct wlan_cfg_dp_soc_ctxt *cfg)
{
return cfg->ppeds_tx_comp_napi_budget;
}
int
wlan_cfg_get_dp_soc_ppeds_tx_desc_hotlist_len(struct wlan_cfg_dp_soc_ctxt *cfg)
{
return cfg->ppeds_tx_desc_hotlist_len;
}
#endif
void