Re: [dpdk-dev] [PATCH v4 1/3] app/flow-perf: support meter policy API

From
Thomas Monjalon <hidden>
Date
2021-11-08 09:05:29
Reply to
Rongwei Liu, 2021-11-08
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 <redacted>
Signed-off-by: Jiawei Wang <redacted>
Signed-off-by: Rongwei Liu <redacted>
Acked-by: Wisam Monther <redacted>
---
 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’


Thread (55 messages) 55 messages, 4 authors, 2021-11-16
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help