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

2021-05-12 Thread Dumitrescu, Cristian
> -Original Message- > From: Yigit, Ferruh > Sent: Tuesday, May 11, 2021 2:21 PM > To: Dumitrescu, Cristian ; Haifei Luo > ; ma...@nvidia.com; or...@nvidia.com; > viachesl...@nvidia.com; Li, Xiaoyun > Cc: dev@dpdk.org; tho...@monjalon.net; rasl...@nvidia.com; Singh, > Jasvinder > Subje

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

2021-05-12 Thread Haifei Luo
HI Ferruh, Added the docs in V3 and please kindly check. Thank you. -Original Message- From: Haifei Luo Sent: Wednesday, May 12, 2021 9:42 AM To: Ferruh Yigit ; Matan Azrad ; Ori Kam ; Slava Ovsiienko ; Xiaoyun Li Cc: dev@dpdk.org; NBU-Contact-Thomas Monjalon ; Raslan Darawsheh S

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

2021-05-11 Thread Haifei Luo
HI Ferruh, Will update the doc and send V3. Thank you. -Original Message- From: Ferruh Yigit Sent: Wednesday, May 12, 2021 3:22 AM To: Haifei Luo ; Matan Azrad ; Ori Kam ; Slava Ovsiienko ; Xiaoyun Li Cc: dev@dpdk.org; NBU-Contact-Thomas Monjalon ; Raslan Darawsheh Subject: Re:

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

2021-05-11 Thread Ferruh Yigit
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_act

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

2021-05-11 Thread Ferruh Yigit
On 5/11/2021 1:34 PM, Dumitrescu, Cristian wrote: > > >> -Original Message- >> From: Yigit, Ferruh >> Sent: Tuesday, May 11, 2021 12:35 PM >> To: Haifei Luo ; ma...@nvidia.com; or...@nvidia.com; >> viachesl...@nvidia.com; Li, Xiaoyun >> Cc: dev@dpdk.org; tho...@monjalon.net; rasl...@nvi

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

2021-05-11 Thread Dumitrescu, Cristian
> -Original Message- > From: Yigit, Ferruh > Sent: Tuesday, May 11, 2021 12:35 PM > To: Haifei Luo ; ma...@nvidia.com; or...@nvidia.com; > viachesl...@nvidia.com; Li, Xiaoyun > Cc: dev@dpdk.org; tho...@monjalon.net; rasl...@nvidia.com; Singh, > Jasvinder ; Dumitrescu, Cristian > > Subj

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

2021-05-11 Thread Ferruh Yigit
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_act

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

2021-05-11 Thread Haifei Luo
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 t