From mboxrd@z Thu Jan 1 00:00:00 1970 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=Elt6wLNGkHewayu72FjKWSl52Qw/481G/ILYwCWoNWo=; b=RzGO6VuTe0kAdo1QLh4i356qK/gxl+wu6uLJOieeMziyccoRGuXdkkO98KFqvGyapK PDpvZCQy/laqrH17tTvGUlnhICFv4YtkUN7eaZUUeTt8WtvM61HglNMqk7Tr3ayHIk9a G15FNBYD4KJDCEpsYUNVitQKTo6+z6763kYAwJjxLaJcB3x3QPB9hkc5J/0OxQskcCA7 NFUEPOZbg+5nP4WWxVOYUlmU3kUW2rHM3/EwG7xoskOwGczdr35+tfRPCzs8HcUarYgo wW/TMdGecTeekJIHa+ZvGvluBKLpcWsQFBQrFcW9Zg8cRYBlWyQlv/TBp3PXKuMFwLqp o9rg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=Elt6wLNGkHewayu72FjKWSl52Qw/481G/ILYwCWoNWo=; b=WouXNcPWm+l9yh6VAWNMMWqb9JBBuqiJA/JH9YIXR7lRthb97BgOEHFFdJTO614TwU 2SPkDS332h29eKsgKa9wForLlevq1c3B7vFbOhI8WJ/Zm1SZewAY15gDG+i7idnHm9pu NfV1JLqO/7p/dENuUms5RwgYfSbXPg3qotssafwXnUhqIwA10D/H6u8rdiEb9bNUUx0H vNUp6WkapLrr5XguG1eOPxd2Uuo9jmngNSKZLDjD4WYKGcc+tJUlLSGjtvc7CAajdhVm 4MohMiFao2oiMgJI5Sqiwka96MWYZHkpT+gHA1YIn67z3v2I9qJBS13chP0/E3e9zUaV AmnA== X-Gm-Message-State: AHYfb5jejIphD5I4O4Yf/ccUpRaAaDKoW/XVltvLjU0FV5t1uoRgjgud tBV21EgK/phAHiUiT5s= X-Received: by 10.223.138.165 with SMTP id y34mr6254546wry.209.1503677302181; Fri, 25 Aug 2017 09:08:22 -0700 (PDT) Received: from bidouze.dev.6wind.com (host.78.145.23.62.rev.coltfrance.com. [62.23.145.78]) by smtp.gmail.com with ESMTPSA id h190sm1351661wmd.4.2017.08.25.09.08.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 25 Aug 2017 09:08:21 -0700 (PDT) From: Gaetan Rivet To: dev@dpdk.org Cc: Gaetan Rivet Date: Fri, 25 Aug 2017 18:07:20 +0200 Message-Id: X-Mailer: git-send-email 2.1.4 Subject: [dpdk-dev] [PATCH 0/6] devargs cleanup X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Aug 2017 16:08:23 -0000 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