From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jan Blunck Subject: [PATCH 00/13] devargs fixes Date: Tue, 11 Jul 2017 19:24:59 -0400 Message-ID: <20170711232512.54641-1-jblunck@infradead.org> To: dev@dpdk.org Return-path: Received: from mail-wr0-f196.google.com (mail-wr0-f196.google.com [209.85.128.196]) by dpdk.org (Postfix) with ESMTP id 61D252E83 for ; Wed, 12 Jul 2017 01:25:33 +0200 (CEST) Received: by mail-wr0-f196.google.com with SMTP id k67so1740740wrc.1 for ; Tue, 11 Jul 2017 16:25:33 -0700 (PDT) Received: from localhost.localdomain ([37.228.147.16]) by smtp.gmail.com with ESMTPSA id k45sm311516ede.16.2017.07.11.16.25.31 for (version=TLS1 cipher=AES128-SHA bits=128/128); Tue, 11 Jul 2017 16:25:32 -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 changes to enum rte_devtype that got merged into 17.08-rc1 are breaking API without prior notice. This series is reworking the rte_devargs changes in a way hopefully compliant to the new failover PMD and still keeping API compatible with earlier releases. Jan Blunck (13): Revert "devargs: make device types generic" devargs: fix unittest devargs: deprecate enum rte_devtype based functions pci: use scan_mode configuration bus: add configuration interface for buses devargs: use bus configuration interface to set scanning mode devargs: add busname string field devargs: use busname devargs: parse "bus=" argument pci: use busname vdev: use busname devargs: remove type field devargs: remove bus field doc/guides/rel_notes/deprecation.rst | 7 + drivers/net/virtio/virtio_pci.c | 3 +- lib/librte_eal/bsdapp/eal/rte_eal_version.map | 1 + lib/librte_eal/common/eal_common_bus.c | 16 ++ lib/librte_eal/common/eal_common_devargs.c | 248 ++++++++++++++++-------- lib/librte_eal/common/eal_common_options.c | 6 +- lib/librte_eal/common/eal_common_pci.c | 15 +- lib/librte_eal/common/eal_common_vdev.c | 3 +- lib/librte_eal/common/include/rte_bus.h | 9 + lib/librte_eal/common/include/rte_devargs.h | 22 ++- lib/librte_eal/linuxapp/eal/rte_eal_version.map | 1 + test/test/test_devargs.c | 47 +++-- 12 files changed, 253 insertions(+), 125 deletions(-) -- 2.13.2