From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dispatch1-us1.ppe-hosted.com (dispatch1-us1.ppe-hosted.com [67.231.154.164]) by dpdk.org (Postfix) with ESMTP id 48DB47CD9 for ; Thu, 20 Sep 2018 12:02:54 +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 2FD5E6C00DA; Thu, 20 Sep 2018 10:02:53 +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; Thu, 20 Sep 2018 11:02:48 +0100 To: Gaetan Rivet , References: <0c431b2c36f7ef5df0195a173f1ceeb0ca4d6671.1537372746.git.gaetan.rivet@6wind.com> From: Andrew Rybchenko Message-ID: <01e563fe-eed5-bb1b-c6c4-5cf1bdccc0a2@solarflare.com> Date: Thu, 20 Sep 2018 13:02:02 +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: <0c431b2c36f7ef5df0195a173f1ceeb0ca4d6671.1537372746.git.gaetan.rivet@6wind.com> 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-24106.003 X-TM-AS-Result: No-0.107900-8.000000-10 X-TMASE-MatchedRID: VPleTT1nwdR6DVqDv3PkvSa1MaKuob8PC/ExpXrHizz0wqtSyCzUVQef 5FoKtUGzsgeYz3eZctfuifG9NS6RYBbqLT/LzEWXaDgPZBX/bMvqvccKLF+4pwwv1ZvdCH+FVM2 p/cRDyjFic/5yraYWDlebGpjHs5mWxldSKOGXaXwZCVRU/aI9zC2VljVYB9GN2Yajy1P9W1XdKU SBW7I322+5ieh24ZYRkZOl7WKIImrvXOvQVlExsNAtbEEX0MxBHbbMGEIGYTeMK4q1XcpxlcXHo /WaN+Hxv2gbdBRWbbMHB1fUcdfZ/WrW2HNPcrCwB0oV4gLAWqSHM0hKltykdg3AQEhEFF9KSvh/ PEC3PFGPLL8InR21d5GIxx9WGBobc6mA5bOLuMvRZW+lCXrbQHCqb0bWeiOBd5+MlBSGQgQkz3K 7FAEJhTvQGKB0a+ErCDHBC/jlIJbvdCUIFuasqw== X-TM-AS-User-Approved-Sender: Yes X-TM-AS-User-Blocked-Sender: No X-TMASE-Result: 10-0.107900-8.000000 X-TMASE-Version: SMEX-12.5.0.1300-8.5.1010-24106.003 X-MDID: 1537437773-VvC_Kp0LcGtQ Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-dev] [PATCH v2 05/13] ethdev: add private generic device iterator 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: Thu, 20 Sep 2018 10:02:54 -0000 On 9/19/18 7:03 PM, Gaetan Rivet wrote: > This iterator can be customized with a comparison function that will > trigger a stopping condition. > > It can be leveraged to write several different iterators that have > similar but non-identical purposes. > > It is private to librte_ethdev. > > Signed-off-by: Gaetan Rivet Acked-by: Andrew Rybchenko