[dpdk-dev] [PATCH v5] app/testpmd: support flow aging

Ori Kam orika at mellanox.com
Tue May 5 12:09:23 CEST 2020



> -----Original Message-----
> From: Bill Zhou <dongz at mellanox.com>
> Sent: Tuesday, May 5, 2020 12:49 PM
> Subject: [PATCH v5] app/testpmd: support flow aging
> 
> Currently, there is no way to check the aging event or to get the current
> aged flows in testpmd, this patch include those implements, it's included:
> 
> - Add new item "flow_aged" to the current print event command arguments.
> - Add new command to list all aged flows, meanwhile, we can set parameter
>   to destroy it.
> 
> Signed-off-by: Bill Zhou <dongz at mellanox.com>
> ---
> v2: Update the way of registering aging event, add new command to control
> if the event need be print or not. Update the output of the delete aged
> flow command format.
> v3: Change the command from only set aged flow output to set one gloable
> verbose bitmap for all events output.
> v4: Add the event output to current global print event arguments.
> v5: Update the documentation about print event command line change.
>  app/test-pmd/cmdline.c                      |   4 +
>  app/test-pmd/cmdline_flow.c                 |  62 +++++++++++
>  app/test-pmd/config.c                       | 108 ++++++++++++++++++--
>  app/test-pmd/parameters.c                   |   6 +-
>  app/test-pmd/testpmd.c                      |   4 +-
>  app/test-pmd/testpmd.h                      |   3 +
>  doc/guides/testpmd_app_ug/run_app.rst       |   4 +-
>  doc/guides/testpmd_app_ug/testpmd_funcs.rst |  62 +++++++++++
>  8 files changed, 237 insertions(+), 16 deletions(-)
> 


Acked-by: Ori Kam <orika at mellanox.com>
Thanks,
Ori



More information about the dev mailing list