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 <ferruh.yi...@intel.com>; Matan Azrad <ma...@nvidia.com>; Ori 
Kam <or...@nvidia.com>; Slava Ovsiienko <viachesl...@nvidia.com>; Xiaoyun Li 
<xiaoyun...@intel.com>
Cc: dev@dpdk.org; NBU-Contact-Thomas Monjalon <tho...@monjalon.net>; Raslan 
Darawsheh <rasl...@nvidia.com>
Subject: RE: [PATCH v2] app/testpmd: add CLI for action meter color

HI Ferruh,
     Will update the doc and send V3. Thank you.

-----Original Message-----
From: Ferruh Yigit <ferruh.yi...@intel.com>
Sent: Wednesday, May 12, 2021 3:22 AM
To: Haifei Luo <haif...@nvidia.com>; Matan Azrad <ma...@nvidia.com>; Ori Kam 
<or...@nvidia.com>; Slava Ovsiienko <viachesl...@nvidia.com>; Xiaoyun Li 
<xiaoyun...@intel.com>
Cc: dev@dpdk.org; NBU-Contact-Thomas Monjalon <tho...@monjalon.net>; Raslan 
Darawsheh <rasl...@nvidia.com>
Subject: Re: [PATCH v2] app/testpmd: add CLI for action meter color

External email: Use caution opening links or attachments


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.

Hint: you can put the changelog as last thing in commit log after '---' marker, 
than it will be taken as note and will automatically removed by "git am".

>
> Signed-off-by: Haifei Luo <haif...@nvidia.com>
> Acked-by: Ori Kam <or...@nvidia.com>
>
> ---
>  app/test-pmd/cmdline_flow.c | 85
> +++++++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 85 insertions(+)

Hi Haifei,

Can you please document new command in the testpmd documentation, 
'testpmd_funcs.rst' has already "add port meter policy ..." command documented, 
you can extend it unless there is no better place to document this new command.

Can you also update release notes too, there is already a block there listing 
new commands, this can go into same place.


Reply via email to