From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr0-f170.google.com (mail-wr0-f170.google.com [209.85.128.170]) by dpdk.org (Postfix) with ESMTP id EA4045320 for ; Wed, 5 Apr 2017 22:42:24 +0200 (CEST) Received: by mail-wr0-f170.google.com with SMTP id w43so30782198wrb.0 for ; Wed, 05 Apr 2017 13:42:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:user-agent:in-reply-to :references:mime-version:content-transfer-encoding; bh=k8s+E6BP/VSPZc8em5TMeprx3Z6kMPCPNLBw+YxPCyQ=; b=yj9PQ/BoTwgVbrP5K0O+KZCSrLQpDueDgqFFnL3cL1OqRQtGn1EfzRd0mdHhKJwCSE CvlgLoUBPqOYqMrJVr6hWcFSjZ1t5yLXbTXJxDDoeC7ceCAOAL0VMn72aydC9K2YJqFP 9Z3wAARi1h309ndPiyYfmQRFNG25807Tf2j3cKSXSEwz2/idWuTSPpCeXA1Ed7ALFMUw JNf9qixP+WgfU80uTfQyl3dPE6RZ1780qKgA+sL41vJCBT2JxDhGiqZuLARs7IBgZhwv XY9dZYrShEBB5+klpllQF9ndxd/cxVssNTKtotz2ysI1qoP2VNuqVGmUyOT5mzq2xecc aj9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=k8s+E6BP/VSPZc8em5TMeprx3Z6kMPCPNLBw+YxPCyQ=; b=jlbEYcAAwd15kDK7bgj2R4iBhD29cmecRkOybWLfNHRPOmnSRTH9yi03pxL4aoYTOW +L3/Lx0Zc1Os8LvM5XaGr7imER6qsIXpShzVBPKG1z2tlyWml0bgxLKuj5iumS3TD8ad Kbu0TJehpKT2eJN96Hg0KlWyCMLvhJnmjlZPSUbQ2OPfeQOF821cjF3AmaEjOMtZM8Hk JdJLDbgEPhcUmOkyD/sJbLTvV6vPugodhAuC8BIx7+Hhe6LalCpKTvMxXSO6h6rqU9Mp X8jcED+kGKzhqcpMj4kcRK72x5Ujd2RrOf58WWRP02pTEhsV+X1ZUylyXHPetkFUl/MT mqEg== X-Gm-Message-State: AFeK/H1pyVH4RE4NRxrRE2GFZL/+rZbMR6zIblLuu4o4IHVsX6B/iZ+Z2ohXJP9AowsufXme X-Received: by 10.223.175.202 with SMTP id y10mr26318498wrd.77.1491424944799; Wed, 05 Apr 2017 13:42:24 -0700 (PDT) Received: from xps13.localnet (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id g78sm27679120wrd.11.2017.04.05.13.42.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 05 Apr 2017 13:42:24 -0700 (PDT) From: Thomas Monjalon To: Gaetan Rivet Cc: dev@dpdk.org, Jingjing Wu Date: Wed, 05 Apr 2017 22:42:23 +0200 Message-ID: <1515202.sbJ8BQFpaS@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <3ae96511a71fa9f79be09eb518e7837c9a637599.1490961533.git.gaetan.rivet@6wind.com> References: <3ae96511a71fa9f79be09eb518e7837c9a637599.1490961533.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 v2 2/3] ethdev: add 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: Wed, 05 Apr 2017 20:42:26 -0000 2017-03-31 14:04, Gaetan Rivet: > /** > + * Iterates over valid ethdev ports. > + * > + * @param: port_id warning: expected whitespace after : command Will fix it when applying > + * The id of the next possible valid port. > + * @return > + * Next valid port id, RTE_MAX_ETHPORTS if there is none. > + */ > +uint8_t rte_eth_find_next(uint8_t port_id); >