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:

committed by
Madan Koyyalamudi

parent
5cf8f4a9a4
commit
d6afad86bc
@@ -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));
|
||||
|
Reference in New Issue
Block a user