From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gaetan Rivet Subject: [PATCH 0/6] devargs cleanup Date: Fri, 25 Aug 2017 18:07:20 +0200 Message-ID: Cc: Gaetan Rivet To: dev@dpdk.org Return-path: Received: from mail-wr0-f175.google.com (mail-wr0-f175.google.com [209.85.128.175]) by dpdk.org (Postfix) with ESMTP id 171807D0B for ; Fri, 25 Aug 2017 18:08:23 +0200 (CEST) Received: by mail-wr0-f175.google.com with SMTP id o76so681025wrb.5 for ; Fri, 25 Aug 2017 09:08:23 -0700 (PDT) List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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