[dpdk-dev] [PATCH v1 0/8] Clean up rte_option

Gaetan Rivet gaetan.rivet at 6wind.com
Thu Dec 20 18:06:39 CET 2018

rte_option lib might benefit from a few improvements.


  - list registered options on /rte/app --help
  - check duplicates within base EAL options
  - rename some fields to be closer to standard struct option
    and just cleaner overall.
  - fix some strange code (static iterator?)
  - fix doc, improve API a little...

Gaetan Rivet (8):
  option: use bare option string as name
  option: do not use static iterator
  option: add usage string
  option: rename name field
  option: check against common option on register
  option: fix log level of error in register
  option: improve library documentation
  option: return an error when register fail

 lib/librte_eal/common/eal_common_options.c |  1 +
 lib/librte_eal/common/eal_private.h        |  7 +++
 lib/librte_eal/common/include/rte_option.h | 17 +++++--
 lib/librte_eal/common/rte_option.c         | 57 +++++++++++++++++++---
 lib/librte_telemetry/rte_telemetry.c       |  3 +-
 5 files changed, 72 insertions(+), 13 deletions(-)


More information about the dev mailing list