numam-dpdk/app/test-flow-perf
Wisam Jaddo 97544f85bd app/flow-perf: simplify objects initialization
Since items are static then the default values will be zero,
thus the memset to zero value is just a redundant code.

Also remove the all not needed variables, that can be replaced
with direct set to the structure itself.

Fixes: bf3688f1e8 ("app/flow-perf: add insertion rate calculation")
Cc: stable@dpdk.org

Signed-off-by: Wisam Jaddo <wisamm@nvidia.com>
Reviewed-by: Alexander Kozyrev <akozyrev@nvidia.com>
Reviewed-by: Suanming Mou <suanmingm@nvidia.com>
2021-01-07 15:52:29 +01:00
..
actions_gen.c app/flow-perf: simplify objects initialization 2021-01-07 15:52:29 +01:00
actions_gen.h app/flow-perf: add multi-core rule insertion and deletion 2021-01-07 15:14:02 +01:00
config.h app/flow-perf: add multi-core rule insertion and deletion 2021-01-07 15:14:02 +01:00
flow_gen.c app/flow-perf: add multi-core rule insertion and deletion 2021-01-07 15:14:02 +01:00
flow_gen.h app/flow-perf: add multi-core rule insertion and deletion 2021-01-07 15:14:02 +01:00
items_gen.c app/flow-perf: simplify objects initialization 2021-01-07 15:52:29 +01:00
items_gen.h app/flow-perf: add multi-core rule insertion and deletion 2021-01-07 15:14:02 +01:00
main.c app/flow-perf: change clock measurement 2021-01-07 15:28:06 +01:00
meson.build app/flow-perf: add insertion rate calculation 2020-06-29 15:47:36 +02:00