From mboxrd@z Thu Jan 1 00:00:00 1970 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:subject:date:message-id; bh=6tCYNfCLOuRoDmM0NDoBGl8ABr/C1YSY4QX9CJzmRlo=; b=a3Byxym8l94rL9OdIm6QEZ8qvOiyRp1CcdK88q3gP4iTbELkdJhFUECU9P3CU8jdYo wDrisjKgmGCWPcUTBvx/oPdSgRImU7cWLY9l4HCUJ72qW6cZn7iXWYkdlUmE0dFLXjbP HWc8aW8W5+wU3iGnHqPs1/qtI2DmJq9qs3M1ucegCzoCELrsLYbL0IU5KRyaUg/6saNB i5u3gXHUEEBvleIRBCT8dzK+GBjgJ/WJkm03cgRMcDofj33Av36/Yq2RT5Qwpv/5aWHH xSEuXphsNT1eE91fojYS9QL2QrN64WfXH+lLVUO1GNrCFBj5vEmQsa4EbRinjCrHpP9g tMJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:subject:date:message-id; bh=6tCYNfCLOuRoDmM0NDoBGl8ABr/C1YSY4QX9CJzmRlo=; b=QINGTkF06VGDkyNWIF1SjnoyDLT+dvpw/c1WxsACrmNvdRrNwoSae1MR3XmzLgiql6 ASe5TV1jFYweYN5B3OVABAGnxb/tmtENp79XjZCSYEwQx6sQGBFpgxqftWJHXKc8jP5K UIUSQ66AF2btsGDMT8imJs+ghIg3tXK3TM7en0XA29/7i5PFYRblweoJpqkA1a3ceOS1 zucPMz55DyRSU+M0x4jnRA5GAGqWVDSePp2ObFfs+Mh78owCw6TEeJ+pJvrdQwERQhFW lIOu3nRXEBBtVAdthvSeVNjrkZXwLMaCMLetTtb94u3O+yGBKURgnjtgTj1w3+4Ci6o4 S0QQ== X-Gm-Message-State: AIVw113HbkvY+Dyrgsbu3h+F410VWDTKp9focA2mLOwkgdabxe68wyTQ c0/dxXHac2RQsooq X-Received: by 10.80.139.65 with SMTP id l59mr4121762edl.52.1499815532974; Tue, 11 Jul 2017 16:25:32 -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) Sender: Jan Blunck From: Jan Blunck To: dev@dpdk.org Date: Tue, 11 Jul 2017 19:24:59 -0400 Message-Id: <20170711232512.54641-1-jblunck@infradead.org> X-Mailer: git-send-email 2.13.2 Subject: [dpdk-dev] [PATCH 00/13] devargs fixes 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: Tue, 11 Jul 2017 23:25:33 -0000 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