Thread (18 messages) 18 messages, 4 authors, 2021-05-12

Re: [dpdk-dev] [PATCH v2] app/testpmd: add CLI for action meter color

From: Ferruh Yigit <hidden>
Date: 2021-05-11 11:35:40

On 5/11/2021 10:28 AM, Haifei Luo wrote:
Currently action RTE_FLOW_ACTION_TYPE_METER_COLOR is defined.
Add the CLI for this action in meter policy: color type (types)
There are three types: green, yellow and red.

Example for the new policy meter CLIs:
   add port meter policy 0 1 g_actions color type green / end y_actions
        color type yellow / end r_actions color type red / end

In the above command, the action type is RTE_FLOW_ACTION_TYPE_METER_COLOR,
the meter policy action list: green -> green, yellow -> yellow, red -> red.

V2: rebase the latest code.

Signed-off-by: Haifei Luo <redacted>
Acked-by: Ori Kam <redacted>

cc'ed Jasvinder & Cristian for review.

This patch is not a fix but adding support for testing new meter action type, so
I assume it can be postponed to next release if missing review from maintainers.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help