[dpdk-dev] [PATCH v4 1/3] app/flow-perf: support meter policy API
Thomas Monjalon
thomas at monjalon.net
Mon Nov 8 10:05:24 CET 2021
08/11/2021 09:53, Rongwei Liu:
> Add option "policy-mtr" to indicate if meter creation will include policy
> or not. Meter creation will keep the same without it.
>
> With "policy-mtr", the policy is introduced. API create_meter_policy
> is to create a policy. API create_meter_rule will use it to create
> a meter. The value of it is used to specify meter policy green color
> actions.
>
> Signed-off-by: Haifei Luo <haifeil at nvidia.com>
> Signed-off-by: Jiawei Wang <jiaweiw at nvidia.com>
> Signed-off-by: Rongwei Liu <rongweil at nvidia.com>
> Acked-by: Wisam Monther <wisamm at nvidia.com>
> ---
> app/test-flow-perf/main.c | 807 +++++++++++++++++++--------------
> doc/guides/tools/flow-perf.rst | 3 +
> 2 files changed, 467 insertions(+), 343 deletions(-)
This patch does not compile:
app/test-flow-perf/main.c:621:15: error: unused variable ‘arg’
More information about the dev
mailing list