pipeline: add table statistics to SWX
authorCristian Dumitrescu <cristian.dumitrescu@intel.com>
Fri, 16 Apr 2021 23:46:41 +0000 (00:46 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 20 Apr 2021 00:27:56 +0000 (02:27 +0200)
commit742b0a57f50e4b7442b22e321c98aa187edb7103
tree5ffc55e13eb5d1462b285c44f39dc1768a2fc9c4
parentfe16d678e7683458b35dc227b58a76419b8ece45
pipeline: add table statistics to SWX

Add support for table statistics for the SWX pipeline. For each table,
we maintain a counter for lookup hit packets, one for lookup miss
packets and one packet counter for each table action.

Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
Signed-off-by: Yogesh Jangra <yogesh.jangra@intel.com>
examples/pipeline/cli.c
lib/librte_pipeline/rte_swx_ctl.h
lib/librte_pipeline/rte_swx_pipeline.c
lib/librte_pipeline/version.map