qcacmn: Add WBUFF statistics

Currently, there are no statistics whatsoever present in WBUFF module.
To start with, add some basic statistics to the WBUFF module.

Change-Id: I63c06cfb8b1430b2e86539f88025e6d74a00012b
CRs-Fixed: 3548509
Cette révision appartient à :
Manikanta Pubbisetty
2023-07-03 18:30:58 +05:30
révisé par Rahul Choudhary
Parent 799450bbce
révision e2b9779df7
4 fichiers modifiés avec 164 ajouts et 0 suppressions

Voir le fichier

@@ -5232,6 +5232,18 @@ static inline qdf_size_t qdf_nbuf_get_truesize(qdf_nbuf_t nbuf)
return __qdf_nbuf_get_truesize(nbuf);
}
/**
* qdf_nbuf_get_allocsize() - Return the actual size of the skb->head
* excluding the header and variable data area
* @nbuf: qdf_nbuf_t
*
* Return: actual allocated size of network buffer
*/
static inline qdf_size_t qdf_nbuf_get_allocsize(qdf_nbuf_t nbuf)
{
return __qdf_nbuf_get_allocsize(nbuf);
}
#ifdef NBUF_FRAG_MEMORY_DEBUG
#define qdf_nbuf_move_frag_page_offset(f, i, o) \