From mboxrd@z Thu Jan 1 00:00:00 1970 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) X-Virus-Scanned: Proofpoint Essentials engine Received: from webmail.solarflare.com (uk.solarflare.com [193.34.186.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by mx1-us3.ppe-hosted.com (Proofpoint Essentials ESMTP Server) with ESMTPS id A5A2CB40062; Tue, 9 Oct 2018 09:41:01 +0000 (UTC) Received: from [192.168.38.17] (91.220.146.112) by ukex01.SolarFlarecom.com (10.17.10.4) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Tue, 9 Oct 2018 10:40:56 +0100 To: Thomas Monjalon , CC: , , References: <20181007222554.4886-1-thomas@monjalon.net> <20181009001616.10497-1-thomas@monjalon.net> <20181009001616.10497-4-thomas@monjalon.net> From: Andrew Rybchenko Message-ID: <0fefe510-e897-e2b6-3f71-1115f6a28e9d@solarflare.com> Date: Tue, 9 Oct 2018 12:40:14 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 In-Reply-To: <20181009001616.10497-4-thomas@monjalon.net> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-GB X-Originating-IP: [91.220.146.112] X-ClientProxiedBy: ocex03.SolarFlarecom.com (10.20.40.36) To ukex01.SolarFlarecom.com (10.17.10.4) X-TM-AS-Product-Ver: SMEX-12.5.0.1300-8.5.1010-24144.003 X-TM-AS-Result: No-4.076900-8.000000-10 X-TMASE-MatchedRID: lORh06tOiKgOwH4pD14DsPHkpkyUphL9Ct59Uh3p/NVgg+UjPGL1RcVA 08S977kgSuqwC2iSnbI4To4+gy/tYDI0UzRdrW2oY1bQMCMvmn59LQinZ4QefL6qvLNjDYTwxbG vmM9nj5NQSFbL1bvQAXnN0DN7HnFmj9aR7os5a2gVyJQQA6xHYF+FV2PFaqG8+TGKW0Ycd3QKAY 8T1CmTIqKAQfLsnhLrKWSt4DmvbhpicKLmK2TeKmsPn5C6nWpTftwZ3X11IV0= X-TM-AS-User-Approved-Sender: Yes X-TM-AS-User-Blocked-Sender: No X-TMASE-Result: 10--4.076900-8.000000 X-TMASE-Version: SMEX-12.5.0.1300-8.5.1010-24144.003 X-MDID: 1539078062-UJSdvx_udQfe Subject: Re: [dpdk-dev] [PATCH v2 3/6] ethdev: allow iterating with pure class filter 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, 09 Oct 2018 09:41:03 -0000 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