numam-dpdk/app/test-flow-perf
Raslan Darawsheh 22ffcce31b app/flow-perf: fix parsing of invalid option
Currently, if an invalid parameter is passed to the application
it will cause a crash due to missing default in options.

For example:
        ./dpdk-test-flow-perf -a 01:00.0 -- --invalid

This adds missing default for options, and prints the
invalid option.

Fixes: 3344cf2e30 ("app/flow-perf: add flow performance skeleton")
Cc: stable@dpdk.org

Signed-off-by: Raslan Darawsheh <rasland@nvidia.com>
Acked-by: Wisam Jaddo <wisamm@nvidia.com>
2021-11-17 10:47:55 +01:00
..
actions_gen.c app/flow-perf: add destination ports parameter 2021-11-05 10:58:25 +01:00
actions_gen.h app/flow-perf: add destination ports parameter 2021-11-05 10:58:25 +01:00
config.h app/flow-perf: export some config as runtime options 2021-10-25 22:31:53 +02:00
flow_gen.c app/flow-perf: add random priority option 2021-11-08 10:33:08 +01:00
flow_gen.h app/flow-perf: add random priority option 2021-11-08 10:33:08 +01:00
items_gen.c app/flow-perf: fix IPv6 source address increment 2021-04-12 16:26:25 +02: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: fix parsing of invalid option 2021-11-17 10:47:55 +01:00
meson.build devtools: forbid indent with tabs in Meson 2021-11-02 19:25:30 +01:00