mbox series

[v5,0/5] Introduce flow perf application

Message ID 20200506123627.22340-1-wisamm@mellanox.com (mailing list archive)
Headers
Series Introduce flow perf application |

Message

Wisam Jaddo May 6, 2020, 12:36 p.m. UTC
  Add new application to test rte flow performance from:
- Insertion rate.
- Deletion rate.
- Memory consumption.
- PPS forward measurement.

---
v5:
* Add app to 20.05 release notes.
* Addressing comments.
* Fix compilation issue for gcc >= 10.
* Fix documentation.
* Remove unneeded CFLAGS.
* Remove unused includes.
* Addressing format comments.
* Move hairpin to be option use only.
* Use RSS hash IP + TCP in ports and rss action.
* Introduce and use new macro for bit flags.

v4:
* Fix compilation error due to variable set but not used.

v3:
* Fix passing hairpin queues to hairpin rss action.

v2:
* reset cpu_time_used every port.
* generate different RSS action every flow with different RETA.
* Fix in commit log message

Wisam Jaddo (5):
  app/flow-perf: add flow performance skeleton
  app/flow-perf: add insertion rate calculation
  app/flow-perf: add deletion rate calculation
  app/flow-perf: add memory dump to app
  app/flow-perf: add packet forwarding support

 MAINTAINERS                            |    5 +
 app/Makefile                           |    1 +
 app/meson.build                        |    1 +
 app/test-flow-perf/Makefile            |   26 +
 app/test-flow-perf/actions_gen.c       |   88 ++
 app/test-flow-perf/actions_gen.h       |   53 ++
 app/test-flow-perf/config.h            |   29 +
 app/test-flow-perf/flow_gen.c          |  179 +++++
 app/test-flow-perf/flow_gen.h          |   63 ++
 app/test-flow-perf/items_gen.c         |  265 +++++++
 app/test-flow-perf/items_gen.h         |   67 ++
 app/test-flow-perf/main.c              | 1014 ++++++++++++++++++++++++
 app/test-flow-perf/meson.build         |   11 +
 config/common_base                     |    5 +
 doc/guides/rel_notes/release_20_05.rst |   10 +
 doc/guides/tools/flow-perf.rst         |  239 ++++++
 doc/guides/tools/index.rst             |    1 +
 17 files changed, 2057 insertions(+)
 create mode 100644 app/test-flow-perf/Makefile
 create mode 100644 app/test-flow-perf/actions_gen.c
 create mode 100644 app/test-flow-perf/actions_gen.h
 create mode 100644 app/test-flow-perf/config.h
 create mode 100644 app/test-flow-perf/flow_gen.c
 create mode 100644 app/test-flow-perf/flow_gen.h
 create mode 100644 app/test-flow-perf/items_gen.c
 create mode 100644 app/test-flow-perf/items_gen.h
 create mode 100644 app/test-flow-perf/main.c
 create mode 100644 app/test-flow-perf/meson.build
 create mode 100644 doc/guides/tools/flow-perf.rst
  

Comments

Thomas Monjalon May 6, 2020, 12:50 p.m. UTC | #1
+Cc more maintainers for review

06/05/2020 14:36, Wisam Jaddo:
> Add new application to test rte flow performance from:
> - Insertion rate.
> - Deletion rate.
> - Memory consumption.
> - PPS forward measurement.
> 
> ---
> v5:
> * Add app to 20.05 release notes.
> * Addressing comments.
> * Fix compilation issue for gcc >= 10.
> * Fix documentation.
> * Remove unneeded CFLAGS.
> * Remove unused includes.
> * Addressing format comments.
> * Move hairpin to be option use only.
> * Use RSS hash IP + TCP in ports and rss action.
> * Introduce and use new macro for bit flags.
> 
> v4:
> * Fix compilation error due to variable set but not used.
> 
> v3:
> * Fix passing hairpin queues to hairpin rss action.
> 
> v2:
> * reset cpu_time_used every port.
> * generate different RSS action every flow with different RETA.
> * Fix in commit log message
> 
> Wisam Jaddo (5):
>   app/flow-perf: add flow performance skeleton
>   app/flow-perf: add insertion rate calculation
>   app/flow-perf: add deletion rate calculation
>   app/flow-perf: add memory dump to app
>   app/flow-perf: add packet forwarding support
> 
>  MAINTAINERS                            |    5 +
>  app/Makefile                           |    1 +
>  app/meson.build                        |    1 +
>  app/test-flow-perf/Makefile            |   26 +
>  app/test-flow-perf/actions_gen.c       |   88 ++
>  app/test-flow-perf/actions_gen.h       |   53 ++
>  app/test-flow-perf/config.h            |   29 +
>  app/test-flow-perf/flow_gen.c          |  179 +++++
>  app/test-flow-perf/flow_gen.h          |   63 ++
>  app/test-flow-perf/items_gen.c         |  265 +++++++
>  app/test-flow-perf/items_gen.h         |   67 ++
>  app/test-flow-perf/main.c              | 1014 ++++++++++++++++++++++++
>  app/test-flow-perf/meson.build         |   11 +
>  config/common_base                     |    5 +
>  doc/guides/rel_notes/release_20_05.rst |   10 +
>  doc/guides/tools/flow-perf.rst         |  239 ++++++
>  doc/guides/tools/index.rst             |    1 +
>  17 files changed, 2057 insertions(+)
>  create mode 100644 app/test-flow-perf/Makefile
>  create mode 100644 app/test-flow-perf/actions_gen.c
>  create mode 100644 app/test-flow-perf/actions_gen.h
>  create mode 100644 app/test-flow-perf/config.h
>  create mode 100644 app/test-flow-perf/flow_gen.c
>  create mode 100644 app/test-flow-perf/flow_gen.h
>  create mode 100644 app/test-flow-perf/items_gen.c
>  create mode 100644 app/test-flow-perf/items_gen.h
>  create mode 100644 app/test-flow-perf/main.c
>  create mode 100644 app/test-flow-perf/meson.build
>  create mode 100644 doc/guides/tools/flow-perf.rst
> 
>