From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by dpdk.org (Postfix) with ESMTP id F363B98 for ; 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: X-ME-Sender: 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 To: Gaetan Rivet Cc: dev@dpdk.org, Neil Horman , Shreyansh Jain , Bruce Richardson , Andrew Rybchenko Date: Sun, 15 Jul 2018 23:54:23 +0200 Message-ID: <8148072.TjNI07lPA7@xps> In-Reply-To: References: 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-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.