app/flow-perf: add packet metering mode
authorRongwei Liu <rongweil@nvidia.com>
Thu, 11 Nov 2021 14:23:39 +0000 (16:23 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 16 Nov 2021 11:34:06 +0000 (12:34 +0100)
commit62be4f32fabc47544c28aa194417b6662f50b2b9
tree7886d9e36cc97bc234d4ab63044008850324e0f5
parentacca5cf468e7ca9d4a20f5e7e4e2c3a2a6884f57
app/flow-perf: add packet metering mode

The flow perf application uses the srtcm_rfc2697 as meter profile
while doing the meter testing.

This patch adds new configuration parameter '--packet-mode' to
generate the meter flows with packet cir instead of byte cir.

Signed-off-by: Rongwei Liu <rongweil@nvidia.com>
Acked-by: Wisam Jaddo <wisamm@nvidia.com>
app/test-flow-perf/main.c
doc/guides/tools/flow-perf.rst