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
这个提交包含在:
Manikanta Pubbisetty
2023-07-03 18:30:58 +05:30
提交者 Rahul Choudhary
父节点 799450bbce
当前提交 e2b9779df7
修改 4 个文件,包含 164 行新增0 行删除

查看文件

@@ -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) \