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

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

From: Ferruh Yigit <hidden>
Date: 2021-05-12 12:08:58

On 5/12/2021 11:49 AM, Haifei Luo wrote:
Currently action RTE_FLOW_ACTION_TYPE_METER_COLOR is defined.
Add the CLI for this aciton:  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.
V3: update the document.
V4: add sample in the document.

Signed-off-by: Haifei Luo <redacted>
Acked-by: Ori Kam <redacted>
Carried ack from previous version:
Acked-by: Cristian Dumitrescu <redacted>

Acked-by: Ferruh Yigit <redacted>

Applied to dpdk-next-net/main, thanks.
(doc warnings fixed while merging)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help