The use of rte_devargs is inconsistent in the light of new functionalities such as device hotplug. Most of its API is still experimental and needs stabilization. Older functions were deprecated and need to be rewritten or removed. The rte_devtype is meant to disappear. A replacement needs to be discussed and agreed upon in the coming weeks.
This patchset initiates this work. TODO: - Restrict device parameter parsing to the proposed new format. - Remove devtype enum. - Rewrite and deprecate relevant functions. - Rewrite unit tests for new format and new API. This patchset depends on: Move PCI away from the EAL http://dpdk.org/ml/archives/dev/2017-August/073512.html Gaetan Rivet (6): devargs: introduce iterator devargs: introduce foreach macro vdev: do not reference devargs_list bus/pci: do not reference devargs_list test: remove rte_devargs unit tests devargs: make devargs_list private MAINTAINERS | 1 - drivers/bus/pci/rte_pci_common.c | 6 +- lib/librte_eal/bsdapp/eal/rte_eal_version.map | 2 +- lib/librte_eal/common/eal_common_devargs.c | 22 ++++ lib/librte_eal/common/eal_common_vdev.c | 11 +- lib/librte_eal/common/include/rte_devargs.h | 33 ++++-- lib/librte_eal/linuxapp/eal/rte_eal_version.map | 2 +- test/test/Makefile | 1 - test/test/test_devargs.c | 131 ------------------------ 9 files changed, 55 insertions(+), 154 deletions(-) delete mode 100644 test/test/test_devargs.c -- 2.1.4