From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Rybchenko Subject: Re: [PATCH v2 3/6] ethdev: allow iterating with pure class filter Date: Tue, 9 Oct 2018 12:40:14 +0300 Message-ID: <0fefe510-e897-e2b6-3f71-1115f6a28e9d@solarflare.com> References: <20181007222554.4886-1-thomas@monjalon.net> <20181009001616.10497-1-thomas@monjalon.net> <20181009001616.10497-4-thomas@monjalon.net> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit Cc: , , To: Thomas Monjalon , Return-path: Received: from dispatch1-us1.ppe-hosted.com (dispatch1-us1.ppe-hosted.com [148.163.129.52]) by dpdk.org (Postfix) with ESMTP id 6A1331B399 for ; Tue, 9 Oct 2018 11:41:03 +0200 (CEST) In-Reply-To: <20181009001616.10497-4-thomas@monjalon.net> Content-Language: en-GB List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 10/9/18 3:16 AM, Thomas Monjalon wrote: > If no rte_device is given in the iterator, > eth_dev_match() is looking at all ports without any restriction, > except the ethdev kvargs filter. > > It allows to iterate with a devargs filter referencing only > some ethdev parameters. The format (from the new devargs syntax) is: > class=eth,paramY=Y > > Signed-off-by: Thomas Monjalon Reviewed-by: Andrew Rybchenko