examples/ipsec-secgw: add per-core packet statistics
authorAnoob Joseph <anoobj@marvell.com>
Wed, 13 May 2020 17:45:19 +0000 (23:15 +0530)
committerAkhil Goyal <akhil.goyal@nxp.com>
Tue, 7 Jul 2020 22:15:35 +0000 (00:15 +0200)
commit1329602b6c8f20949ebaefb7aa55f7dca6d1b4f4
treed5e67beedba062422ad6fd6d07f94d985103a7a6
parentd2fd16c8b0032c70fcbeea7c25e900d64d4826b6
examples/ipsec-secgw: add per-core packet statistics

Adding per core packet handling stats to analyze traffic distribution
when multiple cores are engaged.

Since aggregating the packet stats across cores would affect
performance, keeping the feature disabled using compile time flags.

Signed-off-by: Anoob Joseph <anoobj@marvell.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
examples/ipsec-secgw/ipsec-secgw.c
examples/ipsec-secgw/ipsec-secgw.h
examples/ipsec-secgw/ipsec.c
examples/ipsec-secgw/ipsec_process.c