msm: ipa: macro to determine consolidated stats structure

Macro for detecting consolidated stats structure mismatch
between ipa_lnx_agent and IPA stats module.

Change-Id: I5322d432710a798305b6943a0e4b379880eabab9
Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>
This commit is contained in:
Michael Adisumarta 2021-10-07 17:22:19 -07:00 • committed by Gerrit - the friendly Code Review server
commit 1a01232af2

View file

@ -300,6 +300,8 @@
/* IPA Linux mhip instance stats structures */
#define IPA_LNX_MHIP_INSTANCE_INFO_STRUCT_LEN (16 + 112 + 120)
#define IPA_LNX_MHIP_INST_STATS_STRUCT_LEN (8 + 248)
/* IPA Linux consolidated stats structure */
#define IPA_LNX_CONSOLIDATED_STATS_STRUCT_LEN (8 + 48)
/* IPA Linux Instance allocation info structures */
#define IPA_LNX_EACH_INST_ALLOC_INFO_STRUCT_LEN (24 + 12 + 12 + 16)
#define IPA_LNX_STATS_ALL_INFO_STRUCT_LEN (32 + 128 + 128 + 128)