numam-dpdk/examples/qos_sched
Ibtisam Tariq a12daff4d1 examples/qos_sched: enhance getopt_long usage
Instead of using getopt_long return value, strcmp was used to
compare the input parameters with the struct option array. This
patch get rid of all those strcmp by directly binding each longopt
with an int enum. This is to improve readability and consistency in
all examples.

Bugzilla ID: 238

Reported-by: David Marchand <david.marchand@redhat.com>
Signed-off-by: Ibtisam Tariq <ibtisam.tariq@emumba.com>
Reviewed-by: David Marchand <david.marchand@redhat.com>
2021-03-23 13:00:29 +01:00
..
app_thread.c examples/qos_sched: add subport config flexibility 2019-10-25 17:53:26 +02:00
args.c examples/qos_sched: enhance getopt_long usage 2021-03-23 13:00:29 +01:00
cfg_file.c examples/qos_sched: update subport rate dynamically 2020-10-15 02:13:59 +02:00
cfg_file.h examples/qos_sched: update subport rate dynamically 2020-10-15 02:13:59 +02:00
cmdline.c cmdline: avoid name clash with Windows system types 2020-11-05 17:49:00 +01:00
init.c examples/qos_sched: update subport rate dynamically 2020-10-15 02:13:59 +02:00
main.c eal: rename lcore master and slave 2020-10-20 13:17:08 +02:00
main.h examples/qos_sched: update subport rate dynamically 2020-10-15 02:13:59 +02:00
Makefile examples: warn about broken pkg-config 2021-01-30 01:27:28 +01:00
meson.build ethdev: add tracepoints 2020-04-23 15:40:06 +02:00
profile_ov.cfg examples/qos_sched: fix subport configuration 2020-11-20 12:50:41 +01:00
profile.cfg examples/qos_sched: update subport rate dynamically 2020-10-15 02:13:59 +02:00
stats.c sched: add 64-bit values 2019-10-25 18:07:26 +02:00