From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <thomas@monjalon.net>
Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com
 [66.111.4.26]) by dpdk.org (Postfix) with ESMTP id F363B98
 for <dev@dpdk.org>; Sun, 15 Jul 2018 23:54:35 +0200 (CEST)
Received: from compute1.internal (compute1.nyi.internal [10.202.2.41])
 by mailout.nyi.internal (Postfix) with ESMTP id 8509E216C5;
 Sun, 15 Jul 2018 17:54:35 -0400 (EDT)
Received: from mailfrontend1 ([10.202.2.162])
 by compute1.internal (MEProxy); Sun, 15 Jul 2018 17:54:35 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h=
 cc:content-transfer-encoding:content-type:date:from:in-reply-to
 :message-id:mime-version:references:subject:to:x-me-sender
 :x-me-sender:x-sasl-enc; s=mesmtp; bh=pBtXglS9rQ6xdcvRyXIzfTaxWV
 GldA2KG4FL+iiqemg=; b=qEXSAHRYA6XneK8tmPeKDhN+N7VgKjCal1AHwXNIuI
 hcAG+Gi7JwfJl2muOpDTa95+gppgz7Mh365RRgwD9zlLFI5vR21ogXIx6eM4rBqO
 is2VHaLuWdJMfsMJP59HMOjucbY8SnRABpS16KCSxhh8e4z4GHAJLqPQ0bvbbsMI
 0=
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:content-transfer-encoding:content-type
 :date:from:in-reply-to:message-id:mime-version:references
 :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=pBtXgl
 S9rQ6xdcvRyXIzfTaxWVGldA2KG4FL+iiqemg=; b=IEpVwiuHsTVyttk+CyoM1k
 T5V1aErliiynocf6xJrCmW9flNDgk5e+vQHFej6a4OUTcUe7Nx153ntRV0KKCERB
 8nIIlKzCaxTP8qyBpe8aXsOkgzloT+c0tHTTode8I0Sf3aD25bYje96qjTn3F7oP
 iTbaLgGyphgKX8eKMWhCdbEAGd3rhhfBzyBlEJevJ8KImys4TEcsFXuRl2kIKgLl
 G+1mIl8AYV1H3Jz9XdFUYkSyCCAAX6KWyp8DNtvafhPfAtsrYifgia3obr1qMgzr
 WOvcJrUJeHmMY7j+5f6kLhrpRAhBzoL4drI6+mGaIOrUcHKHNm0KDVsPDMDOYG/A
 ==
X-ME-Proxy: <xmx:mMJLW02s_nf7ZfnO-hjtmfL3mFaAMrL8mzmRHaSx4RAJUQPBfPbRaw>
 <xmx:mMJLW7I7N4ATFNamA6ILZYSmd-HKyt2MPujF5y7L9KFXFJ1VWL08DQ>
 <xmx:mMJLW4NMrfQ6I204ZTKhDWfBbMkPX5DrIs6LyP3UG1FMtqqWptlmPw>
 <xmx:mMJLW8yitwfl5wVFTci0oEKgsDdtrl30y-xiiB3SaOUUR1hu8Q6DeA>
 <xmx:mMJLWwIYZmL_hnPUMxVpjAHAp17tXS9tLfRgPO1NIGCXUJDRI6dLIg>
 <xmx:m8JLW-XBqmh6LOzX9Ortx-tJeCBAaCfBmBskG6ZRKmW1jIEXWQOLlg>
X-ME-Sender: <xms:mMJLWzdmwSE5mXq99iPfQA3EB5WfuIPHo0q5NC38petoQQ2uL5wuYQ>
Received: from xps.localnet (unknown [31.154.190.114])
 by mail.messagingengine.com (Postfix) with ESMTPA id EE183E454E;
 Sun, 15 Jul 2018 17:54:30 -0400 (EDT)
From: Thomas Monjalon <thomas@monjalon.net>
To: Gaetan Rivet <gaetan.rivet@6wind.com>
Cc: dev@dpdk.org, Neil Horman <nhorman@tuxdriver.com>,
 Shreyansh Jain <shreyansh.jain@nxp.com>,
 Bruce Richardson <bruce.richardson@intel.com>,
 Andrew Rybchenko <arybchenko@solarflare.com>
Date: Sun, 15 Jul 2018 23:54:23 +0200
Message-ID: <8148072.TjNI07lPA7@xps>
In-Reply-To: <cover.1531345404.git.gaetan.rivet@6wind.com>
References: <cover.1521124599.git.gaetan.rivet@6wind.com>
 <cover.1531345404.git.gaetan.rivet@6wind.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 7Bit
Content-Type: text/plain; charset="us-ascii"
Subject: Re: [dpdk-dev] [PATCH v11 00/25] Device querying
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Sun, 15 Jul 2018 21:54:36 -0000

11/07/2018 23:44, Gaetan Rivet:
> Gaetan Rivet (25):
>   devargs: use rte-log functions
>   devargs: add non-variadic parsing function
>   kvargs: remove error logs
>   kvargs: build before EAL
>   kvargs: introduce a more flexible parsing function
>   eal: introduce dtor macros
>   eal: introduce device class abstraction
>   devargs: add function to parse device layers
>   eal/dev: add device iterator interface
>   eal/dev: implement device iteration initialization
>   eal/dev: implement device iteration
>   kvargs: add generic string matching callback
>   bus/pci: implement device iteration and comparison
>   bus/pci: add device matching field id
>   bus/vdev: implement device iteration
>   bus/vdev: add device matching field driver
>   ethdev: add private generic device iterator
>   ethdev: register ether layer as a class
>   ethdev: add device matching field name
>   app/testpmd: add show device command
>   bus/pci: pre-process declarative PCI devargs
>   bus/vdev: pre-process declarative vdev devargs
>   bus/pci: process declarative PCI devargs
>   ethdev: process declarative eth devargs
>   eal: add generic dev parameter

This series did not get a lot of reviews, especially for the last half
of patches.
As it allows to make some progress to get a generic devargs syntax,
I decide to apply the first 12 patches, which brings a base for a
generic devargs syntax parsing.

The last half of patches are implementing some parsing/iteration
for PCI, vdev and ethdev. They need to be discussed and agreed
with more reviews. And more importantly, we need to add more properties
in the devargs syntax, and we need to address more buses and device classes.

Getting the parsing base in 18.08 should help to close the full syntax
in 18.11.

Thank you Gaetan for the big work.