qcacmn: Add global context

Global context will contain fst context, fst ref count
and global desc count.

Change-Id: I272fa2c3b8945822268d29b6c329df3f659753d4
CRs-Fixed: 3392039
This commit is contained in:
Varsha Mishra
2023-02-10 17:40:00 +05:30
committed by Madan Koyyalamudi
parent 5cf8f4a9a4
commit d6afad86bc
13 changed files with 123 additions and 159 deletions

View File

@@ -7737,12 +7737,12 @@ void dp_print_tx_ppeds_stats(struct dp_soc *soc)
}
#endif
#ifdef QCA_SUPPORT_GLOBAL_DESC
#ifdef QCA_SUPPORT_DP_GLOBAL_CTX
void dp_print_global_desc_count(void)
{
struct dp_global_desc_context *dp_global;
struct dp_global_context *dp_global;
dp_global = wlan_objmgr_get_desc_ctx();
dp_global = wlan_objmgr_get_global_ctx();
DP_PRINT_STATS("Global Tx Descriptors in use = %u",
dp_tx_get_global_desc_in_use(dp_global));